Open roncam82 opened 5 years ago
That means that instacron can't find any photos in the photos folder.
But I have photos in the folder
Get Outlook for Androidhttps://aka.ms/ghei36
From: Bas Nijholt notifications@github.com Sent: Sunday, January 20, 2019 3:49:46 PM To: basnijholt/instacron Cc: roncam82; Author Subject: Re: [basnijholt/instacron] IndexError: Cannot choose from an empty sequence (#10)
That means that instacron can't find any photos in the photos folder.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/basnijholt/instacron/issues/10#issuecomment-455872652, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AsLNQ0vDcqxt_bYTXbVFJ3Uvylj93EPEks5vFIIKgaJpZM4aJqy7.
I'm not near my computer but looking at the code, all the photos must be .jog with the lower case .jpg so NOT .JPG.
yes they are .jpg
they need to be in a particular filename ?
Are they in a folder called photos?
yes: C:\Users\Administrator\Documents\GitHub\instacron\photos
Could you post the entire error message?
if i have .jpg photo in the folder the output is:
C:\Users\Administrator\Documents\GitHub\instacron>python instacron.py
Traceback (most recent call last):
File "instacron.py", line 374, in
if i rename .jpg photo to .jpeg in the folder the output is:
C:\Users\Administrator\Documents\GitHub\instacron>python instacron.py
Traceback (most recent call last):
File "instacron.py", line 374, in
if i rename .jpg photo to .jpeg in the folder the output is:
You shouldn't do that.
Now the problem is that your jpeg files are corrupted. Did you try it with a different photo like I suggested earlier?
need to be of a particular size ? ratio ?
tried different photo now same:
C:\Users\Administrator\Documents\GitHub\instacron>python instacron.py
Traceback (most recent call last):
File "instacron.py", line 374, in
i think there is something in the api_photo.py
for me changing it to jpg works. just used some testpics. however Now I'm having the next error. Gonna figure it out tho. It's saying KeyError:"Image Make"
can you help me on the above error please ?