Comment 3 for bug 1717605

Revision history for this message
s.merlin (s-zauber) wrote :

Here is the Error Log:

Error 0:Die gewählte Aktion Wasserzeichen konnte nicht auf Bilder 'LAPADU_Sandburg_ 2017_10_1.JPG' angewendet werden. Ordner:
/home/sven/Bilder/ALBUM/2017/LAPADU Duisburg

'transparency'

Action:{'fields': {'Horizontal Justification': 'Right',
            'Horizontal Offset': u'-1 %',
            'Mark': u'/home/sven/ownCloud/Wasserzeichen/WZ_S Z_300x1500_weiss.gif',
            'Method': u'By Offset',
            'Offset': u'1 %',
            'Opacity': u'60',
            'Orientation': u'Normal',
            'Position': u'Bottom Right',
            'Vertical Justification': 'Bottom',
            'Vertical Offset': u'-1 %',
            '__enabled__': 'yes'},
 'label': 'Watermark'}

Traceback (most recent call last):
  File "/usr/share/phatch/phatch/core/api.py", line 614, in apply_action_to_photo
    photo = action.apply(photo, read_only_settings, cache)
  File "/usr/share/phatch/phatch/core/models.py", line 106, in apply
    photo.get_layer().apply_pil(self.pil, **values)
  File "/usr/share/phatch/phatch/core/pil.py", line 750, in apply_pil
    self.image = function(self.image, *arg, **keyw)
  File "/usr/share/phatch/phatch/actions/watermark.py", line 45, in watermark
    orientation, opacity)
  File "/usr/share/phatch/phatch/lib/imtools.py", line 274, in generate_layer
    mark = convert_safe_mode(open_image(mark))
  File "/usr/share/phatch/phatch/lib/imtools.py", line 826, in convert_safe_mode
    del img.info['transparency']
KeyError: 'transparency'
*