[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
OS Ubuntu 14.04, Arch Linux, Gentoo, Windows 7/8
https://github.com/metulburr
steam
User avatar
metulburr
 
Posts: 1387
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
'\ '
Linux: won't find windows here.
Linux: the choice of a GNU generation.
https://github.com/DrakeMagi
DrakeMagi
 
Posts: 96
Joined: Sun May 12, 2013 8:36 pm


Return to Game Development

Who is online

Users browsing this forum: No registered users and 2 guests

cron