NyashniyVladya / Translator3000

Automatic translator of games made on Ren'Py engine.
https://nyashniyvladya.github.io/
GNU General Public License v3.0
124 stars 18 forks source link

I'm sorry, but an uncaught exception occurred. I'm having this problem in a game please help. #59

Closed s3h0cx closed 2 years ago

s3h0cx commented 2 years ago

While running game code: File "game/Translator3000Data/ingame_gui/imports.rpy", line 7, in NameError: name 'unicode' is not defined

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

Full traceback: File "C:\Users\LENOVO\Desktop\motherless_second_season-0.15.3.1-pc\renpy\bootstrap.py", line 274, in bootstrap renpy.main.main() File "C:\Users\LENOVO\Desktop\motherless_second_season-0.15.3.1-pc\renpy\main.py", line 558, in main renpy.game.context().run(node) File "Translator3000GUIScripts/imports.rpyc", line 2, in script File "/home/tom/ab/renpy-build/tmp/install.linux-x8664/lib/python3.9/site-packages/future/utils/init.py", line 441, in raise File "Translator3000GUIScripts/imports.rpyc", line 2, in script File "C:\Users\LENOVO\Desktop\motherless_second_season-0.15.3.1-pc\renpy\ast.py", line 1131, in execute renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store) File "C:\Users\LENOVO\Desktop\motherless_second_season-0.15.3.1-pc\renpy\python.py", line 1049, in py_exec_bytecode exec(bytecode, globals, locals) File "game/Translator3000Data/ingame_gui/imports.rpy", line 7, in File "", line 1007, in _find_and_load File "", line 986, in _find_and_load_unlocked File "", line 664, in _load_unlocked File "", line 627, in _load_backward_compatible File "C:\Users\LENOVO\Desktop\motherless_second_season-0.15.3.1-pc\renpy\loader.py", line 1007, in load_module exec(code, mod.dict) # type: ignore File "_translator3000/init.py", line 21, in File "_translator3000/utils.py", line 86, in remove_dir NameError: name 'unicode' is not defined

Windows-10-10.0.19044 AMD64 Ren'Py 8.0.1.22070801 Motherless 0.15.3.1 Wed Jul 20 21:55:56 2022

NyashniyVladya commented 2 years ago

Ren'Py 8 and higher is not yet supported by the translator. Python 3 is used there. This is a different programming language from Python 2 and porting will take some time. Be patient. The implementation of Ren'Py 8 support is on my task list.

huligan79 commented 1 year ago

I'm sorry, but an uncaught exception occurred.

While running game code: File "game/Translator3000Data/ingame_gui/imports.rpy", line 7, in ValueError: Attempted relative import in non-package

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

Full traceback: File "Translator3000GUIScripts/imports.rpyc", line 2, in script File "renpy/ast.py", line 1138, in execute renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store) File "renpy/python.py", line 1122, in py_exec_bytecode exec(bytecode, globals, locals) File "game/Translator3000Data/ingame_gui/imports.rpy", line 7, in File "renpy/loader.py", line 1033, in load_module exec(code, mod.dict) # type: ignore File "_translator3000/init.py", line 9, in ValueError: Attempted relative import in non-package

Windows-10-10.0.19041 AMD64 Ren'Py 7.6.2.23090503 Straitened Times 0.43.0 Mon Oct 16 09:22:36 2023