← Back to team overview

phatch-dev team mailing list archive

[Bug 525999] Re: Phatch eats-up nearly all the RAM and swap available

 

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

-- 
Phatch eats-up nearly all the RAM and swap available
https://bugs.launchpad.net/bugs/525999
You received this bug notification because you are a member of Phatch
Developers, which is subscribed to Phatch.

Status in Phatch = Photo & Batch!: Confirmed

Bug description:
Ubuntu 9.10
Phatch 0.2.5 from PPA
1go RAM
2go swap


I am trying to rename about 200 photos taken with a 10MP camera, the photos are between 4 and 5Mo each. I am renaming them using the exif data (<Exif_Photo_DateTimeOriginal.year>-<##Exif_Photo_DateTimeOriginal.month>-<##Exif_Photo_DateTimeOriginal.day>). This action takes less than 1min with phatch 0.1.6 but it takes more than an hour with phatch 0.2.5. Phatch uses 80% of the RAM and swap available. See picture attached of the freed memory when Phatch is stopped.





References