brunolojor / jbrout

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

Bug during import pictures on Exif datas #66

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Import/Add pictures for the first time (a complete folder)
2.
3.

What is the expected output? What do you see instead?

Traceback (most recent call last):
   File "/usr/lib/jbrout/jbrout.py", line 2428, in on_btn_addFolder_clicked
    self.on_drop_folders_from_os(self.treeviewdb.get_model(),[folder])
   File "/usr/lib/jbrout/jbrout.py", line 1574, in on_drop_folders_from_os
    for nb in iterator:
   File "jbrout/jbrout/db.py", line 128, in add
   File "jbrout/jbrout/db.py", line 188, in __addPhoto
 Traceback (most recent call last):
  File "jbrout/jbrout/db.py", line 177, in __addPhoto
  File "jbrout/jbrout/tools.py", line 204, in __init__
IOError: Setting Exif metadata in PNG images is not supported

Photo has incorrect exif/iptc tags, can't be imported :
[u'/home/chris/Images/PHOTOS/Images/wallpapers/linux.jpg']

What version of the product are you using? On what operating system?
Jbrout 0.3.174 - Ubuntu 8.10

Please provide any additional information below.

Original issue reported on code.google.com by humbert....@gmail.com on 7 Feb 2009 at 1:16

GoogleCodeExporter commented 9 years ago
your picture :
/home/chris/Images/PHOTOS/Images/wallpapers/linux.jpg

is, in fact, a png renamed in jpg ...
and jbrout doesn't manage png ... only (real) jpg

Original comment by manat...@gmail.com on 7 Feb 2009 at 2:02

GoogleCodeExporter commented 9 years ago
Thank you for your answer. 

In fact, that error isn't clear for the user (big box with strange message 
inside). I
think you should have to change it for something most understandable (user 
friendly ?).

Great software, very useful (merci) :)

Original comment by humbert....@gmail.com on 7 Feb 2009 at 2:27