While exploring the route with the wife and Greg I came across an error message. While I meet the requirements to advance the story it keeps repeating the same conversation over and over for days. Sometimes it displays the following message:
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/new_main_wife_phone_0_2.rpy", line 9620, in script
nvlgreg "Thank you, [wife_name]"
KeyError: 'wife_name'
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "game/new_main_wife_phone_0_2.rpy", line 9620, in script
nvlgreg "Thank you, [wife_name]"
File "C:\Users\Owner\Desktop\AWifesPhone-0.2-pc\renpy\ast.py", line 921, in execute
renpy.exports.say(who, what, *args, **kwargs)
File "C:\Users\Owner\Desktop\AWifesPhone-0.2-pc\renpy\exports.py", line 1373, in say
who(what, *args, **kwargs)
File "C:\Users\Owner\Desktop\AWifesPhone-0.2-pc\renpy\character.py", line 1253, in __call__
what = self.prefix_suffix("what", self.what_prefix, what, self.what_suffix)
File "C:\Users\Owner\Desktop\AWifesPhone-0.2-pc\renpy\character.py", line 1172, in prefix_suffix
return (sub(prefix) + sub(body) + sub(suffix))
File "C:\Users\Owner\Desktop\AWifesPhone-0.2-pc\renpy\character.py", line 1152, in sub
return renpy.substitutions.substitute(s, scope=scope, force=force, translate=translate)[0]
File "C:\Users\Owner\Desktop\AWifesPhone-0.2-pc\renpy\substitutions.py", line 278, in substitute
s = formatter.vformat(s, (), kwargs) # type: ignore
File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python3.9/string.py", line 165, in vformat
File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python3.9/string.py", line 205, in _vformat
File "C:\Users\Owner\Desktop\AWifesPhone-0.2-pc\renpy\substitutions.py", line 168, in get_field
obj, arg_used = super(Formatter, self).get_field(field_name, args, kwargs)
File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python3.9/string.py", line 270, in get_field
File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python3.9/string.py", line 227, in get_value
KeyError: 'wife_name'
Windows-10-10.0.19045 AMD64
Ren'Py 8.0.3.22090809
A Wife's Phone 0.2
Sun Jun 18 12:40:26 2023