photo.close(): AttributeError: 'NoneType' object has no attribute 'close'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Phatch |
Confirmed
|
High
|
Stani |
Bug Description
I'm unsing ppa karmic phatch (0.2.7) to batch rename/move files (Rename action)
I've put <Exif_Image_
There's an error:
Unable to open file: /.../zima.jpg:
Unable extract variables from file: /.../zima.jpg:
Tag not set
When I press "Skip To Next Image" phatch just hangs with "Executing action list" dialogue open, but nothing happens, no In/File is displayed, "Remaining time" is "unknown".
There's a python error displayed in console:
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
update=
File "/usr/lib/
is_done, image_index, repeat)
File "/usr/lib/
photo.close()
AttributeError: 'NoneType' object has no attribute 'close'
Also, pressing "Cancel" on the hanged "Executing action list" window does not help - does not stop/close the execution. I have to press the "X" to close the window.
Image Inspector shows that there are no exif tags in the zima.jpg image.
I have "Stop for errors" checkbox checked. If I uncheck it there's no dialogue, but it seems phatch tries to rename all images, but it still hangs. And even if some other image has required tag it's not renamed.
Looks like this has been fixed in trunk about a month ago...