[Bug]: PsychPy is unable to load images from a public online source. Specifically, it is unable to load an image from a public AWS s3 bucket, as in: https://neurotype-images.s3.us-east-2.amazonaws.com/affective-images/004504.jpg #6330
Labels
🌟 enhancement
Proposed improvement or feature request.
▶️ good first issue
👀 visual
Issue with presentation of visual stimuli or graphics.
PsychoPy Version
2023.2.3
What OS are your PsychoPy running on?
Windows 11
Bug Description
PsychPy is unable to load images from a public online source. Specifically, it is unable to load an image from a public AWS s3 bucket, as in: https://neurotype-images.s3.us-east-2.amazonaws.com/affective-images/004504.jpg.
As a test I tried the following code:
from psychopy import visual, core
# Create a window
win = visual.Window([800, 600])
When PsychoPy tries to load the 2nd image I get the following error: press any key
Attempting to load image from S3
0.9001 WARNING Monitor specification not found. Creating a temporary one...
5.1496 ERROR Couldn't find image https://neurotype-images.s3.us-east-2.amazonaws.com/affective-images/004504.jpg; check path? (tried: C:\Users\flavi\Desktop\GITLAB\dotprobtask\https:\neurotype-images.s3.us-east-2.amazonaws.com\affective-images\004504.jpg)
Failed to load image: Couldn't find image https://neurotype-images.s3.us-east-2.amazonaws.com/affective-images/004504.jpg; check path? (tried: C:\Users\flavi\Desktop\GITLAB\dotprobtask\https:\neurotype-images.s3.us-east-2.amazonaws.com\affective-images\004504.jpg)
Expected Behaviour
I expect PsychoPy to load an image from any public source with out any problem just like my browser does.
Steps to Reproduce
run the following code:
from psychopy import visual, core
# Create a window
win = visual.Window([800, 600])
Additional context
Thanks for your help
The text was updated successfully, but these errors were encountered: