Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

import Error #25

Open
Lindsaydoodle opened this issue Jan 28, 2024 · 4 comments
Open

import Error #25

Lindsaydoodle opened this issue Jan 28, 2024 · 4 comments

Comments

@Lindsaydoodle
Copy link

Blender 3.6.8
Python: Traceback (most recent call last):
File "C:\Users\lind\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\blender-addon_init_.py", line 74, in execute
features_dc[:, 0, 0] = np.asarray(plydata.elements[0]["f_dc_0"])
File "C:\Users\lind\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\blender-addon\plyfile.py", line 715, in getitem
return self.data[key]
File "M:\SteamLibrary\steamapps\common\Blender\3.6\python\lib\site-packages\numpy\core\memmap.py", line 334, in getitem
res = super().getitem(index)
ValueError: no field of name f_dc_0

Bleder 4.1.0 and 4.0.2 same
Python: Traceback (most recent call last):
File "C:\Users\lind\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\blender-addon_init_.py", line 74, in execute
features_dc[:, 0, 0] = np.asarray(plydata.elements[0]["f_dc_0"])
~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
File "C:\Users\lind\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\blender-addon\plyfile.py", line 715, in getitem
return self.data[key]
~~~~~~~~~^^^^^
File "S:\blender-4.1.0-alpha+main.da77f90744c1-windows.amd64-release\4.1\python\Lib\site-packages\numpy\core\memmap.py", line 334, in getitem
res = super().getitem(index)
^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: no field of name f_dc_0

@IgorVe
Copy link

IgorVe commented Feb 1, 2024

same issue plz help

@IgorVe
Copy link

IgorVe commented Feb 1, 2024

Solved. It was wrong version of the addon, you can fond info here https://github.com/ReshotAI/gaussian-splatting-blender-addon/pull/24/files

But dear ReshotAI, could you name your projects properly plz to avoid misunderstandings in future? Thank you!

@4v4v4v4v4
Copy link

I am still receiving this error:

Python: Traceback (most recent call last):
File "C:\Users\aclifforth\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\blender-addon_init_.py", line 74, in execute
features_dc[:, 0, 0] = np.asarray(plydata.elements[0]["f_dc_0"])
~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
File "C:\Users\aclifforth\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\blender-addon\plyfile.py", line 715, in getitem
return self.data[key]
~~~~~~~~~^^^^^
File "C:\Program Files\Blender Foundation\Blender 4.1\4.1\python\Lib\site-packages\numpy\core\memmap.py", line 334, in getitem
res = super().getitem(index)
^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: no field of name f_dc_0

I have tried on Blender 4.0 and Blender 4.1 with the updated script. Still no luck! Please help!

@kusstox
Copy link

kusstox commented Aug 7, 2024

I am still receiving this error:

Python: Traceback (most recent call last): File "C:\Users\aclifforth\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\blender-addon__init__.py", line 74, in execute features_dc[:, 0, 0] = np.asarray(plydata.elements[0]["f_dc_0"]) ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ File "C:\Users\aclifforth\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\blender-addon\plyfile.py", line 715, in getitem return self.data[key] ~~~~~~~~~^^^^^ File "C:\Program Files\Blender Foundation\Blender 4.1\4.1\python\Lib\site-packages\numpy\core\memmap.py", line 334, in getitem res = super().getitem(index) ^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: no field of name f_dc_0

I have tried on Blender 4.0 and Blender 4.1 with the updated script. Still no luck! Please help!

Same issue, have you solved it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants