Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

I am not able to get the gallery to work at all. I put the image name in the Gallery file, but then I get met with ths traceback error. I am not sure what I am doing wrong exactly.


I'm sorry, but an uncaught exception occurred.

While running game code:

  File "game/gallery.rpy", line 55, in script

    init +1 python:

  File "game/gallery.rpy", line 55, in script

    init +1 python:

  File "game/gallery.rpy", line 58, in <module>

    renpy.image (gal_item + " butt", im.Scale(ImageReference(gal_item), thumbnail_x, thumbnail_y))

Exception: Expected an image, but got a general displayable.

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

Full traceback:

  File "C:\Users\debbi\Downloads\renpy-8.0.3-sdk\renpy\bootstrap.py", line 277, in bootstrap

    renpy.main.main()

  File "C:\Users\debbi\Downloads\renpy-8.0.3-sdk\renpy\main.py", line 558, in main

    renpy.game.context().run(node)

  File "game/gallery.rpy", line 55, in script

    init +1 python:

  File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python3.9/site-packages/future/utils/__init__.py", line 441, in raise_

  File "game/gallery.rpy", line 55, in script

    init +1 python:

  File "C:\Users\debbi\Downloads\renpy-8.0.3-sdk\renpy\ast.py", line 1131, in execute

    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)

  File "C:\Users\debbi\Downloads\renpy-8.0.3-sdk\renpy\python.py", line 1061, in py_exec_bytecode

    exec(bytecode, globals, locals)

  File "game/gallery.rpy", line 58, in <module>

    renpy.image (gal_item + " butt", im.Scale(ImageReference(gal_item), thumbnail_x, thumbnail_y))

  File "C:\Users\debbi\Downloads\renpy-8.0.3-sdk\renpy\display\im.py", line 877, in __init__

    im = image(im)

  File "C:\Users\debbi\Downloads\renpy-8.0.3-sdk\renpy\display\im.py", line 1877, in image

    return image(arg.target, loose=loose, **properties)

  File "C:\Users\debbi\Downloads\renpy-8.0.3-sdk\renpy\display\im.py", line 1892, in image

    raise Exception("Expected an image, but got a general displayable.")

Exception: Expected an image, but got a general displayable.

Windows-10-10.0.22000 AMD64

Ren'Py 8.0.3.22090809

Project P 2.0 1.0

Mon Jan 16 16:39:41 2023