← Back to team overview

phatch-dev team mailing list archive

[Bug 384548] [NEW] Error when using Write Tag action

 

Public bug reported:

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!

** Affects: phatch
     Importance: Undecided
         Status: New

-- 
Error when using Write Tag action
https://bugs.launchpad.net/bugs/384548
You received this bug notification because you are a member of Phatch
Developers, which is subscribed to Phatch.

Status in Phatch = Photo & Batch!: New

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!



Follow ups

References