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

Fails to read MagicaVoxel file #1

Open
inxomnyaa opened this issue Jan 11, 2022 · 1 comment
Open

Fails to read MagicaVoxel file #1

inxomnyaa opened this issue Jan 11, 2022 · 1 comment

Comments

@inxomnyaa
Copy link

inxomnyaa commented Jan 11, 2022

python.exe .\vox2schematic.py ..\model\shrunk\wf_sky_ps_meshsampler.vox
Traceback (most recent call last):
  File ".\vox2schematic.py", line 102, in <module>
    main()
  File ".\vox2schematic.py", line 98, in main
    w, l, h, blocks, data = handlers[args.format](args)
  File ".\vox2schematic.py", line 67, in vox_handler
    model = VoxParser(args.filename).parse()
  File "C:\Users\XenialDan\AppData\Local\Programs\Python\Python37-32\lib\site-packages\pyvox\parser.py", line 93, in parse
    main = self._parseChunk()
  File "C:\Users\XenialDan\AppData\Local\Programs\Python\Python37-32\lib\site-packages\pyvox\parser.py", line 81, in _parseChunk
    chunks.append(self._parseChunk())
  File "C:\Users\XenialDan\AppData\Local\Programs\Python\Python37-32\lib\site-packages\pyvox\parser.py", line 83, in _parseChunk
    return Chunk(_id, content, chunks)
  File "C:\Users\XenialDan\AppData\Local\Programs\Python\Python37-32\lib\site-packages\pyvox\parser.py", line 55, in __init__
    raise ParsingException('Unknown chunk type: %s'%self.id)
pyvox.parser.ParsingException: Unknown chunk type: b'MATL'

or

python.exe .\vox2schematic.py ..\model\shrunk\wf_sky_ps_meshsampler_to_magica.vox
Traceback (most recent call last):
  File ".\vox2schematic.py", line 102, in <module>
    main()
  File ".\vox2schematic.py", line 98, in main
    w, l, h, blocks, data = handlers[args.format](args)
  File ".\vox2schematic.py", line 67, in vox_handler
    model = VoxParser(args.filename).parse()
  File "C:\Users\XenialDan\AppData\Local\Programs\Python\Python37-32\lib\site-packages\pyvox\parser.py", line 93, in parse
    main = self._parseChunk()
  File "C:\Users\XenialDan\AppData\Local\Programs\Python\Python37-32\lib\site-packages\pyvox\parser.py", line 81, in _parseChunk
    chunks.append(self._parseChunk())
  File "C:\Users\XenialDan\AppData\Local\Programs\Python\Python37-32\lib\site-packages\pyvox\parser.py", line 83, in _parseChunk
    return Chunk(_id, content, chunks)
  File "C:\Users\XenialDan\AppData\Local\Programs\Python\Python37-32\lib\site-packages\pyvox\parser.py", line 55, in __init__
    raise ParsingException('Unknown chunk type: %s'%self.id)
pyvox.parser.ParsingException: Unknown chunk type: b'nTRN'
@inxomnyaa
Copy link
Author

Hmmm nervermind, seems like the lib used has issues. alexhunsley/numpy-vox-io#4

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

1 participant