Error while working in Linux with jBrout tags, added in Windows

5 views
Skip to first unread message

Scorry

unread,
Feb 12, 2012, 1:14:51 PM2/12/12
to jBrout
Some images have cyryllic tags added by jBrout in Cyrillic

I attemt to import folder with jBrout in Linux, error is:

***** start *****
Traceback (most recent call last):
File "/usr/lib/jbrout/jbrout.py", line 2550, in
on_btn_addFolder_clicked
self.on_drop_folders_from_os(self.treeviewdb.get_model(),[folder])
File "/usr/lib/jbrout/jbrout.py", line 1634, in
on_drop_folders_from_os
for nb in iterator:
File "/usr/lib/jbrout/jbrout/db.py", line 132, in add
self.__addPhoto( file ,tags,filesInBasket)
File "/usr/lib/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 "/usr/lib/jbrout/jbrout/db.py", line 181, in __addPhoto
needAutoRotation=DBPhotos.autorotAtImport,
File "/usr/lib/jbrout/jbrout/tools.py", line 195, in __init__
self.__info = pyexiv2.Image(self.__file)
AttributeError: 'module' object has no attribute 'Image'

Photo has incorrect exif/iptc tags, can't be imported :
[u'/media/d/\u0421\u0435\u043c\u0435\u0439\u043d\u044b\u0439
\u0430\u0440\u0445\u0438\u0432/HEAP/2007-07-19 18.43.48.jpg']
***** end *****

mana...@gmail.com

unread,
Feb 19, 2012, 8:10:56 AM2/19/12
to jbr...@googlegroups.com
Send me back a picture which reproduce this trouble, and I will tell you more




--
You received this message because you are subscribed to the Google Groups "jBrout" group.
To post to this group, send email to jbr...@googlegroups.com.
To unsubscribe from this group, send email to jbrout+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/jbrout?hl=en.


Александр Душко

unread,
Feb 19, 2012, 3:47:36 PM2/19/12
to jbr...@googlegroups.com
19.02.2012 15:10, mana...@gmail.com пишет:

> Send me back a picture which reproduce this trouble, and I will tell you
> more
Oops. I just did an upgrade of linux version of JBrout to 0.3.340, and
the problem with transferring tags from Windows to Linux went away.

Some notes about working with pictures on the two platforms, ie, Windows
and Linux. Linux version creates tags which are readable in the windows
explorer. Windows version of JBrout correctly import tags, and those
tags can be successfully assigned to an untagged pictures. However, in
the explorer these picture tags are not displayed correctly, seems to be
the Windows Explorer does not understand Unicode-encoded tags. Linux
version of JBrout successfully import both types of images with a
well-readed tags. Sample images with labels of this kind can be seen here:
http://dl.dropbox.com/u/3298332/iptc_annotated_only.jpg (3.7 MB)
and
http://dl.dropbox.com/u/3298332/xmp_and_iptc_annotated.jpg (4.1 MB)

Research with tags PixVue showed that the Linux version provides two
types of tags, while the Windows-version — only the IPTC.

Windows version of JBrout, of course, older than Linux version.

Reply all
Reply to author
Forward
0 new messages