[Test] AttributeError get_bbox for Jpegran in Lossless JPEG action
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Phatch |
Fix Released
|
Medium
|
Stani |
Bug Description
actionlist: /home/stani/
Error 0:Can not apply action Lossless JPEG on image 'exif.jpg' in folder:
/home/stani/
get_bbox
Action:{'fields': {'All': '30%',
'Angle ': u'270 degrees',
'Copy': u'All',
'File Name': u'<filename>
'In': u'/home/
'Left': '0px',
'Mode': u'Auto',
'Show Advanced Options': 'no',
'Top': '0px',
'Update Exif Thumbnail': 'yes',
'Update JPEG': 'no',
'Update Orientation Tag': 'no',
'label': 'Lossless JPEG'}
Traceback (most recent call last):
File "/home/
photo = action.apply(photo, read_only_settings, cache)
File "/home/
self.
File "/home/
self.
File "/home/
self.
File "/home/
bbox = photo.get_
File "/usr/lib/
raise AttributeError(
AttributeError: get_bbox
Changed in phatch: | |
importance: | Undecided → Medium |
milestone: | none → 0.2.7 |
status: | New → Confirmed |
Changed in phatch: | |
assignee: | nobody → stani (stani) |
status: | Confirmed → In Progress |
Changed in phatch: | |
status: | Fix Committed → Fix Released |
$ bzr diff actions/ lossless_ jpeg.py' actions/ lossless_ jpeg.py 2010-02-26 04:42:00 +0000 actions/ lossless_ jpeg.py 2010-02-28 21:26:25 +0000 flattened_ image() .get_bbox( ) flattened_ image() .getbbox( )
values[ 'left'] , values['top'], values['width'], \
values[ 'height' ] = bbox
=== modified file 'phatch/
--- phatch/
+++ phatch/
@@ -188,7 +188,7 @@
elif transformation == CROP:
mode = values['mode']
if mode == 'Auto':
- bbox = photo.get_
+ bbox = photo.get_
else:
$ bzr commit sync/python/ phatch/ repo/trunk/ actions/ lossless_ jpeg.py
Committing to: /home/stani/
modified phatch/
Committed revision 1653.