Comment 8 for bug 525999

Revision history for this message
Nadia Alramli (nadiana) wrote :

Hi Stani,
You change has introduced a bug. This line:
785 image = photo.get_layer().image
Was removed without replacing it with something else. Now when I try to run the actionlist I get:

Traceback (most recent call last):
  File "/home/nadia/projects/phatch/phatch/lib/pyWx/droplet.py", line 44, in OnDropFiles
    self.method(fix_paths(filenames), x, y)
  File "/home/nadia/projects/phatch/phatch/pyWx/gui.py", line 933, in on_drop
    wx.GetApp().settings, paths=filenames, drop=True)
  File "/home/nadia/projects/phatch/phatch/core/api.py", line 732, in apply_actions_to_photos
    is_done, image_index, repeat)
  File "/home/nadia/projects/phatch/phatch/core/api.py", line 797, in apply_actions_to_photo
    photo.get_layer().image = image.copy()
NameError: global name 'image' is not defined