XaiJu
Lurking Hedgehog
Lurking Hedgehog

patreon


Inventory bug issue

Hi guys, I got several reports about inventory crash or mind battle crash.

I examined this problem and I think it occurs only right after you loaded your old save. If you do some time-taking actions (like sleeping in your room for 1 hour) first, this problem should be solved automatically.

So if you had inventory crash or mind battle crash, please, try doing this. Go to main character's room, sleep 1 hour and try open inventory or start mind battle again.

Let me know if this helped or not by leaving a comment under this post.

Comments

Hi, I got a few "uncaught exception" screens with vers. 0.55 But with rollback or ignore, the game continued without problems. Therefor I did not watch out if this comes on special occasions, coz everything was fine after that. Do you need - in spite of this - still such an error report?

Rolo

[code] I'm sorry, but an uncaught exception occurred. While running game code: File "renpy/common/000statements.rpy", line 609, in execute_call_screen store._return = renpy.call_screen(name, *args, **kwargs) File "game/_screens/battle/battle_interface.rpy", line 1, in execute File "game/_screens/battle/battle_interface.rpy", line 1, in execute File "game/_screens/battle/battle_interface.rpy", line 2, in execute File "game/_screens/battle/battle_interface.rpy", line 15, in execute File "game/_screens/battle/battle_interface.rpy", line 15, in NameError: name 'chr_door' is not defined -- Full Traceback ------------------------------------------------------------ Full traceback: File "_stock/town/town_area/raid_house.rpyc", line 45, in script call File "__battle/battle.rpyc", line 166, in script File "/Users/rickbmiller/Desktop/Lust_and_Power.app/Contents/Resources/autorun/renpy/ast.py", line 2232, in execute self.call("execute") File "/Users/rickbmiller/Desktop/Lust_and_Power.app/Contents/Resources/autorun/renpy/ast.py", line 2220, in call return renpy.statements.call(method, parsed, *args, **kwargs) File "/Users/rickbmiller/Desktop/Lust_and_Power.app/Contents/Resources/autorun/renpy/statements.py", line 281, in call return method(parsed, *args, **kwargs) File "renpy/common/000statements.rpy", line 609, in execute_call_screen store._return = renpy.call_screen(name, *args, **kwargs) File "/Users/rickbmiller/Desktop/Lust_and_Power.app/Contents/Resources/autorun/renpy/exports.py", line 3174, in call_screen rv = renpy.ui.interact(mouse="screen", type="screen", roll_forward=roll_forward) File "/Users/rickbmiller/Desktop/Lust_and_Power.app/Contents/Resources/autorun/renpy/ui.py", line 299, in interact rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs) File "/Users/rickbmiller/Desktop/Lust_and_Power.app/Contents/Resources/autorun/renpy/display/core.py", line 3377, in interact repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, pause=pause, pause_start=pause_start, **kwargs) # type: ignore File "/Users/rickbmiller/Desktop/Lust_and_Power.app/Contents/Resources/autorun/renpy/display/core.py", line 3804, in interact_core root_widget.visit_all(lambda i : i.per_interact()) File "/Users/rickbmiller/Desktop/Lust_and_Power.app/Contents/Resources/autorun/renpy/display/core.py", line 582, in visit_all d.visit_all(callback, seen) File "/Users/rickbmiller/Desktop/Lust_and_Power.app/Contents/Resources/autorun/renpy/display/core.py", line 582, in visit_all d.visit_all(callback, seen) File "/Users/rickbmiller/Desktop/Lust_and_Power.app/Contents/Resources/autorun/renpy/display/core.py", line 582, in visit_all d.visit_all(callback, seen) File "/Users/rickbmiller/Desktop/Lust_and_Power.app/Contents/Resources/autorun/renpy/display/screen.py", line 451, in visit_all callback(self) File "/Users/rickbmiller/Desktop/Lust_and_Power.app/Contents/Resources/autorun/renpy/display/core.py", line 3804, in root_widget.visit_all(lambda i : i.per_interact()) File "/Users/rickbmiller/Desktop/Lust_and_Power.app/Contents/Resources/autorun/renpy/display/screen.py", line 462, in per_interact self.update() File "/Users/rickbmiller/Desktop/Lust_and_Power.app/Contents/Resources/autorun/renpy/display/screen.py", line 653, in update self.screen.function(**self.scope) File "game/_screens/battle/battle_interface.rpy", line 1, in execute File "game/_screens/battle/battle_interface.rpy", line 1, in execute File "game/_screens/battle/battle_interface.rpy", line 2, in execute File "game/_screens/battle/battle_interface.rpy", line 15, in execute File "game/_screens/battle/battle_interface.rpy", line 15, in NameError: name 'chr_door' is not defined macOS-10.16-x86_64-i386-64bit x86_64 Ren'Py 8.0.2.22081402 Lust and Power 0.45 Mon Aug 29 19:20:34 2022 [/code]

