Closed GoogleCodeExporter closed 8 years ago
I can not reproduce this error.
What versions of pyexiv2 and exiv2 are you running and does it make any
difference if
you use the add folder button instead of dragging and dropping or what
application you
drag and drop from.
Original comment by r...@wallace.gen.nz
on 16 Dec 2009 at 2:52
still happens with rev278 from google svn
traceback seems almost same:
Traceback (most recent call last):
File "./jbrout.py", line 2542, in on_btn_addFolder_clicked
self.on_drop_folders_from_os(self.treeviewdb.get_model(),[folder])
File "./jbrout.py", line 1626, in on_drop_folders_from_os
for nb in iterator:
File "/home/lomex/jbrout-read-only/jbrout/jbrout/db.py", line 132, in add
self.__addPhoto( file ,tags,filesInBasket)
File "/home/lomex/jbrout-read-only/jbrout/jbrout/db.py", line 192, in __addPhoto
raise Exception(err+"\nPhoto has incorrect exif/iptc tags, can't be imported :\n"+str([file,]))
Exception: Traceback (most recent call last):
File "/home/lomex/jbrout-read-only/jbrout/jbrout/db.py", line 181, in __addPhoto
needAutoRotation=DBPhotos.autorotAtImport,
File "/home/lomex/jbrout-read-only/jbrout/jbrout/tools.py", line 195, in __init__
self.__info = pyexiv2.Image(self.__file)
File "/usr/lib/pymodules/python2.5/pyexiv2.py", line 396, in __init__
libpyexiv2.Image.__init__(self, filename)
IOError: /home/lomex/test/hübsch.jpg: Failed to open the data source: Datei
oder Verzeichnis nicht
gefunden (errno = 2)
Photo has incorrect exif/iptc tags, can't be imported :
[u'/home/lomex/test/h\xfcbsch.jpg']
(in the traceback on my console in the line starting with "IOError", the
"umlaut" (is there an english
word for that?) was printed fine, after pasting it here it was two unreadable
characters dont know what it
will be after klicking save changes)
dont know how to get the version of the libs, maybe this is helpful:
the debian package "python-pyexiv2" is version 0.1.3-4
the shared object of the c lib is called "libexiv2.so.5.3.1"
lol? never used dragndrop. i do only import photos by klicking the add folder
button (any other way?)
on_drop_folders_from_os is also called after a folder was selected after having
clicked the add folder
buttin, right?
Original comment by lome...@googlemail.com
on 16 Dec 2009 at 3:19
can't reproduce that
don't hesitate to re-open if needed
Original comment by manat...@gmail.com
on 11 Oct 2010 at 6:49
youre right, can't reproduce this any more. this issue is deprecated
seems like some changes in to tools.py make sure everything works fine with the
codings
Original comment by lome...@googlemail.com
on 11 Oct 2010 at 7:25
Original issue reported on code.google.com by
lome...@googlemail.com
on 13 Oct 2009 at 4:05