Hello.
When I try to build web application of my renpy game, it always fails. I don't quite understand why.
What does bad magic number mean?
How can i fix this issue?
When I tried to build the tutorial game it passed smoothly
This is the build error traceback:
When I try to build web application of my renpy game, it always fails. I don't quite understand why.
What does bad magic number mean?
How can i fix this issue?
When I tried to build the tutorial game it passed smoothly
This is the build error traceback:
Code:
Initializing gl2 renderer:
primary display bounds: (0, 0, 2560, 1440)
swap interval: 1 frames
Windowed mode.
Vendor: 'NVIDIA Corporation'
Renderer: 'NVIDIA GeForce RTX 3090/PCIe/SSE2'
Version: '4.6.0 NVIDIA 496.49'
Display Info: None
Screen sizes: virtual=(800, 600) physical=(1076, 807) drawable=(1076, 807)
Maximum texture size: 4096x4096
Full traceback:
File "launcher/game/web.rpyc", line 356, in script
File "U:XXX\renpy-7.4.9-sdk/renpy/ast.py", line 928, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "U:XXX\renpy-7.4.9-sdk/renpy/python.py", line 2245, in py_exec_bytecode
exec(bytecode, globals, locals)
File "game/web.rpy", line 356, in <module>
File "game/web.rpy", line 243, in build_web
File "game/web.rpy", line 156, in repack_for_progressive_download
File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python2.7/zipfile.py", line 793, in __init__
File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python2.7/zipfile.py", line 862, in _RealGetContents
BadZipfile: Bad magic number for central directory
While running game code:
File "game/web.rpy", line 356, in <module>
File "game/web.rpy", line 243, in build_web
File "game/web.rpy", line 156, in repack_for_progressive_download
BadZipfile: Bad magic number for central directory