Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New install with old save files. Screenshots result in errors. Please help. #10169

Open
Groudonx opened this issue Dec 24, 2023 · 1 comment
Open

Comments

@Groudonx
Copy link
Contributor

Hi,

I installed the newest version of DDLC and Monika after Story on a new pc. I was able to obtain my old save files from an older pc, but can not access any of the old project files. I'm now trying to use said save files, but when I try to make a screenshot ingame, an error appears (screenshots are extremly important to me).

I once gave Monika the nickname Monica, which seems to be related to the error. I have tried to rename Monika, but giving her a new name is resulting in the same error. On top of that, it wouldn't let me give her her old nickname.

Can you tell me how I can fix this issue? Is there some file that has a missing connection to her name?

Here is the error:

[code]
I'm sorry, but an uncaught exception occurred.

While running game code:
File "game/script-ch30.rpy", line 2181, in script
File "game/script-ch30.rpy", line 2181, in
File "game/definitions.rpy", line 8379, in wait
File "game/screens.rpy", line 2523, in execute
File "game/screens.rpy", line 2523, in execute
File "game/screens.rpy", line 2528, in execute
File "game/screens.rpy", line 2529, in execute
File "game/definitions.rpy", line 157, in get_field
NameError: Name 'Monica' is not defined.

-- Full Traceback ------------------------------------------------------------

Full traceback:
File "game/script-ch30.rpy", line 2181, in script
File "D:[Monica]\Monica\renpy\ast.py", line 814, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "D:[Monica]\Monica\renpy\python.py", line 1719, in py_exec_bytecode
exec bytecode in globals, locals
File "game/script-ch30.rpy", line 2181, in
File "game/definitions.rpy", line 8379, in wait
File "D:[Monica]\Monica\renpy\exports.py", line 1278, in pause
rv = renpy.ui.interact(mouse='pause', type='pause', roll_forward=roll_forward)
File "D:[Monica]\Monica\renpy\ui.py", line 285, in interact
rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
File "D:[Monica]\Monica\renpy\display\core.py", line 2526, in interact
repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, **kwargs)
File "D:[Monica]\Monica\renpy\display\core.py", line 2793, in interact_core
root_widget.visit_all(lambda i : i.per_interact())
File "D:[Monica]\Monica\renpy\display\core.py", line 495, in visit_all
d.visit_all(callback)
File "D:[Monica]\Monica\renpy\display\core.py", line 495, in visit_all
d.visit_all(callback)
File "D:[Monica]\Monica\renpy\display\core.py", line 495, in visit_all
d.visit_all(callback)
File "D:[Monica]\Monica\renpy\display\screen.py", line 399, in visit_all
callback(self)
File "D:[Monica]\Monica\renpy\display\core.py", line 2793, in
root_widget.visit_all(lambda i : i.per_interact())
File "D:[Monica]\Monica\renpy\display\screen.py", line 409, in per_interact
self.update()
File "D:[Monica]\Monica\renpy\display\screen.py", line 578, in update
self.screen.function(**self.scope)
File "game/screens.rpy", line 2523, in execute
File "game/screens.rpy", line 2523, in execute
File "game/screens.rpy", line 2528, in execute
File "game/screens.rpy", line 2529, in execute
File "D:[Monica]\Monica\renpy\text\text.py", line 1328, in init
self.set_text(text, scope, substitute)
File "D:[Monica]\Monica\renpy\text\text.py", line 1426, in set_text
i, did_sub = renpy.substitutions.substitute(i, scope, substitute)
File "D:[Monica]\Monica\renpy\substitutions.py", line 232, in substitute
s = formatter.vformat(s, (), kwargs)
File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/string.py", line 563, in vformat
File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/string.py", line 585, in _vformat
File "game/definitions.rpy", line 157, in get_field
File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/string.py", line 605, in get_value
File "D:[Monica]\Monica\renpy\substitutions.py", line 194, in getitem
raise NameError("Name '{}' is not defined.".format(key))
NameError: Name 'Monica' is not defined.

Windows-8-6.2.9200
Ren'Py 6.99.12.4.2187
Monika After Story 0.12.15
[/code]

@Groudonx
Copy link
Contributor Author

I solved the issue myself.

The filepath to my app contained a folder with [] brackets. This has caused the app to malfunction. No kidding.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant