NyashniyVladya / Translator3000

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

I'm sorry, but an uncaught exception occurred. #66

Open Popziz opened 1 year ago

Popziz commented 1 year ago

Hello, I get this error as soon as I launch the game. I'm sorry, but an uncaught exception occurred.

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 "D:\Renpy\LeapofFaith-1 0c-pc\LeapofFaith-1.0c-pc\renpy\bootstrap.py", line 274, in bootstrap renpy.main.main() File "D:\Renpy\LeapofFaith-1 0c-pc\LeapofFaith-1.0c-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 "D:\Renpy\LeapofFaith-1 0c-pc\LeapofFaith-1.0c-pc\renpy\ast.py", line 1131, in execute renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store) File "D:\Renpy\LeapofFaith-1 0c-pc\LeapofFaith-1.0c-pc\renpy\python.py", line 1052, 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 "D:\Renpy\LeapofFaith-1 0c-pc\LeapofFaith-1.0c-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.22000 AMD64 Ren'Py 8.0.2.22081402 Leap of Faith 1.0c Wed Sep 14 16:58:32 2022

Thx.

Popziz commented 1 year ago

I have more and more games where developers have upgraded to renpy 8.0.3 that have this same error :(

sahsazorin2000 commented 1 year ago

У меня появляется все больше и больше игр, в которых разработчики обновились до версии renpy 8.0.3, с такой же ошибкой: (

the file that translates games on this engine is now available on version 7.5 (I have the same problem, the game I wanted to play on version 7.5.3....)

yanmingsohu commented 6 months ago

I have the same problem

I'm sorry, but an uncaught exception occurred.

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

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

Full traceback:
  File "D:\down2\StepsOfDebaucheryEpisode2.1-pc\renpy\bootstrap.py", line 275, in bootstrap
    renpy.main.main()
  File "D:\down2\StepsOfDebaucheryEpisode2.1-pc\renpy\main.py", line 564, in main
    renpy.game.context().run(node)
  File "Translator3000GUIScripts/imports.rpyc", line 2, in script
  File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python3.9/site-packages/future/utils/__init__.py", line 444, in raise_
  File "Translator3000GUIScripts/imports.rpyc", line 2, in script
  File "D:\down2\StepsOfDebaucheryEpisode2.1-pc\renpy\ast.py", line 1138, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "D:\down2\StepsOfDebaucheryEpisode2.1-pc\renpy\python.py", line 1122, in py_exec_bytecode
    exec(bytecode, globals, locals)
  File "game/Translator3000Data/ingame_gui/imports.rpy", line 7, in <module>
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 664, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 627, in _load_backward_compatible
  File "D:\down2\StepsOfDebaucheryEpisode2.1-pc\renpy\loader.py", line 1020, in load_module
    exec(code, mod.__dict__) # type: ignore
  File "_translator3000/__init__.py", line 21, in <module>
  File "_translator3000/utils.py", line 86, in remove_dir
NameError: name 'unicode' is not defined

Windows-10-10.0.19041 AMD64
Ren'Py 8.1.0.23051307
Steps of Debauchery 2.1
Fri Feb 23 06:06:22 2024
spekcool commented 3 months ago

I'm sorry, but an uncaught exception occurred.

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 "D:\Games\A_Wifes_Phone\AWifesPhone05-0.4.7-pc\renpy\bootstrap.py", line 277, in bootstrap renpy.main.main() File "D:\Games\A_Wifes_Phone\AWifesPhone05-0.4.7-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 "D:\Games\A_Wifes_Phone\AWifesPhone05-0.4.7-pc\renpy\ast.py", line 1131, in execute renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store) File "D:\Games\A_Wifes_Phone\AWifesPhone05-0.4.7-pc\renpy\python.py", line 1061, 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 "D:\Games\A_Wifes_Phone\AWifesPhone05-0.4.7-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.22000 AMD64 Ren'Py 8.0.3.22090809 A Wife's Phone 0.4.7 Fri May 17 01:24:28 2024