txwyld

Me too

txwyld

As I understand, it won't be fixed, right? Looks like there some libraries are missing in the project's assembly.. just suggesting by error message..

Sergej

Still having the same issue. Even after a "clean install" and new start.

James Hammond

**Nope, it didn't help...** [code] I'm sorry, but an uncaught exception occurred. While running game code: File "renpy/common/000statements.rpy", line 560, in execute_call_screen store._return = renpy.call_screen(name, *args, **kwargs) File "game/_screens/main_interface/inventory.rpy", line 28, in execute File "game/_screens/main_interface/inventory.rpy", line 28, in execute File "game/_screens/main_interface/inventory.rpy", line 200, in execute File "game/_screens/main_interface/inventory.rpy", line 205, in execute File "game/_screens/main_interface/inventory.rpy", line 205, in NameError: name 'd_note_sharp' is not defined Windows-10-10.0.19041 Ren'Py 7.4.2.1292 Lust and Power 0.44 Fri Aug 19 15:52:49 2022 [/code]

[code] I'm sorry, but an uncaught exception occurred. While running game code: KeyError: u'Cherry' -- Full Traceback ------------------------------------------------------------ Full traceback: File "_stock/home/_hallway/_hallway.rpyc", line 17, in script call File "_stock/town/town_area/raid_house.rpyc", line 45, in script call File "_stock/town/cherry_hut/events/investment.rpyc", line 128, in script File "renpy/ast.py", line 715, in execute renpy.exports.say(who, what, *args, **kwargs) File "renpy/exports.py", line 1384, in say who(what, *args, **kwargs) File "renpy/character.py", line 1164, in __call__ what = what_pattern.replace("[what]", sub(what, translate=True)) File "renpy/character.py", line 1153, in sub return renpy.substitutions.substitute(s, scope=scope, force=force, translate=translate)[0] File "renpy/substitutions.py", line 270, in substitute s = formatter.vformat(s, (), kwargs) File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python2.7/string.py", line 563, in vformat File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python2.7/string.py", line 585, in _vformat File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python2.7/string.py", line 646, in get_field File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python2.7/string.py", line 605, in get_value KeyError: u'Cherry' Windows-10-10.0.19041 Ren'Py 7.4.2.1292 Lust and Power 0.44 Fri Aug 19 09:59:15 2022 [/code]

Terrence Leow Boon Heng

