Ren'Py renpy crashes in a lot of different games

lucasallucas

New Member
Jan 13, 2018
5
0
One example of crash



I'm sorry, but an uncaught exception occurred.

While running game code:
File "renpy/common/00start.rpy", line 273, in script
python:
File "renpy/common/00start.rpy", line 273, in script
python:
File "renpy/common/00start.rpy", line 277, in <module>
renpy.call_in_new_context("_main_menu")
KeyError: (1920, 1080, 1706589940.2749393, 1706589940.2749393)

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

Full traceback:
File "E:\Nova pasta\EchoesOfLust-Episode_1-10-pc\renpy\bootstrap.py", line 316, in bootstrap
renpy.main.main()
File "E:\Nova pasta\EchoesOfLust-Episode_1-10-pc\renpy\main.py", line 578, in main
run(restart)
File "E:\Nova pasta\EchoesOfLust-Episode_1-10-pc\renpy\main.py", line 143, in run
renpy.execution.run_context(True)
File "E:\Nova pasta\EchoesOfLust-Episode_1-10-pc\renpy\execution.py", line 908, in run_context
context.run()
File "renpy/common/00start.rpy", line 273, in script
python:
File "renpy/common/00start.rpy", line 273, in script
python:
File "E:\Nova pasta\EchoesOfLust-Episode_1-10-pc\renpy\ast.py", line 914, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "E:\Nova pasta\EchoesOfLust-Episode_1-10-pc\renpy\python.py", line 2028, in py_exec_bytecode
exec bytecode in globals, locals
File "renpy/common/00start.rpy", line 277, in <module>
renpy.call_in_new_context("_main_menu")
File "E:\Nova pasta\EchoesOfLust-Episode_1-10-pc\renpy\game.py", line 332, in call_in_new_context
return renpy.execution.run_context(False)
File "E:\Nova pasta\EchoesOfLust-Episode_1-10-pc\renpy\execution.py", line 908, in run_context
context.run()
File "renpy/common/_layout/screen_main_menu.rpym", line 28, in script
python hide:
File "renpy/common/_layout/screen_main_menu.rpym", line 28, in script
python hide:
File "E:\Nova pasta\EchoesOfLust-Episode_1-10-pc\renpy\ast.py", line 914, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "E:\Nova pasta\EchoesOfLust-Episode_1-10-pc\renpy\python.py", line 2028, in py_exec_bytecode
exec bytecode in globals, locals
File "renpy/common/_layout/screen_main_menu.rpym", line 28, in <module>
python hide:
File "renpy/common/_layout/screen_main_menu.rpym", line 35, in _execute_python_hide
ui.interact()
File "E:\Nova pasta\EchoesOfLust-Episode_1-10-pc\renpy\ui.py", line 297, in interact
rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
File "E:\Nova pasta\EchoesOfLust-Episode_1-10-pc\renpy\display\core.py", line 2702, in interact
repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, **kwargs)
File "E:\Nova pasta\EchoesOfLust-Episode_1-10-pc\renpy\display\core.py", line 3179, in interact_core
renpy.display.render.process_redraws()
File "renpy/display/render.pyx", line 384, in renpy.display.render.process_redraws (gen\renpy.display.render.c:5542)
v.kill_cache()
File "renpy/display/render.pyx", line 1080, in renpy.display.render.Render.kill_cache (gen\renpy.display.render.c:13866)
del cache[k]
KeyError: (1920, 1080, 1706589940.2749393, 1706589940.2749393)

Windows-8-6.2.9200
Ren'Py 7.3.5.606
EchoesOfLust Episode_1-10
Tue Jan 30 01:46:21 2024
 

hu lover

Forum Fanatic
Jul 27, 2022
4,028
4,414
One example of crash



I'm sorry, but an uncaught exception occurred.

While running game code:
File "renpy/common/00start.rpy", line 273, in script
python:
File "renpy/common/00start.rpy", line 273, in script
python:
File "renpy/common/00start.rpy", line 277, in <module>
renpy.call_in_new_context("_main_menu")
KeyError: (1920, 1080, 1706589940.2749393, 1706589940.2749393)

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

