Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
I'm sorry, but an uncaught exception occurred.
After initialization, but before game start.
File "renpy/common/00start.rpy", line 79, in _init_language
renpy.change_language(language)
SyntaxError: invalid syntax (game/screens.rpy, line 139)
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "C:\Users\lily1\Downloads\vn\renpy-7.3.2-sdk\renpy\bootstrap.py", line 314, in bootstrap
renpy.main.main()
File "C:\Users\lily1\Downloads\vn\renpy-7.3.2-sdk\renpy\main.py", line 529, in main
run(restart)
File "C:\Users\lily1\Downloads\vn\renpy-7.3.2-sdk\renpy\main.py", line 71, in run
renpy.translation.init_translation()
File "C:\Users\lily1\Downloads\vn\renpy-7.3.2-sdk\renpy\translation\__init__.py", line 558, in init_translation
renpy.store._init_language() # @UndefinedVariable
File "renpy/common/00start.rpy", line 79, in _init_language
renpy.change_language(language)
File "C:\Users\lily1\Downloads\vn\renpy-7.3.2-sdk\renpy\translation\__init__.py", line 638, in change_language
new_change_language(tl, language)
File "C:\Users\lily1\Downloads\vn\renpy-7.3.2-sdk\renpy\translation\__init__.py", line 604, in new_change_language
i.apply()
File "C:\Users\lily1\Downloads\vn\renpy-7.3.2-sdk\renpy\ast.py", line 2551, in apply
value = renpy.python.py_eval(expr)
File "C:\Users\lily1\Downloads\vn\renpy-7.3.2-sdk\renpy\python.py", line 2033, in py_eval
code = py_compile(code, 'eval')
File "C:\Users\lily1\Downloads\vn\renpy-7.3.2-sdk\renpy\python.py", line 690, in py_compile
raise e
SyntaxError: invalid syntax (game/screens.rpy, line 139)
Windows-8-6.2.9200
Ren'Py 7.3.2.320
The Hawkins Files 1.0
Fri Aug 23 18:34:44 2019
rayminator wrote: ↑Fri Aug 23, 2019 10:15 pm
have you change anything before that line?
make sure is indented properly it as to line with ysize gui.textbox_height