- Feb 8, 2018
- 15
- 0
i am getting an error when i launch the game can someone help me with this? thx in advance
Code:
I'm sorry, but an uncaught exception occurred.
While loading <'Image' u'gui/main_menu.png'>:
Exception: Could not load image u'gui/main_menu.png': NotImplementedError('Could not import pygame_sdl2.image: dlopen(/Users/Yadava/Desktop/TheGuyinCharge.app/Contents/MacOS/lib/darwin-x86_64/Lib/pygame_sdl2/image.so, 2): Library not loaded: @executable_path/libSDL2_image-2.0.0.dylib\n Referenced from: /Users/Yadava/Desktop/TheGuyinCharge.app/Contents/MacOS/lib/darwin-x86_64/Lib/pygame_sdl2/image.so\n Reason: no suitable image found. Did find:\n\t/Users/Yadava/Desktop/TheGuyinCharge.app/Contents/MacOS/lib/darwin-x86_64/libSDL2_image-2.0.0.dylib: file too short\n\t/Users/Yadava/Desktop/TheGuyinCharge.app/Contents/MacOS/lib/darwin-x86_64/libSDL2_image-2.0.0.dylib: file too short',)
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "renpy/common/_layout/screen_main_menu.rpym", line 28, in script
python hide:
File "/Users/Yadava/Desktop/TheGuyinCharge.app/Contents/Resources/autorun/renpy/ast.py", line 914, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "/Users/Yadava/Desktop/TheGuyinCharge.app/Contents/Resources/autorun/renpy/python.py", line 2028, in py_exec_bytecode
exec bytecode in globals, locals
File "renpy/common/_layout/screen_main_menu.rpym", line 28, in <module>
python hide:
File "renpy/common/_layout/screen_main_menu.rpym", line 35, in _execute_python_hide
ui.interact()
File "/Users/Yadava/Desktop/TheGuyinCharge.app/Contents/Resources/autorun/renpy/ui.py", line 297, in interact
rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
File "/Users/Yadava/Desktop/TheGuyinCharge.app/Contents/Resources/autorun/renpy/display/core.py", line 2702, in interact
repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, **kwargs)
File "/Users/Yadava/Desktop/TheGuyinCharge.app/Contents/Resources/autorun/renpy/display/core.py", line 3194, in interact_core
self.draw_screen(root_widget, fullscreen_video, (not fullscreen_video) or video_frame_drawn)
File "/Users/Yadava/Desktop/TheGuyinCharge.app/Contents/Resources/autorun/renpy/display/core.py", line 2094, in draw_screen
renpy.config.screen_height,
File "renpy/display/render.pyx", line 490, in renpy.display.render.render_screen (gen/renpy.display.render.c:6805)
rv = render(root, width, height, st, st)
File "renpy/display/render.pyx", line 259, in renpy.display.render.render (gen/renpy.display.render.c:3520)
rv = d.render(widtho, heighto, st, at)
File "/Users/Yadava/Desktop/TheGuyinCharge.app/Contents/Resources/autorun/renpy/display/layout.py", line 722, in render
surf = render(child, width, height, cst, cat)
File "renpy/display/render.pyx", line 166, in renpy.display.render.render (gen/renpy.display.render.c:4075)
cpdef render(d, object widtho, object heighto, double st, double at):
File "renpy/display/render.pyx", line 259, in renpy.display.render.render (gen/renpy.display.render.c:3520)
rv = d.render(widtho, heighto, st, at)
File "/Users/Yadava/Desktop/TheGuyinCharge.app/Contents/Resources/autorun/renpy/display/layout.py", line 722, in render
surf = render(child, width, height, cst, cat)
File "renpy/display/render.pyx", line 166, in renpy.display.render.render (gen/renpy.display.render.c:4075)
cpdef render(d, object widtho, object heighto, double st, double at):
File "renpy/display/render.pyx", line 259, in renpy.display.render.render (gen/renpy.display.render.c:3520)
rv = d.render(widtho, heighto, st, at)
File "/Users/Yadava/Desktop/TheGuyinCharge.app/Contents/Resources/autorun/renpy/display/layout.py", line 722, in render
surf = render(child, width, height, cst, cat)
File "renpy/display/render.pyx", line 166, in renpy.display.render.render (gen/renpy.display.render.c:4075)
cpdef render(d, object widtho, object heighto, double st, double at):
File "renpy/display/render.pyx", line 259, in renpy.display.render.render (gen/renpy.display.render.c:3520)
rv = d.render(widtho, heighto, st, at)
File "/Users/Yadava/Desktop/TheGuyinCharge.app/Contents/Resources/autorun/renpy/display/screen.py", line 675, in render
child = renpy.display.render.render(self.child, w, h, st, at)
File "renpy/display/render.pyx", line 166, in renpy.display.render.render (gen/renpy.display.render.c:4075)
cpdef render(d, object widtho, object heighto, double st, double at):
File "renpy/display/render.pyx", line 259, in renpy.display.render.render (gen/renpy.display.render.c:3520)
rv = d.render(widtho, heighto, st, at)
File "/Users/Yadava/Desktop/TheGuyinCharge.app/Contents/Resources/autorun/renpy/display/layout.py", line 722, in render
surf = render(child, width, height, cst, cat)
File "renpy/display/render.pyx", line 166, in renpy.display.render.render (gen/renpy.display.render.c:4075)
cpdef render(d, object widtho, object heighto, double st, double at):
File "renpy/display/render.pyx", line 259, in renpy.display.render.render (gen/renpy.display.render.c:3520)
rv = d.render(widtho, heighto, st, at)
File "/Users/Yadava/Desktop/TheGuyinCharge.app/Contents/Resources/autorun/renpy/display/im.py", line 583, in render
return cache.get(self, render=True)
File "/Users/Yadava/Desktop/TheGuyinCharge.app/Contents/Resources/autorun/renpy/display/im.py", line 266, in get
surf = image.load()
File "/Users/Yadava/Desktop/TheGuyinCharge.app/Contents/Resources/autorun/renpy/display/im.py", line 628, in load
surf = renpy.display.pgrender.load_image(renpy.loader.load(self.filename), self.filename)
File "/Users/Yadava/Desktop/TheGuyinCharge.app/Contents/Resources/autorun/renpy/display/pgrender.py", line 162, in load_image
raise Exception("Could not load image {!r}: {!r}".format(filename, e))
Exception: Could not load image u'gui/main_menu.png': NotImplementedError('Could not import pygame_sdl2.image: dlopen(/Users/Yadava/Desktop/TheGuyinCharge.app/Contents/MacOS/lib/darwin-x86_64/Lib/pygame_sdl2/image.so, 2): Library not loaded: @executable_path/libSDL2_image-2.0.0.dylib\n Referenced from: /Users/Yadava/Desktop/TheGuyinCharge.app/Contents/MacOS/lib/darwin-x86_64/Lib/pygame_sdl2/image.so\n Reason: no suitable image found. Did find:\n\t/Users/Yadava/Desktop/TheGuyinCharge.app/Contents/MacOS/lib/darwin-x86_64/libSDL2_image-2.0.0.dylib: file too short\n\t/Users/Yadava/Desktop/TheGuyinCharge.app/Contents/MacOS/lib/darwin-x86_64/libSDL2_image-2.0.0.dylib: file too short',)
Darwin-19.6.0-x86_64-i386-64bit
Ren'Py 7.3.5.606
Thu Feb 4 18:35:15 2021