Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

ergi chapter 7 having problem with it crashing not far into the game when it does this got to end the game 

then this comes up

I'm sorry, but an uncaught exception occurred.

While running game code:

TypeError: compile() expected string without null bytes

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

Full traceback:

  File "Ch6/ch6.rpyc", line 25169, in script

  File "renpy/ast.py", line 1553, in execute

    renpy.store._return = renpy.python.py_eval(self.expression)

  File "renpy/python.py", line 2274, in py_eval

    code = py_compile(code, 'eval')

  File "renpy/python.py", line 806, in py_compile

    tree = compile(source, filename, py_mode, ast.PyCF_ONLY_AST | flags, 1)

TypeError: compile() expected string without null bytes

Windows-10-10.0.19041

Ren'Py 7.4.11.2266

Ergi 0.791

Wed Mar 19 14:55:49 2025

can you help