Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

Getting this error when I try to buy stuff at the Grocery Store:

[code]

I'm sorry, but an uncaught exception occurred.

While loading <renpy.display.im.Image object ('free.png') at 0x00000000084f99a0>:

  File "game/script.rpy", line 4980, in script

    menu:

OSError: Couldn't find file 'free.png'.

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

Full traceback:

  File "game/script.rpy", line 4980, in script

    menu:

  File "D:\Games\APieceOfCake-0.19-pc\renpy\ast.py", line 1922, in execute

    choice = renpy.exports.menu(choices, self.set, args, kwargs, item_arguments)

  File "D:\Games\APieceOfCake-0.19-pc\renpy\exports.py", line 1106, in menu

    rv = renpy.store.menu(new_items)

  File "D:\Games\APieceOfCake-0.19-pc\renpy\exports.py", line 1345, in display_menu

    rv = renpy.ui.interact(mouse='menu', type=type, roll_forward=roll_forward)

  File "D:\Games\APieceOfCake-0.19-pc\renpy\ui.py", line 299, in interact

    rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)

  File "D:\Games\APieceOfCake-0.19-pc\renpy\display\core.py", line 3582, in interact

    repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, pause=pause, pause_start=pause_start, pause_modal=pause_modal, **kwargs) # type: ignore

  File "D:\Games\APieceOfCake-0.19-pc\renpy\display\core.py", line 4175, in interact_core

    self.draw_screen(root_widget, fullscreen_video, (not fullscreen_video) or video_frame_drawn)

  File "D:\Games\APieceOfCake-0.19-pc\renpy\display\core.py", line 2782, in draw_screen

    surftree = renpy.display.render.render_screen(

  File "render.pyx", line 492, in renpy.display.render.render_screen

  File "render.pyx", line 266, in renpy.display.render.render

  File "D:\Games\APieceOfCake-0.19-pc\renpy\display\layout.py", line 888, in render

    surf = render(child, width, height, cst, cat)

  File "render.pyx", line 170, in renpy.display.render.render

  File "render.pyx", line 266, in renpy.display.render.render

  File "D:\Games\APieceOfCake-0.19-pc\renpy\display\layout.py", line 888, in render

    surf = render(child, width, height, cst, cat)

  File "render.pyx", line 170, in renpy.display.render.render

  File "render.pyx", line 266, in renpy.display.render.render

  File "D:\Games\APieceOfCake-0.19-pc\renpy\display\layout.py", line 888, in render

    surf = render(child, width, height, cst, cat)

  File "render.pyx", line 170, in renpy.display.render.render

  File "render.pyx", line 266, in renpy.display.render.render

  File "D:\Games\APieceOfCake-0.19-pc\renpy\display\screen.py", line 731, in render

    child = renpy.display.render.render(self.child, w, h, st, at)

  File "render.pyx", line 170, in renpy.display.render.render

  File "render.pyx", line 266, in renpy.display.render.render

  File "D:\Games\APieceOfCake-0.19-pc\renpy\display\layout.py", line 888, in render

    surf = render(child, width, height, cst, cat)

  File "render.pyx", line 170, in renpy.display.render.render

  File "render.pyx", line 266, in renpy.display.render.render

  File "D:\Games\APieceOfCake-0.19-pc\renpy\display\layout.py", line 1338, in render

    surf = render(child,

  File "render.pyx", line 170, in renpy.display.render.render

  File "render.pyx", line 266, in renpy.display.render.render

  File "D:\Games\APieceOfCake-0.19-pc\renpy\text\text.py", line 2164, in render

    renders[i] = renpy.display.render.render(i, width, self.style.size, st, at)

  File "render.pyx", line 170, in renpy.display.render.render

  File "render.pyx", line 266, in renpy.display.render.render

  File "D:\Games\APieceOfCake-0.19-pc\renpy\display\im.py", line 676, in render

    return cache.get(self, render=True)

  File "D:\Games\APieceOfCake-0.19-pc\renpy\display\im.py", line 330, in get

    surf = image.load()

  File "D:\Games\APieceOfCake-0.19-pc\renpy\display\im.py", line 803, in load

    raise e

  File "D:\Games\APieceOfCake-0.19-pc\renpy\display\im.py", line 757, in load

    filelike = renpy.loader.load(self.filename, directory="images")

  File "D:\Games\APieceOfCake-0.19-pc\renpy\loader.py", line 833, in load

    raise IOError("Couldn't find file '%s'." % name)

OSError: Couldn't find file 'free.png'.

Windows-10-10.0.19045 AMD64

Ren'Py 8.1.3.23091805

C'est de la tarte !

 A piece of cake ! 0.19

Mon Dec  4 04:14:44 2023

[/code]

Thanks for reporting! I'll look throught it!