IOError: Can't find file (image)

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
User avatar
Destiny
Veteran
Posts: 468
Joined: Thu Jun 14, 2012 2:00 pm
Projects: Cards of Destiny, Sky Eye
Location: Germany
Contact:

IOError: Can't find file (image)

#1 Post by Destiny »

(Sorry, seems my long absence due to university turned me back into a noob...)
Or maybe a Ren'Py update changed something so my way of doing things doesn't work anymore?

Ren'Py is complaining that it can't find a image.
I just put some screens here so people can see that the image is there and - according to what I know - in exactly the spot it is supposed to be.

Way to the file:
C.png
Code in the game:
A.png
Ren'Py complaining:
B.png
Traceback full of Errors for reasons that I don't know:
traceback.txt
(4.35 KiB) Downloaded 83 times
Image
Cards of Destiny (WIP) / Sky Eye (WIP)

User avatar
PyTom
Ren'Py Creator
Posts: 16096
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: IOError: Can't find file (image)

#2 Post by PyTom »

Shouldn't that be Graphics/Backgrounds/006/006a.png ? It looks like you left out the directory name.
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

User avatar
Destiny
Veteran
Posts: 468
Joined: Thu Jun 14, 2012 2:00 pm
Projects: Cards of Destiny, Sky Eye
Location: Germany
Contact:

Re: IOError: Can't find file (image)

#3 Post by Destiny »

(See, said, I am dum)
It didn't work since I initially had a / before Graphics. In an attempt to somehow get the error away, it seems I deleted the last directory =_=
It works now, thanks for pointing that out (please delete this thread, no one has to see I am a total retard here :'D)
Image
Cards of Destiny (WIP) / Sky Eye (WIP)

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Majestic-12 [Bot]