I typed my script, no problem.
And when I tried to test it, this popped up.
Code: Select all
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/script.rpy", line 373, in script
File "game\screens.rpy", line 26, in python
Exception: Color string must be 3, 4, 6, or 8 hex digits long.I was halfway through the script when this popped up... So what I'm assuming is that the beginning of the script is fine...
Any help would be appreciated.
Thank you!
Here is the full error traceback
Code: Select all
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/script.rpy", line 373, in script
File "game\screens.rpy", line 26, in python
Exception: Color string must be 3, 4, 6, or 8 hex digits long.
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "C:\Users\iTalan\Downloads\Ren'Py\renpy\execution.py", line 288, in run
node.execute()
File "C:\Users\iTalan\Downloads\Ren'Py\renpy\ast.py", line 453, in execute
renpy.exports.say(who, what, interact=self.interact)
File "C:\Users\iTalan\Downloads\Ren'Py\renpy\exports.py", line 757, in say
who(what, interact=interact)
File "C:\Users\iTalan\Downloads\Ren'Py\renpy\character.py", line 795, in __call__
self.do_display(who, what, cb_args=self.cb_args, **display_args)
File "C:\Users\iTalan\Downloads\Ren'Py\renpy\character.py", line 671, in do_display
**display_args)
File "C:\Users\iTalan\Downloads\Ren'Py\renpy\character.py", line 450, in display_say
what_text = show_function(who, what_string)
File "C:\Users\iTalan\Downloads\Ren'Py\renpy\character.py", line 655, in do_show
**self.show_args)
File "C:\Users\iTalan\Downloads\Ren'Py\renpy\character.py", line 263, in show_display_say
return renpy.display.screen.get_widget(screen, "what")
File "C:\Users\iTalan\Downloads\Ren'Py\renpy\display\screen.py", line 620, in get_widget
screen.update()
File "C:\Users\iTalan\Downloads\Ren'Py\renpy\display\screen.py", line 266, in update
self.screen.function(**self.scope)
File "C:\Users\iTalan\Downloads\Ren'Py\renpy\screenlang.py", line 1217, in __call__
renpy.python.py_exec_bytecode(self.code.bytecode, locals=scope)
File "C:\Users\iTalan\Downloads\Ren'Py\renpy\python.py", line 1297, in py_exec_bytecode
exec bytecode in globals, locals
File "game\screens.rpy", line 26, in <module>
text who id "who"
File "C:\Users\iTalan\Downloads\Ren'Py\renpy\ui.py", line 448, in __call__
w = self.function(*args, **keyword)
File "C:\Users\iTalan\Downloads\Ren'Py\renpy\text\text.py", line 1097, in __init__
super(Text, self).__init__(**properties)
File "C:\Users\iTalan\Downloads\Ren'Py\renpy\display\core.py", line 131, in __init__
self.style = renpy.style.Style(style, properties, heavy=True)
File "C:\Users\iTalan\Downloads\Ren'Py\renpy\style.py", line 837, in __init__
build_style(self)
File "C:\Users\iTalan\Downloads\Ren'Py\renpy\style.py", line 646, in build_style
my_updates.extend(expand_properties(p))
File "C:\Users\iTalan\Downloads\Ren'Py\renpy\style.py", line 531, in expand_properties
newval = func(val)
File "C:\Users\iTalan\Downloads\Ren'Py\renpy\easy.py", line 65, in color
raise Exception("Color string must be 3, 4, 6, or 8 hex digits long.")
Exception: Color string must be 3, 4, 6, or 8 hex digits long.
Windows-post2008Server-6.2.9200
Ren'Py 6.15.7.374
Shooting Stars 1.0