Full traceback:
File "E:\Nova pasta\EchoesOfLust-Episode_1-10-pc\renpy\bootstrap.py", line 316, in bootstrap
renpy.main.main()
File "E:\Nova pasta\EchoesOfLust-Episode_1-10-pc\renpy\main.py", line 578, in main
run(restart)
File "E:\Nova pasta\EchoesOfLust-Episode_1-10-pc\renpy\main.py", line 143, in run
renpy.execution.run_context(True)
File "E:\Nova pasta\EchoesOfLust-Episode_1-10-pc\renpy\execution.py", line 908, in run_context
context.run()
File "renpy/common/00start.rpy", line 273, in script
python:
File "renpy/common/00start.rpy", line 273, in script
python:
File "E:\Nova pasta\EchoesOfLust-Episode_1-10-pc\renpy\ast.py", line 914, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "E:\Nova pasta\EchoesOfLust-Episode_1-10-pc\renpy\python.py", line 2028, in py_exec_bytecode
exec bytecode in globals, locals
File "renpy/common/00start.rpy", line 277, in <module>
renpy.call_in_new_context("_main_menu")
File "E:\Nova pasta\EchoesOfLust-Episode_1-10-pc\renpy\game.py", line 332, in call_in_new_context
return renpy.execution.run_context(False)
File "E:\Nova pasta\EchoesOfLust-Episode_1-10-pc\renpy\execution.py", line 908, in run_context
context.run()
File "renpy/common/_layout/screen_main_menu.rpym", line 28, in script
python hide:
File "renpy/common/_layout/screen_main_menu.rpym", line 28, in script
python hide:
File "E:\Nova pasta\EchoesOfLust-Episode_1-10-pc\renpy\ast.py", line 914, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "E:\Nova pasta\EchoesOfLust-Episode_1-10-pc\renpy\python.py", line 2028, in py_exec_bytecode
exec bytecode in globals, locals
File "renpy/common/_layout/screen_main_menu.rpym", line 28, in <module>
python hide:
File "renpy/common/_layout/screen_main_menu.rpym", line 35, in _execute_python_hide
ui.interact()
File "E:\Nova pasta\EchoesOfLust-Episode_1-10-pc\renpy\ui.py", line 297, in interact
rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
File "E:\Nova pasta\EchoesOfLust-Episode_1-10-pc\renpy\display\core.py", line 2702, in interact
repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, **kwargs)
File "E:\Nova pasta\EchoesOfLust-Episode_1-10-pc\renpy\display\core.py", line 3179, in interact_core
renpy.display.render.process_redraws()
File "renpy/display/render.pyx", line 384, in renpy.display.render.process_redraws (gen\renpy.display.render.c:5542)
v.kill_cache()
File "renpy/display/render.pyx", line 1080, in renpy.display.render.Render.kill_cache (gen\renpy.display.render.c:13866)
del cache[k]
KeyError: (1920, 1080, 1706589940.2749393, 1706589940.2749393)

Windows-8-6.2.9200
Ren'Py 7.3.5.606
EchoesOfLust Episode_1-10
Tue Jan 30 01:46:21 2024
when are you getting this error?

are you getting this error when you launch the game or when you are playing the game?
 

hu lover

Forum Fanatic
Jul 27, 2022
4,028
4,414
well, trying to use transltor3000, having some troubles, the top left icon doesnt show up
look at the last post on that thread, someone had an uncaught error and they were able to fix the problem by using the transltor3000 program.
i dont know anything about progamming
i don't have any expertise on programming either, but seeing that someone was able to fix the problem of the uncaught issue on their end tells me the that the transltor3000 program can fix the error. as to fixing this error though, i am unable to help you on that, however you can try browsing on Google and look up ways on how to fix the problem in Ren Py that you are having.
 

anne O'nymous

I'm not grumpy, I'm just coded that way.
Modder
Respected User
Donor
Jun 10, 2017
10,111
14,790
File "renpy/common/00start.rpy", line 277, in <module>
renpy.call_in_new_context("_main_menu")
KeyError: (1920, 1080, 1706589940.2749393, 1706589940.2749393)
And once again an error that shouldn't happen because it's impossible for it to happen, and yet it happen.

Don't remember the thread, but try to increase your CPU frequency. So far all those impossible errors have been solved this way.
 

anne O'nymous

I'm not grumpy, I'm just coded that way.
Modder
Respected User
Donor
Jun 10, 2017
10,111
14,790
didnt work
Hmm...

As I said, the error you get can not happen. And I really mean it, it's a 100% impossible error:
Python:
            for k, v in cache.items():
                if v is self:
                    del cache[k]    # <--- It happen here
Python throw an error because the key "k" do not exist, but it can only try to delete it because the said key existed a nanosecond before.
As complex as they can be, computers aren't (yet) working at quantum level, so this is strictly impossible. Even if Ren'Py was threaded (what isn't the case for that part) and the element was deleted during that nano second, it would be a random event ; too random to happen in more than 1 case over trillion of trillion times.

The CPU solution can imply that error, by messing with the CPU prediction threads, caches and all. I really don't see another reason that can lead to this ; at least except a massive RAM corruption, but it wouldn't be as consistent as you present it, and it wouldn't only affect Ren'Py.
 
  • Like
Reactions: gojira667