question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"corrupted compressed block contents" when opening Bedrock world

See original GitHub issue

Description of Issue:

Loading my Bedrock world fails with the error “corrupted compressed block contents”.

MCEdit Version:

git 568c01d0 (1.6.0.0)

Minecraft Version the world was last opened in:

Bedrock beta 1.8.0.14

Operating System:

macOS 10.13.6

A screenshot or full text of the error from the console:

(master) MacBook-Pro:MCEdit-Unified coda$ python mcedit.py --debug-pe --debug-pe
Running in fixed mode. Support files are in your App Support Folder (Available from the main menu of MCEdit)
pygame 1.9.4
Hello from the pygame community. https://www.pygame.org/contribute.html
Splash load...
[ ****** ] ~~~~~~~~~~ Starting MCEdit-Unified v1.6.0.0
[   ERROR][          pymclevel.nbt.py:703]:Failed to import Cythonized nbt file. Running on (very slow) pure-python nbt fallback.
[   ERROR][          pymclevel.nbt.py:704]:(Did you forget to run 'setup.py build_ext --inplace'?)
[   ERROR][          pymclevel.nbt.py:705]:cannot import name TAG_Long_Array
Game Version: Unknown : Unknown
/var/folders/9c/qz7q1_lj73qbd9c9vbmk_xl00000gn/T
[ WARNING][            mcplatform.py:1260]:Initializing window management...
Minecraft_Server.jar storage initialized.
Each server is stored in a subdirectory of /Users/coda/Library/Application Support/pymclevel/ServerJarStorage named with the server's version number
Cached servers:  []
/Users/coda/MCEdit-Unified/toolicons/session_good.png
*** MCEDIT DEBUG: file_dialog: /Users/coda/MCEdit-Unified/albow/file_dialogs.pyc
*** MCEDIT DEBUG: directory: /Users/coda/MCEdit-Unified/albow
*** MCEDIT DEBUG: current directory: /Users/coda/MCEdit-Unified
[   ERROR][                  root.py:1332]:Wasn't able to open a file {file => /var/folders/9c/qz7q1_lj73qbd9c9vbmk_xl00000gn/T/mcworld_jmsXSX/level.dat}
Traceback (most recent call last):
  File "/Users/coda/MCEdit-Unified/leveleditor.py", line 1329, in loadFile
    level = pymclevel.fromFile(filename)
  File "/Users/coda/MCEdit-Unified/pymclevel/mclevel.py", line 226, in fromFile
    return PocketLeveldbWorld(filename)
  File "/Users/coda/MCEdit-Unified/pymclevel/leveldbpocket.py", line 886, in __init__
    self.worldFile = PocketLeveldbDatabase(filename, self, create=create, world_version=self.world_version, dat_world_version=self.dat_world_version)
  File "/Users/coda/MCEdit-Unified/pymclevel/leveldbpocket.py", line 303, in __init__
    it.SeekToFirst()
  File "/Users/coda/MCEdit-Unified/pymclevel/leveldb.py", line 327, in SeekToFirst
    self._impl.SeekToFirst()
  File "/Users/coda/MCEdit-Unified/pymclevel/leveldb.py", line 971, in SeekToFirst
    self._checkError()
  File "/Users/coda/MCEdit-Unified/pymclevel/leveldb.py", line 988, in _checkError
    _checkError(error)
  File "/Users/coda/MCEdit-Unified/pymclevel/leveldb.py", line 935, in _checkError
    raise _err(message)
ZipCompressionError: Corruption: corrupted compressed block contents

Contents of dump_pe.txt:

Binary world version: '\x08'; compressor: (4, 2)
Binary world version: '\x08'; compressor: (4,)
Binary world version: '\x08'; compressor: (2,)

How to reproduce:

I installed MCEdit-Unified from source and followed the instructions to copy the _nbt.so into place from the last binary distribution.

I exported my world from the Windows 10 version of Minecraft, copied the .mcworld file over to my Mac (since that’s where my development stuff is), and attempted to load the file.

I don’t mind uploading the world somewhere if needed, but it’s 86MB.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:9

github_iconTop GitHub Comments

1reaction
gentlegiantJGCcommented, Jul 2, 2019

It is a beta on the website. Bottom right of the top box

1reaction
gentlegiantJGCcommented, Jul 2, 2019

MCEdit 1.6 is but 1.5 was released before Bedrock existed

Read more comments on GitHub >

github_iconTop Results From Across the Web

A brand new website interface for an even better experience!
"corrupted compressed block contents" when opening Bedrock world.
Read more >
[MCPE-154278] World corrupted/broken in 1.18.30 - Jira
My 2 year old survival world corrupted or broke somehow. ... I can open chests, entities moves, break blocks and other actions, ...
Read more >
Minecraft Bedrock - How To Fix Your Corrupted World - Guide
Minecraft Bedrock - How To Fix Your Corrupted World - GuideSpecial Thanks To MusicToday80 for the new intro music!
Read more >
The last two screenshots of my world that got corrupted today..
If you click on your world (not the play button), then on "edit", there is a button that makes backups that will be...
Read more >
Script removes PendingTick data from world chunks to fix ...
Also check your command blocks if you have any as these may also freeze after running the script. About: ====== This tool is...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found