google-code-export / thebigpicture

Automatically exported from code.google.com/p/thebigpicture
1 stars 1 forks source link

crash with unknown IPTC record num #36

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Some of my images have a zero length record 0 which causes TBP to crash.  A
simple fix will allow TBP to skip any unknown records.

iptcnaa.py lines 129-130
add a test to insure a record was returned

Original issue reported on code.google.com by lostcode...@gmail.com on 25 Feb 2008 at 6:32

GoogleCodeExporter commented 9 years ago
This sounds like an easy fix. I will look into it when I got my computer in 
order again.

Original comment by p.edel...@gmail.com on 27 Feb 2008 at 8:52

GoogleCodeExporter commented 9 years ago
I'd like to keep the possibility to read these kinds of unknown tags, so a bit 
more
than a simple check is involved. Would you mind providing an example of an 
offending
picture to test this behaviour?

Original comment by p.edel...@gmail.com on 6 Mar 2008 at 7:54

GoogleCodeExporter commented 9 years ago
Sorry it took so long.  Anyway here is one of the images.  It's possible that 
this
tag was just a bug in another program since it's empty, that's why I choose the 
easy
soulutuion.

Original comment by lostcode...@gmail.com on 15 Mar 2008 at 5:02

Attachments: