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

Crash when trying to load world #1

Open
LordMZTE opened this issue Apr 28, 2020 · 0 comments
Open

Crash when trying to load world #1

LordMZTE opened this issue Apr 28, 2020 · 0 comments

Comments

@LordMZTE
Copy link

my code:

world_folder = r"2b2t_org"
world = World(world_folder)

this will result in this exception:

Traceback (most recent call last):
  File "B:/Dev/Minecraft Sign Searcher/signsearcher.py", line 23, in <module>
    world = World(world_folder)
  File "B:\Dev\Minecraft Sign Searcher\minecrafty\world.py", line 21, in __init__
    self.regions = Regions(regions_folder)
  File "B:\Dev\Minecraft Sign Searcher\minecrafty\region.py", line 26, in __init__
    self[x, z] = Region(region_file)
  File "B:\Dev\Minecraft Sign Searcher\minecrafty\region.py", line 69, in __init__
    self[x, z] = Chunk(self._buffer)
  File "B:\Dev\Minecraft Sign Searcher\minecrafty\chunk.py", line 22, in __init__
    self._buffer = io.BytesIO(zlib.decompress(self._buffer.read(size)))
MemoryError

the folder im trying to load does exist

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