Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tag pictures with synchronizeXmp on (exiftool error) #150

Open
GoogleCodeExporter opened this issue May 4, 2015 · 8 comments
Open

Tag pictures with synchronizeXmp on (exiftool error) #150

GoogleCodeExporter opened this issue May 4, 2015 · 8 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Configure JBRout to synchronize XMP and IPTC tags
2. Tag some pictures (but it's not systematic)
3.

What is the expected output? What do you see instead?
Tagging was apparently done (though I can't say for sure about the XMP tags) 
but an exception was raised (not on all pictures, though all in the set were 
made with the same camera):

Traceback (most recent call last):
  File "/home/toto/jbrout-read-only/jbrout/jbrout.py", line 189, in on_key_press_for_tag
   self.parentWin.setTagsOnSelected(self,[tag,])
  File "/home/toto/jbrout-read-only/jbrout/jbrout.py", line 2056, in setTagsOnSelected
   XMPUpdater(ln).UpdateXmp()
  File "/home/toto/jbrout-read-only/jbrout/jbrout/tools.py", line 684, in UpdateXmp
   self.DoSaveXmp()
  File "/home/toto/jbrout-read-only/jbrout/jbrout/tools.py", line 720, in DoSaveXmp
   ret= _Command._run(command)
  File "/home/toto/jbrout-read-only/jbrout/jbrout/tools.py", line 146, in _run
   raise CommandException( cmdline +"\n OUTPUT ERROR:"+outerr)
 CommandException: [u'/usr/bin/exiftool -r -overwrite_original -subject< keywords /home/toto/photos/panasonic/i100605_bbq_karine_philippe/p20100605-p1120572.jpg /home/toto/photos/panasonic/i100605_bbq_karine_philippe/p20100605-p1120573.jpg /home/toto/photos/panasonic/i100605_bbq_karine_philippe/p20100605-p1120577.jpg']
 OUTPUT ERROR:Warning: [minor] Possibly incorrect maker notes offsets (fix by -216?) - /home/toto/photos/panasonic/i100605_bbq_karine_philippe/p20100605-p1120577.jpg

What version of the product are you using? On what operating system?
SVN version R300 on Ubuntu Jaunty (9.04)

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 9 Jun 2010 at 10:52

@GoogleCodeExporter
Copy link
Author

Additional information: my camera is a Panasonic DMC-FZ28, but 
this behaviour seems to happen only on pictures that were rotated (using jbrout 
Autorotate operation). 

Besides, after several tests adding and removing tags, when viewing the 
information with exiftool, a "Subject" line appears, either corresponding to 
the current list of tags, or with some previous tags if I have removed them. 

I'll try to send some example pictures later.

Original comment by [email protected] on 9 Jun 2010 at 1:52

@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

I forgot: I'm using pyexiv2 0.1.3 !

About that last part (remaining presence of removed tags), it stems from the 
fact that XMP keywords are not removed when the last tag (or all tags) are 
removed. I only one tag (of several) is removed, it's fine, and when one adds 
new tags, the old ones are removed. This particular problem only occurs when 
making an image "tag-free".

I thought it came from the command  del self._md["Xmp.dc.subject"] in 
pyexiv.py, but since it's about pyexiv2 v0.2, it's rather in XMPUpdate in 
tools.py

Original comment by [email protected] on 10 Jun 2010 at 12:31

@GoogleCodeExporter
Copy link
Author

This bug is probably obsolete ... exiftool is not used anymore at all.

Original comment by [email protected] on 24 Jun 2012 at 10:08

@GoogleCodeExporter
Copy link
Author

Original comment by [email protected] on 12 Aug 2013 at 10:49

  • Added labels: Priority-Medium, Type-Defect

@GoogleCodeExporter
Copy link
Author

Original comment by [email protected] on 12 Aug 2013 at 11:27

  • Added labels: BEbugs

@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

That is not true.

./jbrout/jbrout/commongtk.py:   data = Popen(["exiftool", "-b", "-PreviewImage",
./jbrout/jbrout/db.py:          data = Popen(["exiftool", "-b", "-JpgFromRaw",

Original comment by [email protected] on 17 Jul 2014 at 12:09

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant