← Back to team overview

phatch-dev team mailing list archive

[Bug 418967] Re: Executing actionlists on selected images is failing

 

** Changed in: phatch
       Status: Confirmed => Fix Released

-- 
Executing actionlists on selected images is failing
https://bugs.launchpad.net/bugs/418967
You received this bug notification because you are a member of Phatch
Developers, which is subscribed to Phatch.

Status in Phatch = Photo & Batch!: Fix Released

Bug description:
When I run any action list, even just a save action or a selected file (any image file) I get this error in the console:

Traceback (most recent call last):
  File "/home/nadia/projects/phatch/phatch/pyWx/gui.py", line 570, in on_menu_tools_execute
    self._execute(actionlist)
  File "/home/nadia/projects/phatch/phatch/pyWx/gui.py", line 229, in _execute
    api.apply_actions(actionlist,wx.GetApp().settings,**keyw)
  File "/home/nadia/projects/phatch/phatch/core/api.py", line 389, in apply_actions
    send.progress_update_filename(progress_result, image_index, image_file)
  File "/home/nadia/projects/phatch/phatch/lib/events.py", line 30, in __call__
    return Publisher().sendMessage(self.topic,data)
  File "/home/nadia/projects/phtch/phatch/other/pubsub.py", line 798, in sendMessage
  File "/home/nadia/projects/phtch/phatch/other/pubsub.py", line 485, in sendMessage
  File "/home/nadia/projects/phtch/phatch/other/pubsub.py", line 323, in sendMessage
  File "/home/nadia/projects/phatch/phatch/lib/events.py", line 48, in __call__
    return self.method(*args, **keyw)
  File "/home/nadia/projects/phatch/phatch/core/message.py", line 92, in update_filename
    dirname, basename   = os.path.split(filename)
  File "/usr/lib/python2.5/posixpath.py", line 77, in split
    i = p.rfind('/') + 1
AttributeError: 'tuple' object has no attribute 'rfind'

Executing actionlists on selected files was working fine two days ago. So it must be a very recent change



References