-
Notifications
You must be signed in to change notification settings - Fork 10
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
Can't read world because of access violation #2
Comments
did you unzipped the .mcworld file? |
Which |
Can confirm this issue is still happening. I'm using Windows 10 64 bits with Python 3.8.3 and I've tried both the provided DLLs and some compiled by myself. Here's the output: File "F:\Escritorio\Saves Script\bedrock\leveldb.py", line 161, in get
valPtr = ldb.leveldb_get(db, ro, key, len(key), ctypes.byref(size), ctypes.byref(error))
File "F:\Escritorio\Saves Script\bedrock\bedrock.py", line 95, in _loadVersion
version = ldb.get(db, self.keyBase + b"v")
File "F:\Escritorio\Saves Script\bedrock\bedrock.py", line 78, in __init__
self.version = self._loadVersion(db)
File "F:\Escritorio\Saves Script\bedrock\bedrock.py", line 30, in getChunk
chunk = Chunk(self.db, x, z)
File "F:\Escritorio\Saves Script\main.py", line 4, in <module>
spawnchunk = world.getChunk(0, 0) |
I'm unfortunately not particularly familiar with the low level windows/ctypes issue this appears to be, and can't reproduce myself. I'm open to a PR fixing it however. |
I can't read world's chinks and blocks. When I try to do this, the error occours:
I'm using Python 3.7 on Windows 10 (64-bit) and with DLLs that are provided in this repository.
The text was updated successfully, but these errors were encountered: