Page 1 of 1

Exception: Not a displayable: None solved!

Posted: Thu Mar 17, 2011 3:02 pm
by Hotaru Shizuka
What does this mean? I don't know the trace back but I can put up the events, event_dispatcher, and the main.

Code: Select all

I'm sorry, but an uncaught exception occurred.

Exception: Not a displayable: None

While running game code:
 - script call at line 448 of /Users/skylar/Downloads/School Dayz/game/main.rpy
 - script call at line 297 of /Users/skylar/Downloads/School Dayz/game/event_dispatcher.rpy
 - script at line 298 of /Users/skylar/Downloads/School Dayz/game/events.rpy
 - python at line 303 of /Users/skylar/Downloads/School Dayz/game/events.rpy.

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

  File "/Users/skylar/Desktop/renpy-6.12.0/renpy/bootstrap.py", line 279, in bootstrap
  File "/Users/skylar/Desktop/renpy-6.12.0/renpy/main.py", line 320, in main
  File "/Users/skylar/Desktop/renpy-6.12.0/renpy/main.py", line 93, in run
  File "/Users/skylar/Desktop/renpy-6.12.0/renpy/execution.py", line 259, in run
  File "/Users/skylar/Desktop/renpy-6.12.0/renpy/ast.py", line 588, in execute
  File "/Users/skylar/Desktop/renpy-6.12.0/renpy/python.py", line 957, in py_exec_bytecode
  File "/Users/skylar/Downloads/School Dayz/game/events.rpy", line 303, in <module>
  File "/Users/skylar/Desktop/renpy-6.12.0/renpy/ui.py", line 431, in __call__
  File "/Users/skylar/Desktop/renpy-6.12.0/renpy/ui.py", line 707, in _imagebutton
  File "/Users/skylar/Desktop/renpy-6.12.0/renpy/display/image.py", line 543, in __init__
  File "/Users/skylar/Desktop/renpy-6.12.0/renpy/easy.py", line 87, in displayable
Exception: Not a displayable: None

While running game code:
 - script call at line 448 of /Users/skylar/Downloads/School Dayz/game/main.rpy
 - script call at line 297 of /Users/skylar/Downloads/School Dayz/game/event_dispatcher.rpy
 - script at line 298 of /Users/skylar/Downloads/School Dayz/game/events.rpy
 - python at line 303 of /Users/skylar/Downloads/School Dayz/game/events.rpy.

Ren'Py Version: Ren'Py 6.12.0e

Re: Exception: Not a displayable: None

Posted: Thu Mar 17, 2011 4:41 pm
by Megaman Z
Quick glance shows you're missing a required parameter on line 303 of events.rpy. It's either the idle_image or hover_image that is not specified (both are required, only one image was specified).

Re: Exception: Not a displayable: None

Posted: Thu Mar 17, 2011 5:10 pm
by Hotaru Shizuka
I tried it and it didn't work.

Re: Exception: Not a displayable: None

Posted: Thu Mar 17, 2011 10:33 pm
by Hotaru Shizuka
I forgot one, I figured it out.