bedrock
bedrock copied to clipboard
Can't read world because of access violation
I can't read world's chinks and blocks. When I try to do this, the error occours:
Traceback (most recent call last):
File "<pyshell#8>", line 1, in <module>
world.getChunk(0, 0)
File "D:\Users\filips\Downloads\MCPE\venv\lib\site-packages\bedrock-0.1-py3.7.egg\bedrock\bedrock.py", line 30, in getChunk
chunk = Chunk(self.db, x, z)
File "D:\Users\filips\Downloads\MCPE\venv\lib\site-packages\bedrock-0.1-py3.7.egg\bedrock\bedrock.py", line 65, in __init__
self.version = self._loadVersion(db)
File "D:\Users\filips\Downloads\MCPE\venv\lib\site-packages\bedrock-0.1-py3.7.egg\bedrock\bedrock.py", line 82, in _loadVersion
version = ldb.get(db, self.keyBase + b"v")
File "D:\Users\filips\Downloads\MCPE\venv\lib\site-packages\bedrock-0.1-py3.7.egg\bedrock\leveldb.py", line 164, in get
valPtr = ldb.leveldb_get(db, ro, key, len(key), ctypes.byref(size), ctypes.byref(error))
OSError: exception: access violation reading 0x0000000000000000
I'm using Python 3.7 on Windows 10 (64-bit) and with DLLs that are provided in this repository.