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

vox2schematic - TypeError: to_nbt() takes 3 positional arguments but 4 were given #140

Open
hellocatfood opened this issue Mar 13, 2021 · 1 comment

Comments

@hellocatfood
Copy link

I'm trying to run vox2schematic on this model https://github.com/mikelovesrobots/mmmm/blob/master/vox/alien_crawl1.vox (also on my own models). Running it gives me this error:

ox2schematic alien_crawl1.vox 
2021-03-13 17:35:33,411 Vox input file: alien_crawl1.vox
2021-03-13 17:35:33,411 Schematic output file: alien_crawl1.schematic
2021-03-13 17:35:33,412 Material data not found
Traceback (most recent call last):
  File "/home/hellocatfood/.local/bin/vox2schematic", line 71, in <module>
    main()
  File "/home/hellocatfood/.local/bin/vox2schematic", line 62, in main
    voxels._blocks_memory.to_schematic(schematic_file)
  File "/home/hellocatfood/.local/lib/python3.8/site-packages/mcthings/blocks_memory.py", line 254, in to_schematic
    self.build_schematic().write_file(file_path)
  File "/home/hellocatfood/.local/lib/python3.8/site-packages/mcthings/blocks_memory.py", line 244, in build_schematic
    return self.to_nbt(init_pos, end_pos, self)
TypeError: to_nbt() takes 3 positional arguments but 4 were given

I'm using python3.8 on Ubuntu 20.04

@ErsteNacht
Copy link

I got the same problem. I decided to try older versions and one of them worked.

pip install mcthings==0.51.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

2 participants