[code] I'm sorry, but an uncaught exception occurred. While running game code: File "renpy/common/000statements.rpy", line 560, in execute_call_screen store._return = renpy.call_screen(name, *args, **kwargs) File "game/_screens/main_interface/inventory.rpy", line 28, in execute File "game/_screens/main_interface/inventory.rpy", line 28, in execute File "game/_screens/main_interface/inventory.rpy", line 200, in execute File "game/_screens/main_interface/inventory.rpy", line 205, in execute File "game/_screens/main_interface/inventory.rpy", line 205, in NameError: name 'd_note_sharp' is not defined -- Full Traceback ------------------------------------------------------------ Full traceback: File "_screens/main_interface/inventory.rpyc", line 18, in script File "renpy/ast.py", line 1969, in execute self.call("execute") File "renpy/ast.py", line 1957, in call return renpy.statements.call(method, parsed, *args, **kwargs) File "renpy/statements.py", line 278, in call return method(parsed, *args, **kwargs) File "renpy/common/000statements.rpy", line 560, in execute_call_screen store._return = renpy.call_screen(name, *args, **kwargs) File "renpy/exports.py", line 2974, in call_screen rv = renpy.ui.interact(mouse="screen", type="screen", roll_forward=roll_forward) File "renpy/ui.py", line 298, in interact rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs) File "renpy/display/core.py", line 3007, in interact repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, pause=pause, pause_start=pause_start, **kwargs) File "renpy/display/core.py", line 3418, in interact_core root_widget.visit_all(lambda i : i.per_interact()) File "renpy/display/core.py", line 566, in visit_all d.visit_all(callback, seen) File "renpy/display/core.py", line 566, in visit_all d.visit_all(callback, seen) File "renpy/display/core.py", line 566, in visit_all d.visit_all(callback, seen) File "renpy/display/screen.py", line 432, in visit_all callback(self) File "renpy/display/core.py", line 3418, in root_widget.visit_all(lambda i : i.per_interact()) File "renpy/display/screen.py", line 443, in per_interact self.update() File "renpy/display/screen.py", line 631, in update self.screen.function(**self.scope) File "game/_screens/main_interface/inventory.rpy", line 28, in execute File "game/_screens/main_interface/inventory.rpy", line 28, in execute File "game/_screens/main_interface/inventory.rpy", line 200, in execute File "game/_screens/main_interface/inventory.rpy", line 205, in execute File "game/_screens/main_interface/inventory.rpy", line 205, in NameError: name 'd_note_sharp' is not defined Windows-10-10.0.19041 Ren'Py 7.4.2.1292 Lust and Power 0.44 Thu Aug 18 21:48:13 2022 [/code]

I started a new game with version 0.44, and I got the inventory crash the first time I clicked on it. I have slept for one hour multiple times, and this does not fix the problem. I don't have any problems with mind battle.

[code] I'm sorry, but an uncaught exception occurred. While running game code: File "game/_stock/town/forest/cave/sharp.rpy", line 70, in NameError: name 'd_note_sharp' is not defined -- Full Traceback ------------------------------------------------------------ Full traceback: File "_stock/home/_hallway/_hallway.rpyc", line 17, in script call File "_stock/town/forest/cave/sharp.rpyc", line 70, in script File "renpy/ast.py", line 922, in execute renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store) File "renpy/python.py", line 2218, in py_exec_bytecode exec(bytecode, globals, locals) File "game/_stock/town/forest/cave/sharp.rpy", line 70, in NameError: name 'd_note_sharp' is not defined Windows-10-10.0.19041 Ren'Py 7.4.2.1292 Lust and Power 0.44 Thu Aug 18 16:33:58 2022 [/code]

Terrence Leow Boon Heng

[code] I'm sorry, but an uncaught exception occurred. While running game code: File "game/_stock/town/police/fiddle/quests.rpy", line 378, in NameError: name 'd_note_sharp' is not defined Talking to fiddle Quest and about his friend -- Full Traceback ------------------------------------------------------------ Full traceback: File "_stock/home/_hallway/_hallway.rpyc", line 17, in script call File "_stock/town/police/fiddle/quests.rpyc", line 378, in script File "renpy/ast.py", line 922, in execute renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store) File "renpy/python.py", line 2218, in py_exec_bytecode exec(bytecode, globals, locals) File "game/_stock/town/police/fiddle/quests.rpy", line 378, in NameError: name 'd_note_sharp' is not defined Windows-10-10.0.19041 Ren'Py 7.4.2.1292 Lust and Power 0.44 Thu Aug 18 16:28:34 2022 [/code]

Terrence Leow Boon Heng

