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 errors were detected in your script. Please correct the
errors listed below, and try again.
File "game/script.rpy", line 42: expected statement.
e “Hello there, thank you for calling in. What’s your name?”
^
File "game/script.rpy", line 46: expected statement.
k “…Kurt.”
^
Ren'Py Version: Ren'Py 6.99.8.959
I've puzzled upon this much longer than I should??? The "^" comes out as a red arrow and I have it all over my dialogue T.T" Would be eternally grateful for some help for this coding nub! ;'o
It looks something like this along with the statement text:
"I take up the headset."
e “Hello there, thank you for calling in. What’s your name?”
Iylae wrote:I'll take a punt at this because I seem to recall reading this somewhere that you can't use left and right double quotes around your text: “ and ”
While running game code:
File "game/script.rpy", line 14, in script
"I walk down the avenue, a lone figure in the wisps of yellow light and grey buildings."
File "game/screens.rpy", line 13, in execute
screen say(who, what, side_image=None, two_window=False):
File "game/screens.rpy", line 52, in execute
if side_image:
File "game/screens.rpy", line 55, in execute
add SideImage() xalign 0.0 yalign 1.0
Exception: Unknown transform property: 'scope'
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "game/script.rpy", line 14, in script
"I walk down the avenue, a lone figure in the wisps of yellow light and grey buildings."
File "C:\Renpy\renpy\ast.py", line 594, in execute
renpy.exports.say(who, what, interact=self.interact)
File "C:\Renpy\renpy\exports.py", line 1021, in say
who(what, interact=interact)
File "C:\Renpy\renpy\character.py", line 826, in __call__
self.do_display(who, what, cb_args=self.cb_args, **display_args)
File "C:\Renpy\renpy\character.py", line 688, in do_display
**display_args)
File "C:\Renpy\renpy\character.py", line 465, in display_say
what_text = show_function(who, what_string)
File "C:\Renpy\renpy\character.py", line 672, in do_show
**self.show_args)
File "C:\Renpy\renpy\character.py", line 275, in show_display_say
return renpy.display.screen.get_widget(screen, "what", layer)
File "C:\Renpy\renpy\display\screen.py", line 1119, in get_widget
screen.update()
File "C:\Renpy\renpy\display\screen.py", line 565, in update
self.screen.function(**self.scope)
File "game/screens.rpy", line 13, in execute
screen say(who, what, side_image=None, two_window=False):
File "game/screens.rpy", line 52, in execute
if side_image:
File "game/screens.rpy", line 55, in execute
add SideImage() xalign 0.0 yalign 1.0
File "C:\Renpy\renpy\sl2\sldisplayables.py", line 545, in sl2add
rv = Transform(child=d, **kwargs)
File "C:\Renpy\renpy\display\motion.py", line 563, in __init__
raise Exception("Unknown transform property: %r" % k)
Exception: Unknown transform property: 'scope'
Windows-8-6.2.9200
Ren'Py 6.99.5.602
Last Call 0.0
Completed: Toire No Hanako, Li'l Red [NaNoRenO 2013], The One in LOVE [NaNoRenO 2014], Running Blade [NaNoRenO 2016], The Other Question, To The Girl With Sunflowers
Donmai wrote:Iylae is right. Ren'Py and Python only accept "" or ''. As for the traceback, try updating your Ren'Py to the latest version.
Oh my gosh, it works now! *cries an ocean of joy* Thank you so much, and to Iylae as well! :'D You guys saved me! *flops* I kinda wonder what causes this though, hmm!