Code: Select all
I'm sorry, but an uncaught exception occurred.
While running game code:
ScriptError: Name (u'game/gui.rpy', 1588928406, 163) is defined twice, at game/gui.rpy:11 and game/images/game/gui.rpyc:11.
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "C:\Users\itain\OneDrive\Documents\renpy-7.3.2-sdk\renpy\bootstrap.py", line 314, in bootstrap
renpy.main.main()
File "C:\Users\itain\OneDrive\Documents\renpy-7.3.2-sdk\renpy\main.py", line 373, in main
renpy.game.script.load_script() # sets renpy.game.script.
File "C:\Users\itain\OneDrive\Documents\renpy-7.3.2-sdk\renpy\script.py", line 271, in load_script
self.load_appropriate_file(".rpyc", ".rpy", dir, fn, initcode)
File "C:\Users\itain\OneDrive\Documents\renpy-7.3.2-sdk\renpy\script.py", line 775, in load_appropriate_file
self.finish_load(stmts, initcode, filename=lastfn)
File "C:\Users\itain\OneDrive\Documents\renpy-7.3.2-sdk\renpy\script.py", line 452, in finish_load
check_name(node)
File "C:\Users\itain\OneDrive\Documents\renpy-7.3.2-sdk\renpy\script.py", line 435, in check_name
bad_node.filename, bad_node.linenumber))
ScriptError: Name (u'game/gui.rpy', 1588928406, 163) is defined twice, at game/gui.rpy:11 and game/images/game/gui.rpyc:11.
Windows-8-6.2.9200
Ren'Py 7.3.2.320
Tue Aug 25 17:26:07 2020
Does somebody has a solution? It suddenly appeared out of nowhere(I only did grammar fixes in the script.rpy and then it happened).
EDIT: I've tried replacing gui.rpy, screens.rpy, script.rpy, options.rpy from a project that works(checked it right now and it worked) and the same error as the one above was produced.