[code] I'm sorry, but an uncaught exception occurred. While running game code: File "renpy/common/000statements.rpy", line 560, in execute_call_screen store._return = renpy.call_screen(name, *args, **kwargs) File "game/_screens/main_interface/inventory.rpy", line 28, in execute File "game/_screens/main_interface/inventory.rpy", line 28, in execute File "game/_screens/main_interface/inventory.rpy", line 200, in execute File "game/_screens/main_interface/inventory.rpy", line 205, in execute File "game/_screens/main_interface/inventory.rpy", line 205, in NameError: name 'd_note_sharp' is not defined -- Full Traceback ------------------------------------------------------------ Full traceback: File "_screens/main_interface/inventory.rpyc", line 18, in script File "renpy/ast.py", line 1969, in execute self.call("execute") File "renpy/ast.py", line 1957, in call return renpy.statements.call(method, parsed, *args, **kwargs) File "renpy/statements.py", line 278, in call return method(parsed, *args, **kwargs) File "renpy/common/000statements.rpy", line 560, in execute_call_screen store._return = renpy.call_screen(name, *args, **kwargs) File "renpy/exports.py", line 2974, in call_screen rv = renpy.ui.interact(mouse="screen", type="screen", roll_forward=roll_forward) File "renpy/ui.py", line 298, in interact rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs) File "renpy/display/core.py", line 3007, in interact repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, pause=pause, pause_start=pause_start, **kwargs) File "renpy/display/core.py", line 3418, in interact_core root_widget.visit_all(lambda i : i.per_interact()) File "renpy/display/core.py", line 566, in visit_all d.visit_all(callback, seen) File "renpy/display/core.py", line 566, in visit_all d.visit_all(callback, seen) File "renpy/display/core.py", line 566, in visit_all d.visit_all(callback, seen) File "renpy/display/screen.py", line 432, in visit_all callback(self) File "renpy/display/core.py", line 3418, in root_widget.visit_all(lambda i : i.per_interact()) File "renpy/display/screen.py", line 443, in per_interact self.update() File "renpy/display/screen.py", line 631, in update self.screen.function(**self.scope) File "game/_screens/main_interface/inventory.rpy", line 28, in execute File "game/_screens/main_interface/inventory.rpy", line 28, in execute File "game/_screens/main_interface/inventory.rpy", line 200, in execute File "game/_screens/main_interface/inventory.rpy", line 205, in execute File "game/_screens/main_interface/inventory.rpy", line 205, in NameError: name 'd_note_sharp' is not defined Windows-10-10.0.22000 Ren'Py 7.4.2.1292 Lust and Power 0.44 Wed Aug 17 17:38:57 2022 [/code]

James Hammond

I see. Unfortunately I can't see how exactly it happens in your case, but there's a solution. You could help by sending me your save file that can be found in the following directory on your PC: C:/users/username/AppData/Roaming/RenPy/Lust_andPower/... Send your latest save file to this mail address: lurking.hedgehog@gmail.com and I'll try to find out what goes wrong.

I tried the mind battle and got this error also: I'm sorry, but an uncaught exception occurred. While running game code: File "game/__battle_mind/battle.rpy", line 87, in File "game/_screens/battle_mind/bars.rpy", line 1, in execute File "game/_screens/battle_mind/bars.rpy", line 1, in execute File "game/_screens/battle_mind/bars.rpy", line 3, in execute File "game/_screens/battle_mind/bars.rpy", line 3, in NameError: name 'mind_1' is not defined -- Full Traceback ------------------------------------------------------------ Full traceback: File "_stock/home/_hallway/_hallway.rpyc", line 17, in script call File "_stock/town/town_area/raid_house.rpyc", line 45, in script call File "_stock/town/town_area/raid_house.rpyc", line 45, in script call File "_stock/town/town_area/raid_house.rpyc", line 45, in script call File "_stock/town/town_area/raid_house.rpyc", line 45, in script call File "_stock/town/town_area/raid_house.rpyc", line 45, in script call File "_stock/town/town_area/raid_house.rpyc", line 45, in script call File "_stock/home/lisa_room/event/hypnotize.rpyc", line 9, in script call File "__battle_mind/battle.rpyc", line 87, in script File "renpy/ast.py", line 922, in execute renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store) File "renpy/python.py", line 2218, in py_exec_bytecode exec(bytecode, globals, locals) File "game/__battle_mind/battle.rpy", line 87, in File "renpy/exports.py", line 1516, in pause rv = renpy.ui.interact(mouse='pause', type='pause', roll_forward=roll_forward, pause=delay) File "renpy/ui.py", line 298, in interact rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs) File "renpy/display/core.py", line 3007, in interact repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, pause=pause, pause_start=pause_start, **kwargs) File "renpy/display/core.py", line 3418, in interact_core root_widget.visit_all(lambda i : i.per_interact()) File "renpy/display/core.py", line 566, in visit_all d.visit_all(callback, seen) File "renpy/display/core.py", line 566, in visit_all d.visit_all(callback, seen) File "renpy/display/core.py", line 566, in visit_all d.visit_all(callback, seen) File "renpy/display/screen.py", line 432, in visit_all callback(self) File "renpy/display/core.py", line 3418, in root_widget.visit_all(lambda i : i.per_interact()) File "renpy/display/screen.py", line 443, in per_interact self.update() File "renpy/display/screen.py", line 631, in update self.screen.function(**self.scope) File "game/_screens/battle_mind/bars.rpy", line 1, in execute File "game/_screens/battle_mind/bars.rpy", line 1, in execute File "game/_screens/battle_mind/bars.rpy", line 3, in execute File "game/_screens/battle_mind/bars.rpy", line 3, in NameError: name 'mind_1' is not defined Windows-10-10.0.19041 Ren'Py 7.4.2.1292 Lust and Power 0.44

