[pygame] error Couldn't open ...../src/res/backgrounds/1.gif

[pygame] error Couldn't open ...../src/res/backgrounds/1.gif

Postby pydog » Fri Jul 12, 2013 11:45 pm

pygame.error: Couldn't open ...../src/res/backgrounds/1.gif
i am trying to debug a pacman game code for my kid. not sure what to do to fix this error..... thanks for any help.. i am running python2.7 on eclipse with pydev-pygame...
Last edited by Yoriz on Sat Jul 13, 2013 12:17 am, edited 1 time in total.
Reason: altered title
pydog
 
Posts: 1
Joined: Fri Jul 12, 2013 11:43 pm

Re: [pygame] error Couldn't open ...../src/res/backgrounds/1

Postby metulburr » Sat Jul 13, 2013 1:01 am

pygame.error: Couldn't open ...../src/res/backgrounds/1.gif
i am trying to debug a pacman game code for my kid. not sure what to do to fix this error..... thanks for any help.. i am running python2.7 on eclipse with pydev-pygame...

What is the full traceback error?
Verify the path to the image exists
New Users, Read This
version Python 3.3.2 and 2.7.5, tkinter 8.5, pyqt 4.8.4, pygame 1.9.2 pre
OS Ubuntu 14.04, Arch Linux, Gentoo, Windows 7/8
https://github.com/metulburr
User avatar
metulburr
 
Posts: 1130
Joined: Thu Feb 07, 2013 4:47 pm
Location: Elmira, NY

Re: [pygame] error Couldn't open ...../src/res/backgrounds/1

Postby DrakeMagi » Sat Jul 13, 2013 3:05 am

if it an animated gif. It will not work. only non animated.
if any spaces use.
Code: Select all
'\ '
DrakeMagi
 
Posts: 72
Joined: Sun May 12, 2013 8:36 pm


Return to Game Development

Who is online

Users browsing this forum: No registered users and 1 guest