Exception: DynamicImage

In this forum we discuss the future of Ren'Py, both bug fixes and longer-term development. Pre-releases are announced and discussed here.
Post Reply
Message
Author
User avatar
wyverngem
Miko-Class Veteran
Posts: 615
Joined: Mon Oct 03, 2011 7:27 pm
Completed: Simple as Snow, Lady Luck's Due,
Projects: Aether Skies, Of the Waterfall
Tumblr: casting-dreams
itch: castingdreams
Location: USA
Contact:

Exception: DynamicImage

#1 Post by wyverngem »

Please move this if this is the wrong area or delete if it's been discussed. The search hasn't been working for me and I didn't see it discussed in the first three pages. I've encountered what I believe to be a bug. I notice when I create a new project it won't generate all the files on the intial start up. So when I test play it comes up with this error:

My folder looks like this:
no buttons.jpg
To correct it I just pre-generate the files again and the exception doesn't come up. I'm wondering if I should reinstall? since I look up an update and don't see one available just yet. I'm on version 6.99.14.1.3218

Code: Select all

I'm sorry, but an uncaught exception occurred.

While running game code:
Exception: DynamicImage [u'gui/button/navigation_[prefix_]background.png', u'gui/button/[prefix_]background.png']: could not find image. (u'gui/button/navigation_idle_background.png', u'gui/button/navigation_background.png', and 2 more.)

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

Full traceback:
  File "renpy/common/_layout/screen_main_menu.rpym", line 28, in script
    python hide:
  File "G:\Creative\VN\Renpy\renpy\ast.py", line 848, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "G:\Creative\VN\Renpy\renpy\python.py", line 1812, in py_exec_bytecode
    exec bytecode in globals, locals
  File "renpy/common/_layout/screen_main_menu.rpym", line 35, in <module>
    ui.interact()
  File "G:\Creative\VN\Renpy\renpy\ui.py", line 287, in interact
    rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
  File "G:\Creative\VN\Renpy\renpy\display\core.py", line 2624, in interact
    repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, **kwargs)
  File "G:\Creative\VN\Renpy\renpy\display\core.py", line 3098, in interact_core
    self.draw_screen(root_widget, fullscreen_video, (not fullscreen_video) or video_frame_drawn)
  File "G:\Creative\VN\Renpy\renpy\display\core.py", line 2038, in draw_screen
    renpy.config.screen_height,
  File "render.pyx", line 485, in renpy.display.render.render_screen
  File "render.pyx", line 233, in renpy.display.render.render
  File "G:\Creative\VN\Renpy\renpy\display\layout.py", line 711, in render
    surf = render(child, width, height, cst, cat)
  File "render.pyx", line 145, in renpy.display.render.render
  File "render.pyx", line 233, in renpy.display.render.render
  File "G:\Creative\VN\Renpy\renpy\display\layout.py", line 711, in render
    surf = render(child, width, height, cst, cat)
  File "render.pyx", line 145, in renpy.display.render.render
  File "render.pyx", line 233, in renpy.display.render.render
  File "G:\Creative\VN\Renpy\renpy\display\layout.py", line 711, in render
    surf = render(child, width, height, cst, cat)
  File "render.pyx", line 145, in renpy.display.render.render
  File "render.pyx", line 233, in renpy.display.render.render
  File "G:\Creative\VN\Renpy\renpy\display\screen.py", line 639, in render
    child = renpy.display.render.render(self.child, w, h, st, at)
  File "render.pyx", line 145, in renpy.display.render.render
  File "render.pyx", line 233, in renpy.display.render.render
  File "G:\Creative\VN\Renpy\renpy\display\layout.py", line 711, in render
    surf = render(child, width, height, cst, cat)
  File "render.pyx", line 145, in renpy.display.render.render
  File "render.pyx", line 233, in renpy.display.render.render
  File "G:\Creative\VN\Renpy\renpy\display\layout.py", line 913, in render
    surf = render(d, width - x, rh, cst, cat)
  File "render.pyx", line 145, in renpy.display.render.render
  File "render.pyx", line 233, in renpy.display.render.render
  File "G:\Creative\VN\Renpy\renpy\display\behavior.py", line 715, in render
    rv = super(Button, self).render(width, height, st, at)
  File "G:\Creative\VN\Renpy\renpy\display\layout.py", line 1083, in render
    xminimum = max(xminimum, size_groups[size_group].width(width, height, st, at))
  File "G:\Creative\VN\Renpy\renpy\display\layout.py", line 1025, in width
    rend = i.render(width, height, st, at)
  File "G:\Creative\VN\Renpy\renpy\display\behavior.py", line 715, in render
    rv = super(Button, self).render(width, height, st, at)
  File "G:\Creative\VN\Renpy\renpy\display\layout.py", line 1138, in render
    back = render(style.background, bw, bh, st, at)
  File "render.pyx", line 145, in renpy.display.render.render
  File "render.pyx", line 233, in renpy.display.render.render
  File "G:\Creative\VN\Renpy\renpy\display\imagelike.py", line 257, in render
    crend = render(image, width, height, st, at)
  File "render.pyx", line 145, in renpy.display.render.render
  File "render.pyx", line 233, in renpy.display.render.render
  File "G:\Creative\VN\Renpy\renpy\display\image.py", line 624, in render
    self.find_target()
  File "G:\Creative\VN\Renpy\renpy\display\image.py", line 551, in find_target
    raise Exception(error)
Exception: DynamicImage [u'gui/button/navigation_[prefix_]background.png', u'gui/button/[prefix_]background.png']: could not find image. (u'gui/button/navigation_idle_background.png', u'gui/button/navigation_background.png', and 2 more.)

Windows-7-6.1.7601-SP1
Ren'Py 6.99.14.1.3218
NewProject 1.0
Wed Feb 28 22:34:06 2018

User avatar
PyTom
Ren'Py Creator
Posts: 16088
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Exception: DynamicImage

#2 Post by PyTom »

A few people have been getting this, and you'll get this if something goes wrong creating a new project. Consider re-making your project, or changing the gui theme and regenerating images.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

Post Reply

Who is online

Users browsing this forum: No registered users