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

Blender 3.0.0 Error, MagicaVoxel-0.99.7.0-win64 #22

Open
Gosha-say opened this issue Jan 23, 2022 · 2 comments
Open

Blender 3.0.0 Error, MagicaVoxel-0.99.7.0-win64 #22

Gosha-say opened this issue Jan 23, 2022 · 2 comments

Comments

@Gosha-say
Copy link

Python: Traceback (most recent call last):
File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\io_scene_vox.py", line 126, in execute
import_vox(path, **keywords)
File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\io_scene_vox.py", line 180, in import_vox
assert (struct.unpack('<4ci', vox.read(8)) == (b'V', b'O', b'X', b' ', 150))
AssertionError

location: :-1

@dustinspace
Copy link

dustinspace commented Apr 10, 2022

for me the same :-(

If you can tell me how to debug the Blender Pyton files I would be glad to help correcting the errors. I have some python background but I have no knowledge on which tools/methods are better suited for debugging, in case of Blender scripts.

thanks.

@dustinspace
Copy link

dustinspace commented Apr 12, 2022

the error occurs because there is a newer version of the VOX files, and the importer is not up-to-date.
I did create a PullReq, which solves (partially) the problem.
You could be able to read the first model in the project correctly.

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

2 participants