Unable to use the uploaded image (Python)

I’m trying to create a simple Python program that opens an image with PIL but I’m getting this error:

The error message says: skipping /tmp/tmpacyaxpg1.PNG as it is not inside /home/runner/Test
According to an AI-chat I asked, this error message suggests that the image file is not in the same directory as my Python program. But it is! So what might the problem be?

Please enlighten this young disciple :pray:

Hey @voiletfire444!

Please send me the link to your Repl so I can take a look!

Hello @ShaneAtReplit ! I did investigation, and the Replit URL is https://replit.com/@voiletfire444/Test?v=1 . It has been changed, and no longer features the picture.

1 Like

Thanks! I was able to reproduce the issue and have sent it to the team. I will follow up once I have an update.

1 Like

Hey!

We have recently released a fix for this, so please let us know if you’re still having issues!

Yes, it’s working now! Thanks for your hard work.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.