Code: Select all
label choose_subjects:
label choose_g1:
call screen group1_subjects
"[g1_name]"
default status = gl_name[:2]
"[status]"
Here is the traceback:
Code: Select all
I'm sorry, but an uncaught exception occurred.
While running game code:
File "renpy/common/00start.rpy", line 188, in script
python:
File "renpy/common/00start.rpy", line 189, in <module>
renpy.execute_default_statement(True)
File "game/script.rpy", line 84, in set_default
default status = gl_name[:2]
File "game/script.rpy", line 84, in <module>
default status = gl_name[:2]
NameError: name 'gl_name' is not defined
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "/Applications/renpy-6.99.13-sdk 2/renpy/bootstrap.py", line 305, in bootstrap
renpy.main.main()
File "/Applications/renpy-6.99.13-sdk 2/renpy/main.py", line 499, in main
run(restart)
File "/Applications/renpy-6.99.13-sdk 2/renpy/main.py", line 147, in run
renpy.execution.run_context(True)
File "/Applications/renpy-6.99.13-sdk 2/renpy/execution.py", line 795, in run_context
context.run()
File "renpy/common/00start.rpy", line 188, in script
python:
File "/Applications/renpy-6.99.13-sdk 2/renpy/ast.py", line 827, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "/Applications/renpy-6.99.13-sdk 2/renpy/python.py", line 1764, in py_exec_bytecode
exec bytecode in globals, locals
File "renpy/common/00start.rpy", line 189, in <module>
renpy.execute_default_statement(True)
File "/Applications/renpy-6.99.13-sdk 2/renpy/exports.py", line 3196, in execute_default_statement
i.set_default(start)
File "game/script.rpy", line 84, in set_default
default status = gl_name[:2]
File "/Applications/renpy-6.99.13-sdk 2/renpy/python.py", line 1788, in py_eval_bytecode
return eval(bytecode, globals, locals)
File "game/script.rpy", line 84, in <module>
default status = gl_name[:2]
NameError: name 'gl_name' is not defined
Darwin-16.7.0-x86_64-i386-64bit
Ren'Py 6.99.13.2919
The IB Simulator dev 1.0