Hello,
I wanted to update episode 3, after a very long time, when I restarted the game, I got this error message:
I'm sorry, but an uncaught exception occurred.
While parsing C:\Program Files (x86)\Gamex\Fashion business\FashionBusiness-EP3-v15-Extra-pc/game/00_Functions/00_init_python.rpy.
File "game/00_Functions/02_init_python_translation.rpy", line 2, in <module>
language_dict = json.loads(renpy.file("language_dict.json").read())
NameError: name 'json' is not defined
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "renpy/bootstrap.py", line 326, in bootstrap
renpy.main.main()
File "renpy/main.py", line 447, in main
renpy.game.script.load_script() # sets renpy.game.script.
File "renpy/script.py", line 283, in load_script
self.load_appropriate_file(".rpyc", ".rpy", dir, fn, initcode)
File "renpy/script.py", line 789, in load_appropriate_file
self.finish_load(stmts, initcode, filename=lastfn)
File "renpy/script.py", line 481, in finish_load
node.early_execute()
File "renpy/ast.py", line 979, in early_execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "renpy/python.py", line 2218, in py_exec_bytecode
exec(bytecode, globals, locals)
File "game/00_Functions/02_init_python_translation.rpy", line 2, in <module>
language_dict = json.loads(renpy.file("language_dict.json").read())
NameError: name 'json' is not defined
Windows-10-10.0.19041
Ren'Py 7.4.4.1439
Sun Jan 22 17:16:56 2023
Has anyone had the same problem? Does anyone have a solution?
Thanks in advance