Page 1 of 1

Call / Call Screen error

Posted: Wed Sep 28, 2022 7:14 pm
by Doeny
So basically for some reason this happened to nearly every call function in my code. It doesn't stop game from working but it shows off when another error appears and I feel like it's highly lowering game's permormance. Any ideas how to fix it?



While running game code:
File "game/continue.rpy", line 14, in script call
call place3
File "game/rooms.rpy", line 10, in script call
call screen place3
File "game/rooms.rpy", line 26, in script call
call screen place1
File "game/room_screens.rpy", line 447, in script call
call place1
File "game/rooms.rpy", line 26, in script call
call screen place1

Re: Call / Call Screen error

Posted: Wed Sep 28, 2022 7:21 pm
by Ocelot
Is this a complete error message? It looks like part of backtrace with actual error missing.

Re: Call / Call Screen error

Posted: Wed Sep 28, 2022 7:50 pm
by Doeny
Ocelot wrote:
Wed Sep 28, 2022 7:21 pm
Is this a complete error message? It looks like part of backtrace with actual error missing.
Here's the rest from full traceback message, but I'm not sure how much of it actually refers to calls itselves:


File "D:\renpy-8.0.2-sdk\renpy\ast.py", line 2115, in execute
if renpy.python.py_eval(condition):
File "D:\renpy-8.0.2-sdk\renpy\python.py", line 1081, in py_eval
code = py_compile(code, 'eval')
File "D:\renpy-8.0.2-sdk\renpy\python.py", line 1018, in py_compile
raise e
File "D:\renpy-8.0.2-sdk\renpy\python.py", line 970, in py_compile
raise orig_e
File "D:\renpy-8.0.2-sdk\renpy\python.py", line 963, in py_compile
tree = compile(source, filename, py_mode, ast.PyCF_ONLY_AST | flags, 1)

Re: Call / Call Screen error

Posted: Fri Sep 30, 2022 12:25 pm
by PyTom
Can you post the full traceback? What oyu have here is missing the actual error message. There should be a button in Ren'Py to copy everything we need.