Hey! I have an issue with the gallery!
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 "/home/noel/Desktop/renpy-7.5.3-sdk/renpy/bootstrap.py", line 277, in bootstrap
renpy.main.main()
File "/home/noel/Desktop/renpy-7.5.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 "/home/noel/Desktop/renpy-7.5.3-sdk/renpy/ast.py", line 1131, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "/home/noel/Desktop/renpy-7.5.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 "/home/noel/Desktop/renpy-7.5.3-sdk/renpy/display/im.py", line 877, in __init__
im = image(im)
File "/home/noel/Desktop/renpy-7.5.3-sdk/renpy/display/im.py", line 1877, in image
return image(arg.target, loose=loose, **properties)
File "/home/noel/Desktop/renpy-7.5.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.
Linux-5.15.0-48-generic-x86_64-with-glibc2.31 x86_64
Ren'Py 8.0.3.22090809
Little Red Riding Hood 1.1.0
Fri Sep 23 00:17:33 2022
I have no clue how to solve it.
This is how I wrote my images:
#Images ##Background image bg GrandmaHouse = "Background/Entrance.jpeg" image bg house = "Background/House.jpeg" image bg Woods = "Background/Wood.jpeg" image bg DeepWood = "Background/Deep_Wood.jpeg" image bg GrandmaEntrance = "Background/Cabin.jpeg" image bg GrandmaBedroom = "Background/Bedroom.jpeg"
Thank you!