Hopefully I'm posting this properly. I'm trying to create a game in renpy and I had tested it without errors. When I opened the game later, after not making any changes, I got the following error message:
While running game code:
File "game/script.rpy", line 48, in script
"Thanks for playing."
Exception: The say screen (or show_function) must return a Text object.
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "game/script.rpy", line 48, in script
"Thanks for playing."
File "D:\programs\renpy\renpy 7.1.3\renpy-7.1.3-sdk\renpy\ast.py", line 690, in execute
renpy.exports.say(who, what, *args, **kwargs)
File "D:\programs\renpy\renpy 7.1.3\renpy-7.1.3-sdk\renpy\exports.py", line 1322, in say
who(what, *args, **kwargs)
File "D:\programs\renpy\renpy 7.1.3\renpy-7.1.3-sdk\renpy\character.py", line 1127, in __call__
self.do_display(who, what, cb_args=self.cb_args, **display_args)
File "D:\programs\renpy\renpy 7.1.3\renpy-7.1.3-sdk\renpy\character.py", line 842, in do_display
**display_args)
File "D:\programs\renpy\renpy 7.1.3\renpy-7.1.3-sdk\renpy\character.py", line 555, in display_say
raise Exception("The say screen (or show_function) must return a Text object.")
Exception: The say screen (or show_function) must return a Text object.
Windows-8-6.2.9200
Ren'Py 7.2.1.457
Earth girls are...? 0.10
Sat Mar 23 15:19:34 2019
If I remove all the text, the game plays fine. Would have thought the text part would be the easiest part of making the game. Would appreciate some guidance as I don't follow what the traceback is wanting me to correct. Thanks.
While running game code:
File "game/script.rpy", line 48, in script
"Thanks for playing."
Exception: The say screen (or show_function) must return a Text object.
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "game/script.rpy", line 48, in script
"Thanks for playing."
File "D:\programs\renpy\renpy 7.1.3\renpy-7.1.3-sdk\renpy\ast.py", line 690, in execute
renpy.exports.say(who, what, *args, **kwargs)
File "D:\programs\renpy\renpy 7.1.3\renpy-7.1.3-sdk\renpy\exports.py", line 1322, in say
who(what, *args, **kwargs)
File "D:\programs\renpy\renpy 7.1.3\renpy-7.1.3-sdk\renpy\character.py", line 1127, in __call__
self.do_display(who, what, cb_args=self.cb_args, **display_args)
File "D:\programs\renpy\renpy 7.1.3\renpy-7.1.3-sdk\renpy\character.py", line 842, in do_display
**display_args)
File "D:\programs\renpy\renpy 7.1.3\renpy-7.1.3-sdk\renpy\character.py", line 555, in display_say
raise Exception("The say screen (or show_function) must return a Text object.")
Exception: The say screen (or show_function) must return a Text object.
Windows-8-6.2.9200
Ren'Py 7.2.1.457
Earth girls are...? 0.10
Sat Mar 23 15:19:34 2019
If I remove all the text, the game plays fine. Would have thought the text part would be the easiest part of making the game. Would appreciate some guidance as I don't follow what the traceback is wanting me to correct. Thanks.