AnonymousNerd

I'm sorry, but an uncaught exception occurred. While running game code: File "renpy/common/000statements.rpy", line 560, in execute_call_screen store._return = renpy.call_screen(name, *args, **kwargs) File "game/_screens/main_interface/inventory.rpy", line 28, in execute File "game/_screens/main_interface/inventory.rpy", line 28, in execute File "game/_screens/main_interface/inventory.rpy", line 200, in execute File "game/_screens/main_interface/inventory.rpy", line 205, in execute File "game/_screens/main_interface/inventory.rpy", line 205, in NameError: name 'd_note_sharp' is not defined -- Full Traceback ------------------------------------------------------------ Full traceback: File "_screens/main_interface/inventory.rpyc", line 18, in script File "renpy/ast.py", line 1969, in execute self.call("execute") File "renpy/ast.py", line 1957, in call return renpy.statements.call(method, parsed, *args, **kwargs) File "renpy/statements.py", line 278, in call return method(parsed, *args, **kwargs) File "renpy/common/000statements.rpy", line 560, in execute_call_screen store._return = renpy.call_screen(name, *args, **kwargs) File "renpy/exports.py", line 2974, in call_screen rv = renpy.ui.interact(mouse="screen", type="screen", roll_forward=roll_forward) File "renpy/ui.py", line 298, in interact rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs) File "renpy/display/core.py", line 3007, in interact repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, pause=pause, pause_start=pause_start, **kwargs) File "renpy/display/core.py", line 3418, in interact_core root_widget.visit_all(lambda i : i.per_interact()) File "renpy/display/core.py", line 566, in visit_all d.visit_all(callback, seen) File "renpy/display/core.py", line 566, in visit_all d.visit_all(callback, seen) File "renpy/display/core.py", line 566, in visit_all d.visit_all(callback, seen) File "renpy/display/screen.py", line 432, in visit_all callback(self) File "renpy/display/core.py", line 3418, in root_widget.visit_all(lambda i : i.per_interact()) File "renpy/display/screen.py", line 443, in per_interact self.update() File "renpy/display/screen.py", line 631, in update self.screen.function(**self.scope) File "game/_screens/main_interface/inventory.rpy", line 28, in execute File "game/_screens/main_interface/inventory.rpy", line 28, in execute File "game/_screens/main_interface/inventory.rpy", line 200, in execute File "game/_screens/main_interface/inventory.rpy", line 205, in execute File "game/_screens/main_interface/inventory.rpy", line 205, in NameError: name 'd_note_sharp' is not defined Windows-10-10.0.19041 Ren'Py 7.4.2.1292 Lust and Power 0.44

AnonymousNerd

I had the inventory crash, and no I hadn't reported it before I just redownloaded the game. Here is the crash report:

AnonymousNerd

I don't remember you reporting anything before. What was the problem? Please send me a copy of the crash report from the game.

Unfortunately this did not fix the problem for me

AnonymousNerd


More Creators