I had an inquiry regarding the digital calendar found here.
After putting in the code in a seperate rpy file, the game will run. However, when I say to show it using this (indentation is correct, the quotes is not showing it),
I get the following error:if(clock):
$ Calendar()
$ Clocks()
my line 25 is just basic text:I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/script.rpy", line 25, in script
Exception: The say screen (or show_function) must return a Text object.
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "C:\Users\renpy-6.15.2-sdk\renpy\execution.py", line 288, in run
node.execute()
File "C:\Users\renpy-6.15.2-sdk\renpy\ast.py", line 453, in execute
renpy.exports.say(who, what, interact=self.interact)
File "C:\Users\renpy-6.15.2-sdk\renpy\exports.py", line 755, in say
renpy.store.say(who, what, interact=interact)
File "C:\Users\renpy-6.15.2-sdk\renpy\defaultstore.py", line 340, in say
who(what, interact=interact)
File "C:\Users\renpy-6.15.2-sdk\renpy\character.py", line 789, in __call__
self.do_display(who, what, cb_args=self.cb_args, **display_args)
File "C:\Users\renpy-6.15.2-sdk\renpy\character.py", line 671, in do_display
**display_args)
File "C:\Users\renpy-6.15.2-sdk\renpy\character.py", line 453, 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-7-6.1.7601-SP1
Ren'Py 6.15.2.281
A Ren'Py Game 0.0
What's strange is if I keep clicking ignore and go to a Menu option, it displays the digital clock correctly but then goes back to the error after a selection is made."Person" "Hello world."
I have not modified any UI functions or appearance, they are all original Ren'Py files.
Can you please provide assistance in this matter?
Thanks!