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

Error on examples #132

Open
nalo26 opened this issue Aug 18, 2019 · 0 comments
Open

Error on examples #132

nalo26 opened this issue Aug 18, 2019 · 0 comments

Comments

@nalo26
Copy link

nalo26 commented Aug 18, 2019

Hello !

I'm trying to make the example program block_analysis works, but it doesn't. I saw the other error report, but it still doesn't work in 1.13.2.

Parsing region r.-1.-1.mca...
Traceback (most recent call last):
  File "test.py", line 144, in <module>
    sys.exit(main(world_folder, start, stop))
  File "test.py", line 115, in main
    process_region_file(region, start, stop)
  File "test.py", line 73, in process_region_file
    for c in region.iter_chunks_class():
AttributeError: 'RegionFile' object has no attribute 'iter_chunks_class'

I tried to replace iter_chunks_class with iter_chunks but, I then get the following error on the next line, which I do not understand :/

Parsing region r.-1.-1.mca...
Traceback (most recent call last):
  File "test.py", line 144, in <module>
    sys.exit(main(world_folder, start, stop))
  File "test.py", line 115, in main
    process_region_file(region, start, stop)
  File "test.py", line 74, in process_region_file
    cx, cz = c.get_coords()
AttributeError: 'NBTFile' object has no attribute 'get_coords'

Is there a way to fix that and/or update it to 1.14.x or anything ? Thanks ^^

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