Error -3 while decompressing data: incorrect header check

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
User avatar
AERenoir
Veteran
Posts: 320
Joined: Fri May 27, 2011 8:23 pm
Contact:

Error -3 while decompressing data: incorrect header check

#1 Post by AERenoir »

After upgrading to the newest Ren'py builds, I found that some of my game's feature no longer work properly. The last build I remember it working in was Ren'py 6.16.2, so I went back there to grab screen recordings of what was supposed to be happening.

But every time I launch the game, this happens:

Code: Select all

I'm sorry, but an uncaught exception occurred.

While loading the script.
error: Error -3 while decompressing data: incorrect header check

-- Full Traceback ------------------------------------------------------------

Full traceback:
  File "H:\Ren'py\renpy-6.16.2-sdk\renpy\bootstrap.py", line 265, in bootstrap
    renpy.main.main()
  File "H:\Ren'py\renpy-6.16.2-sdk\renpy\main.py", line 226, in main
    renpy.game.script.load_script() # sets renpy.game.script.
  File "H:\Ren'py\renpy-6.16.2-sdk\renpy\script.py", line 177, in load_script
    self.load_appropriate_file(".rpyc", ".rpy", dir, fn, initcode)
  File "H:\Ren'py\renpy-6.16.2-sdk\renpy\script.py", line 436, in load_appropriate_file
    if self.load_file(dir, fn + compiled, initcode):
  File "H:\Ren'py\renpy-6.16.2-sdk\renpy\script.py", line 310, in load_file
    data, stmts = self.load_file_core(dir, fn)
  File "H:\Ren'py\renpy-6.16.2-sdk\renpy\script.py", line 288, in load_file_core
    data, stmts = loads(f.read().decode('zlib'))
  File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/encodings/zlib_codec.py", line 43, in zlib_decode
error: Error -3 while decompressing data: incorrect header check

Windows-post2008Server-6.2.9200
Ren'Py 6.16.2.490
 


The game will launch just fine in Ren'py 6.99.10 and above. JUst with a few wonky stuff that I'm asking in other threads.
I tried the Tutorial game and The Question, and they both work just fine. I tried a few random tutorial projects from Cookbook, and I find that some work and some don't. I don't know what's the difference between the projects that worked and the projects that don't. I suspect the ones that work are the ones that are ridiculously old (maybe built in 2013-ish and older).

Was there some kind of global Ren'py folder that affects ALL the Ren'py builds existing in a single computer? Should I be worried? Should I just dump out the old 6.16.2 build?

Post Reply

Who is online

Users browsing this forum: Google [Bot], Kocker