abrt 1.1.1 detected a crash. architecture: i686 cmdline: /usr/bin/python /usr/bin/phatch component: phatch executable: /usr/bin/phatch kernel: 2.6.33.5-124.fc13.i686 package: phatch-cli-0.2.7-1.fc13 reason: api.py:777:apply_actions_to_photo:AttributeError: 'NoneType' object has no attribute 'close' release: Fedora release 13 (Goddard) backtrace ----- api.py:777:apply_actions_to_photo:AttributeError: 'NoneType' object has no attribute 'close' Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/phatch/pyWx/gui.py", line 701, in on_menu_tools_execute self._execute(actionlist) File "/usr/lib/python2.6/site-packages/phatch/pyWx/gui.py", line 300, in _execute update=self._send_update_event, **keyw) File "/usr/lib/python2.6/site-packages/phatch/core/api.py", line 729, in apply_actions_to_photos is_done, image_index, repeat) File "/usr/lib/python2.6/site-packages/phatch/core/api.py", line 777, in apply_actions_to_photo photo.close() AttributeError: 'NoneType' object has no attribute 'close' Local variables in innermost frame: repeat: 1 image_index: 0 photo: None cache: {} is_done: <bound method Action.is_done of <actions.rename.Action object at 0x958266c>> actions: [<actions.rename.Action object at 0x958266c>] image_info: {'index': 0, 'folderindex': 2, 'subfolder': u'', 'path': u'/home/xxxx/Desktop/Screenshot-1.png', 'folder': u'/home/misiek/Desktop', 'filename': u'Screenshot-1', 'type': u'png', 'root': u'/home/misiek', 'foldername': u'Desktop'} info_not_file: <lib.metadata.InfoExtract instance at 0x98817ac> result: {'answer': u'abort', 'skip': False, 'abort': True, 'stop_for_errors': True, 'last_answer': None} read_only_settings: <lib.odict.ReadOnlyDict instance at 0x9881fec> report: [] skip_existing_images: True How to reproduce ----- 1.Try to rename using an exif tag that does not exist in the image 2. On the error message, press cancel (or maybe its abort) 3. Error happens
Created an attachment (id=442275) File: backtrace
Package: phatch-cli-0.2.7-3.fc14 Architecture: x86_64 OS Release: Fedora release 14 (Laughlin) How to reproduce ----- Tried to resample some images with "Scale" and "Save" in the list
Package: phatch-cli-0.2.7-3.fc14 Architecture: i686 OS Release: Fedora release 14 (Laughlin) How to reproduce ----- 1. Open existing action list in phatch 2. View droplet for action list 3. Drop several files onto the droplet
This seems to be caused by the upgrade of pyexiv2. Apparently the API is slightly different. https://bugs.launchpad.net/phatch/+bug/585169
Package: phatch-cli-0.2.7-3.fc14 Architecture: i686 OS Release: Fedora release 14 (Laughlin) How to reproduce ----- 1.Open pictures under phatch 2. 3. Comment ----- Unable to open the jpg files , there is error
Package: phatch-cli-0.2.7-3.fc14 Architecture: x86_64 OS Release: Fedora release 14 (Laughlin) How to reproduce ----- 1.En lancant un traitement par lot de renomage de fichier 2. 3.
Package: phatch-cli-0.2.7-3.fc14 Architecture: x86_64 OS Release: Fedora release 14 (Laughlin) How to reproduce ----- 1. + 2. Fit 3. Save 4. Error 5. Abort 6. Tried to close the program
Package: phatch-cli-0.2.7-3.fc14 Architecture: x86_64 OS Release: Fedora release 14 (Laughlin) How to reproduce ----- 1. Run phatch 2. Execute the action 3.
Package: phatch-cli-0.2.7-3.fc14 Architecture: x86_64 OS Release: Fedora release 14 (Laughlin) How to reproduce ----- 1. I was trying to process image files in the directory with action list (attached) 2. Just an error message appeared and it was followed by the log window (both attached) Comment ----- The same action list works without any problems with different folder of photos
Created attachment 478048 [details] an error message appearing
Created attachment 478049 [details] log window
Created attachment 478050 [details] action list used
Package: phatch-cli-0.2.7-3.fc14 Architecture: x86_64 OS Release: Fedora release 14 (Laughlin) How to reproduce ----- 1. I don't remember.
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
Waiting for the bug to be fixed in 0.2.8 (according the bug in launchpad). This is bug that is being tracked https://bugs.launchpad.net/phatch/+bug/566141
Package: phatch-cli-0.2.7-3.fc14 Architecture: x86_64 OS Release: Fedora release 14 (Laughlin) How to reproduce ----- 1. Trying rescaling images jpg 2. 3. Comment ----- Phatch error with pyexiv2-0.3.0-1 and exiv2-libs-0.21.1-1. No error with earlier versions like pyexiv2-0.1.3-11 and exiv2-libs-0.20-1
I was able to fix the crash problem and also this issue Error 0:Unable to open file: <abc>.jpg: 'module' object has no attribute 'Image' After this fix, jpg files can be processed without any issues. Will create an update.
*** This bug has been marked as a duplicate of bug 646035 ***