View Issue Details

IDCategoryLast Update
0002018Bug Report2019-10-20 18:52
ReporterCasiope 
SeveritycrashReproducibilityalways
Status closedResolutionfixed
Summary0002018: Crash in the kitchen when Diane's here
DescriptionVersion 0.18.6. See attachments.

Steps to reproduce:
1. Complete Diane's route.
2. Make sure she is in the living room at night.
3. Progress in Debbie's route until she has some chit-chat with Diane.
4. Return in the bed, try to sleep.
5. You get a reminder to leave the main character's bedroom.
6. Go in the hallway where you meet Debbie.
7. Instead of the livingroom, enter the kitchen.

Issue:
• The game crashes.

Solution:
• The game shouldn't crash.
Platform/OSWindows
Version0.18.6

Activities

Casiope

Casiope

2019-06-27 20:22

updater  

Debbie's crash in kitchen.jpg (496,874 bytes)
Casiope

Casiope

2019-06-27 20:33

updater   ~0002851

The issue is in locations\home\entrance\kitchen\screens, line 47:

idle "objects/character_diane_nightgown_water_{}.png".format(M_diane.get_pregnant_str())
-->
idle "objects/character_diane_nightgown_water_[M_diane.pregnancy.to_string].png"

and in locations\home\entrance\kitchen\screens, line 48:

hover HoverImage("objects/character_diane_nightgown_water_{}.png".format(M_diane.get_pregnant_str()))
-->
hover HoverImage("objects/character_diane_nightgown_water_[M_diane.pregnancy.to_string].png"

This code has to be reviewed.

Crash.txt (4,277 bytes)
[code]
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/scripts/locations/home/entrance/kitchen/kitchen.rpy", line 94, in <module>
  File "game/scripts/core/systems/game.rpy", line 330, in main
  File "game/scripts/core/systems/locations.rpy", line 242, in call_screen
  File "game/scripts/locations/home/entrance/kitchen/screens.rpy", line 1, in execute
  File "game/scripts/locations/home/entrance/kitchen/screens.rpy", line 1, in execute
  File "game/scripts/locations/home/entrance/kitchen/screens.rpy", line 42, in execute
  File "game/scripts/locations/home/entrance/kitchen/screens.rpy", line 44, in execute
  File "game/scripts/locations/home/entrance/kitchen/screens.rpy", line 44, in keywords
AttributeError: 'Machine' object has no attribute 'get_pregnant_str'

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

Full traceback:
  File "scripts/locations/home/entrance/hallway/bedroom/bedroom.rpyc", line 76, in script call
  File "scripts/locations/home/entrance/hallway/hallway.rpyc", line 68, in script call
  File "scripts/locations/home/entrance/entrance.rpyc", line 176, in script call
  File "scripts/locations/home/entrance/kitchen/kitchen.rpyc", line 94, in script
  File "C:\Users\P V\OneDrive\Jeux\Autres\SummertimeSaga - 0-18-6\renpy\ast.py", line 862, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "C:\Users\P V\OneDrive\Jeux\Autres\SummertimeSaga - 0-18-6\renpy\python.py", line 1912, in py_exec_bytecode
    exec bytecode in globals, locals
  File "game/scripts/locations/home/entrance/kitchen/kitchen.rpy", line 94, in <module>
  File "game/scripts/core/systems/game.rpy", line 330, in main
  File "game/scripts/core/systems/locations.rpy", line 242, in call_screen
  File "C:\Users\P V\OneDrive\Jeux\Autres\SummertimeSaga - 0-18-6\renpy\exports.py", line 2710, in call_screen
    rv = renpy.ui.interact(mouse="screen", type="screen", roll_forward=roll_forward)
  File "C:\Users\P V\OneDrive\Jeux\Autres\SummertimeSaga - 0-18-6\renpy\ui.py", line 287, in interact
    rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
  File "C:\Users\P V\OneDrive\Jeux\Autres\SummertimeSaga - 0-18-6\renpy\display\core.py", line 2649, in interact
    repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, **kwargs)
  File "C:\Users\P V\OneDrive\Jeux\Autres\SummertimeSaga - 0-18-6\renpy\display\core.py", line 3033, in interact_core
    root_widget.visit_all(lambda i : i.per_interact())
  File "C:\Users\P V\OneDrive\Jeux\Autres\SummertimeSaga - 0-18-6\renpy\display\core.py", line 511, in visit_all
    d.visit_all(callback)
  File "C:\Users\P V\OneDrive\Jeux\Autres\SummertimeSaga - 0-18-6\renpy\display\core.py", line 511, in visit_all
    d.visit_all(callback)
  File "C:\Users\P V\OneDrive\Jeux\Autres\SummertimeSaga - 0-18-6\renpy\display\core.py", line 511, in visit_all
    d.visit_all(callback)
  File "C:\Users\P V\OneDrive\Jeux\Autres\SummertimeSaga - 0-18-6\renpy\display\screen.py", line 424, in visit_all
    callback(self)
  File "C:\Users\P V\OneDrive\Jeux\Autres\SummertimeSaga - 0-18-6\renpy\display\core.py", line 3033, in <lambda>
    root_widget.visit_all(lambda i : i.per_interact())
  File "C:\Users\P V\OneDrive\Jeux\Autres\SummertimeSaga - 0-18-6\renpy\display\screen.py", line 434, in per_interact
    self.update()
  File "C:\Users\P V\OneDrive\Jeux\Autres\SummertimeSaga - 0-18-6\renpy\display\screen.py", line 619, in update
    self.screen.function(**self.scope)
  File "game/scripts/locations/home/entrance/kitchen/screens.rpy", line 1, in execute
  File "game/scripts/locations/home/entrance/kitchen/screens.rpy", line 1, in execute
  File "game/scripts/locations/home/entrance/kitchen/screens.rpy", line 42, in execute
  File "game/scripts/locations/home/entrance/kitchen/screens.rpy", line 44, in execute
  File "game/scripts/locations/home/entrance/kitchen/screens.rpy", line 44, in keywords
  File "<screen language>", line 47, in <module>
AttributeError: 'Machine' object has no attribute 'get_pregnant_str'

Windows-8-6.2.9200
Ren'Py 7.0.0.196
SummertimeSaga 0.18.6
Thu Jun 27 22:23:24 2019
[/code]
Crash.txt (4,277 bytes)
Casiope

Casiope

2019-06-27 20:57

updater   ~0002852

And the save

1-1-LT1.save (735,518 bytes)
GreenCap

GreenCap

2019-10-20 18:52

updater   ~0003226

Still an issue in 0.19.1 however this has been fixed for next version.

Issue History

Date Modified Username Field Change
2019-06-27 20:22 Casiope New Issue
2019-06-27 20:22 Casiope File Added: Debbie's crash in kitchen.jpg
2019-06-27 20:33 Casiope File Added: Crash.txt
2019-06-27 20:33 Casiope Note Added: 0002851
2019-06-27 20:57 Casiope File Added: 1-1-LT1.save
2019-06-27 20:57 Casiope Note Added: 0002852
2019-10-20 18:52 GreenCap Status new => closed
2019-10-20 18:52 GreenCap Resolution open => fixed
2019-10-20 18:52 GreenCap Note Added: 0003226