peircej / jbrout

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

error on refreshing thombnails #91

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. refresh thumbnail

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

I got an error:
Traceback (most recent call last):
   File "./jbrout.py", line 1926, in on_selecteur_menu_select_plugin
    ret=callback(l)
   File "/home/kefiiir/soft/jbrout/plugins/__init__.py", line 203, in
myCallBack
    ret=callback(*a,**k)
   File "/home/kefiiir/soft/jbrout/plugins/rotate/__init__.py", line 82, in
rebuildThumb
    i.rebuildThumbnail()
   File "/home/kefiiir/soft/jbrout/jbrout/db.py", line 768, in rebuildThumbnail
    pc = PhotoCmd(self.file)
   File "/home/kefiiir/soft/jbrout/jbrout/tools.py", line 191, in __init__
    self.__sync_xmp_iptc()
   File "/home/kefiiir/soft/jbrout/jbrout/tools.py", line 535, in
__sync_xmp_iptc
    ret= _Command._run( [_Command._exiftool, "-overwrite_original",
"-addtagsfromfile@", "-keywords+<subject", self.__file] )
   File "/home/kefiiir/soft/jbrout/jbrout/tools.py", line 141, in _run
    raise CommandException( cmdline +"\n OUTPUT ERROR:"+outerr)
 CommandException: [u'/usr/bin/exiftool -overwrite_original
-addtagsfromfile@ -keywords+<subject
/home/kefiiir/doc/photo/00_unsorted/2009-07-06-trax/birds/owl/DSC_1874.JPG']
 OUTPUT ERROR:Warning: Can't add XMP-pdf:Keywords (not a List type) -
/home/kefiiir/doc/photo/00_unsorted/2009-07-06-trax/birds/owl/DSC_1874.JPG

What version of the product are you using? On what operating system?
svn r 203
Gentoo Linux

Please provide any additional information below.
this happens not with every files, example of bad file in atach

Original issue reported on code.google.com by Oleg.Bla...@gmail.com on 9 Jul 2009 at 7:47

Attachments:

GoogleCodeExporter commented 8 years ago
with other picture I've got other error

Traceback (most recent call last):
   File "./jbrout.py", line 1926, in on_selecteur_menu_select_plugin
    ret=callback(l)
   File "/home/kefiiir/soft/jbrout/plugins/__init__.py", line 203, in myCallBack
    ret=callback(*a,**k)
   File "/home/kefiiir/soft/jbrout/plugins/rotate/__init__.py", line 82, in rebuildThumb
    i.rebuildThumbnail()
   File "/home/kefiiir/soft/jbrout/jbrout/db.py", line 768, in rebuildThumbnail
    pc = PhotoCmd(self.file)
   File "/home/kefiiir/soft/jbrout/jbrout/tools.py", line 191, in __init__
    self.__sync_xmp_iptc()
   File "/home/kefiiir/soft/jbrout/jbrout/tools.py", line 534, in __sync_xmp_iptc
    ret= _Command._run( [_Command._exiftool, "-overwrite_original",
"-addtagsfromfile@", "-keywords-<subject", self.__file] )
   File "/home/kefiiir/soft/jbrout/jbrout/tools.py", line 141, in _run
    raise CommandException( cmdline +"\n OUTPUT ERROR:"+outerr)
 CommandException: [u'/usr/bin/exiftool -overwrite_original -addtagsfromfile@
-keywords-<subject 
/home/kefiiir/doc/pictures/ErosFoto/met_art_freesamples_8546.jpg']
 OUTPUT ERROR:Warning: [minor] Possibly incorrect maker notes offsets (fix by -318?)
- /home/kefiiir/doc/pictures/ErosFoto/met_art_freesamples_8546.jpg

Original comment by Oleg.Bla...@gmail.com on 9 Jul 2009 at 7:54

GoogleCodeExporter commented 8 years ago
and one more error

Traceback (most recent call last):
   File "./jbrout.py", line 1926, in on_selecteur_menu_select_plugin
    ret=callback(l)
   File "/home/kefiiir/soft/jbrout/plugins/__init__.py", line 203, in myCallBack
    ret=callback(*a,**k)
   File "/home/kefiiir/soft/jbrout/plugins/rotate/__init__.py", line 82, in rebuildThumb
    i.rebuildThumbnail()
   File "/home/kefiiir/soft/jbrout/jbrout/db.py", line 768, in rebuildThumbnail
    pc = PhotoCmd(self.file)
   File "/home/kefiiir/soft/jbrout/jbrout/tools.py", line 191, in __init__
    self.__sync_xmp_iptc()
   File "/home/kefiiir/soft/jbrout/jbrout/tools.py", line 534, in __sync_xmp_iptc
    ret= _Command._run( [_Command._exiftool, "-overwrite_original",
"-addtagsfromfile@", "-keywords-<subject", self.__file] )
   File "/home/kefiiir/soft/jbrout/jbrout/tools.py", line 141, in _run
    raise CommandException( cmdline +"\n OUTPUT ERROR:"+outerr)
 CommandException: [u'/usr/bin/exiftool -overwrite_original -addtagsfromfile@
-keywords-<subject
/home/kefiiir/doc/pictures/\u0413\u0430\u043b\u043b\u0435\u0440\u0435\u044f/\u04
1c\u0438\u043a\u0441/DS_557_NEFERTERI_SHEPHERD_0700_CF.jpg']
 OUTPUT ERROR:Warning: Bad Photoshop IRB resource "\x00\xd8o1" -
/home/kefiiir/doc/pictures/Галлерея/Микс/DS_557_NEFERTERI_SHEPHERD_0
700_CF.jpg

Original comment by Oleg.Bla...@gmail.com on 9 Jul 2009 at 7:58

GoogleCodeExporter commented 8 years ago
and more:

Traceback (most recent call last):
   File "./jbrout.py", line 1926, in on_selecteur_menu_select_plugin
    ret=callback(l)
   File "/home/kefiiir/soft/jbrout/plugins/__init__.py", line 203, in myCallBack
    ret=callback(*a,**k)
   File "/home/kefiiir/soft/jbrout/plugins/rotate/__init__.py", line 82, in rebuildThumb
    i.rebuildThumbnail()
   File "/home/kefiiir/soft/jbrout/jbrout/db.py", line 768, in rebuildThumbnail
    pc = PhotoCmd(self.file)
   File "/home/kefiiir/soft/jbrout/jbrout/tools.py", line 191, in __init__
    self.__sync_xmp_iptc()
   File "/home/kefiiir/soft/jbrout/jbrout/tools.py", line 534, in __sync_xmp_iptc
    ret= _Command._run( [_Command._exiftool, "-overwrite_original",
"-addtagsfromfile@", "-keywords-<subject", self.__file] )
   File "/home/kefiiir/soft/jbrout/jbrout/tools.py", line 141, in _run
    raise CommandException( cmdline +"\n OUTPUT ERROR:"+outerr)
 CommandException: [u'/usr/bin/exiftool -overwrite_original -addtagsfromfile@
-keywords-<subject
/home/kefiiir/doc/pictures/wallpapers/gnome/GNOME-CityPlosion_1600x1200.jpg']
 OUTPUT ERROR:Warning: Some IPTC characters not converted (ISO 2022 shifting not
supported) - 
/home/kefiiir/doc/pictures/wallpapers/gnome/GNOME-CityPlosion_1600x1200.jpg

Original comment by Oleg.Bla...@gmail.com on 9 Jul 2009 at 8:02

GoogleCodeExporter commented 8 years ago
fixed ( r204 ). Could you retry and give feedback please ?

Original comment by tbenita on 9 Jul 2009 at 9:01

GoogleCodeExporter commented 8 years ago
works
thanks for quick response

Original comment by Oleg.Bla...@gmail.com on 9 Jul 2009 at 1:11