On certain photos the program crashes.

Bug #1265260 reported by Robert Rogers
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Phatch
New
Undecided
Unassigned

Bug Description

Here is the log file:

Error 0:Unable to open file: /home/bob/Pictures/Link to pictures-lw/_2k14/jpg-r/cymk/cymk/00-cal-cover work sq.jpg:
Unable extract variables from file:/home/bob/Pictures/Link to pictures-lw/_2k14/jpg-r/cymk/cymk/00-cal-cover work sq.jpg:
'Tag not set'

Traceback (most recent call last):
  File "/usr/share/phatch/phatch/core/api.py", line 493, in get_photo
    photo = pil.Photo(info_file, info_not_file)
  File "/usr/share/phatch/phatch/core/pil.py", line 471, in __init__
    layer.image)
  File "/usr/share/phatch/phatch/core/pil.py", line 203, in __init__
    raise Exception(message)
Exception: Unable extract variables from file:/home/bob/Pictures/Link to pictures-lw/_2k14/jpg-r/cymk/cymk/00-cal-cover work sq.jpg:
'Tag not set'

{'actions': [{'fields': {'Tag (Exif, Iptc)': u'Exif_Image_Artist',
                         'Value': u'Robert C. Rogers',
                         '__enabled__': 'yes'},
              'label': 'Write Tag'},
             {'fields': {'Tag (Exif, Iptc)': u'Iptc_Application2_Copyright',
                         'Value': u'\xa9<Exif_Photo_DateTimeDigitized.year> Robert C. Rogers. All Rights reserved.',
                         '__enabled__': 'no'},
              'label': 'Write Tag'},
             {'fields': {'Tag (Exif, Iptc)': 'Exif_Image_Copyright',
                         'Value': u'\xa9<Exif_Photo_DateTime.year> Robert C. Rogers. All Rights reserved.',
                         '__enabled__': 'yes'},
              'label': 'Write Tag'},
             {'fields': {'Tag (Exif, Iptc)': 'Exif_Image_Copyright',
                         'Value': u'\xa9<Exif_Photo_DateTimeDigitized.year> Robert C. Rogers. All Rights reserved.',
                         '__enabled__': 'yes'},
              'label': 'Write Tag'},
             {'fields': {'File Name': u'<filename>',
                         'In': u'<folder>',
                         '__enabled__': 'yes'},
              'label': 'Save Tags'},
             {'fields': {'Canvas Height': u'768 px',
                         'Canvas Width': u'1024 px',
                         'Constrain Proportions': 'yes',
                         'Resample Image': 'automatic',
                         'Resolution': u'<dpi>',
                         'Scale Down Only': 'no',
                         '__enabled__': 'yes'},
              'label': 'Scale'},
             {'fields': {'Color': u'#ffffff',
                         'Font': 'Free Sans',
                         'Horizontal Justification': 'Middle',
                         'Horizontal Offset': '50%',
                         'Offset': '5%',
                         'Orientation': u'Normal',
                         'Position': u'Bottom Left',
                         'Size': u'2.5 %',
                         'Text': u'<Exif_Image_Copyright>',
                         'Vertical Justification': 'Middle',
                         'Vertical Offset': '50%',
                         '__enabled__': 'yes'},
              'label': 'Text'},
             {'fields': {'As': u'jpg',
                         'File Name': u'<filename>',
                         'In': u'<folder>/<subfolder>web',
                         'JPEG Quality': u'75',
                         'JPEG Size Maximum': u'0 kb',
                         'JPEG Size Tolerance': '10 kb',
                         'Metadata': 'yes',
                         'PNG Optimize': 'no',
                         'Resolution': u'<dpi>',
                         'Show Type Options': 'no',
                         'TIFF Compression': u'<compression>',
                         '__enabled__': 'yes'},
              'label': 'Save'}],

I have 3 different cameras Sony, Cannon, and Nikon. I have some pictures rthat work and some that do not work. Also a picture thta was a composite of other pictures that I photoshopped didn't work.
 'description': u'Add copyright info. Save back to JPG. Create low res jpg with burnt in copyright info in web subfolder.',
 'version': '0.2.7'}

Revision history for this message
Robert Rogers (n8fau15) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.