Error when using Write Tag action

Bug #384548 reported by Nadia Alramli
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Phatch
Fix Released
Medium
Stani

Bug Description

Hi,

When I ran Write Tag action to change the author tag. I got this error.
Traceback (most recent call last):
  File "/home/nadia/projects/phatch/phatch/pyWx/gui.py", line 502, in on_menu_tools_execute
    self._execute(actionlist)
  File "/home/nadia/projects/phatch/phatch/pyWx/gui.py", line 204, in _execute
    api.apply_actions(actionlist,wx.GetApp().settings,**keyw)
  File "/home/nadia/projects/phatch/phatch/core/api.py", line 409, in apply_actions
    photo.flush_metadata()
  File "/home/nadia/projects/phatch/phatch/core/pil.py", line 367, in flush_metadata
    self.log += exif.flush(self.info['path'],self.metadata)
  File "/home/nadia/projects/phatch/phatch/core/lib/_pyexiv2.py", line 96, in flush
    return '\n'.join(warnings)
TypeError: sequence item 0: expected string, exceptions.TypeError found

I'm attaching the action list and a photo to reproduce the issue

Thanks!

Revision history for this message
Nadia Alramli (nadiana) wrote :
Stani (stani)
Changed in phatch:
assignee: nobody → stani (stani)
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Stani (stani) wrote :

Thanks for the test case. That makes debugging a pleasure and fast.

Changed in phatch:
status: Confirmed → Fix Committed
Stani (stani)
Changed in phatch:
milestone: none → 0.2.1
status: Fix Committed → Fix Released
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.