shay-y / googlecl

Automatically exported from code.google.com/p/googlecl
0 stars 0 forks source link

Photos with capitalized file extensions are rejected #363

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. take a photo and name it test1.JPG
2. make a copy of the photo named test2.jpg
3. upload them:  google picasa post --title "Test" test1.JPG test2.jpg

What is the expected output? What do you see instead?
they should both show up in the album "Test"  instead, for test1.JPG, you get
"Loading file Test1.JPG to album Test
Failed to upload Test1.JPG. (602: Accepted content types: ['image/bmp', 
'image/jpeg', 'image/jpg', 'image/gif', 'image/png', 'image/mpeg', 
'image/mpeg4', 'image/3gpp', 'image/quicktime', 'image/mp4', 'image/x-ms-wmv', 
'image/avi'])

meanwhile test 2, with only the change in filename uploads fine.

What version of the product are you using? On what operating system? What
version of gdata-python-client (aka python-gdata)?
googlecl: 0.9.9
debian testing
python-gdata: 2.0.8

Please provide any additional information below.

Original issue reported on code.google.com by shift...@shifting.ca on 12 Feb 2011 at 7:37

GoogleCodeExporter commented 8 years ago
Here's a patch that fixes the issue. It needs to be applied against 0.9.12, 
though.

Original comment by tom.h.mi...@gmail.com on 26 Mar 2011 at 2:55

Attachments:

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r545.

Original comment by tom.h.mi...@gmail.com on 26 Mar 2011 at 2:58