Photophatch problem with loading watermark inages

Bug #1717605 reported by s.merlin on 2017-09-15
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Phatch
Undecided
Unassigned

Bug Description

I can't find a solution for the bug in Phatch 0.2.7 installation after upgrade my OS to Mint 18.
The problem is, that i try to open the drop down menu in Watermark Module and it isn't possible. Only it says LODING.
I can't choose another image for watermarking.
Do you have any idea what i can do?

regards

Sven

s.merlin (s-zauber) wrote :
s.merlin (s-zauber) wrote :

Attached the screenshot of phatch by try to open drop down menu of watermark images.

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'
*

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers