After reading you definition of a warning again, it fits that definition. However what is not useful that bugs like eg applying jpeg action to a gif, has the same error category as real errors. So can't we have another category 'expected' for errors which should happen. It would rather be a real error if the error didn't happen, so that could be tested too. Again I would like to have a command line option to exclude expected bugs.
After reading you definition of a warning again, it fits that definition. However what is not useful that bugs like eg applying jpeg action to a gif, has the same error category as real errors. So can't we have another category 'expected' for errors which should happen. It would rather be a real error if the error didn't happen, so that could be tested too. Again I would like to have a command line option to exclude expected bugs.
ERROR 1: Can not apply action Lossless JPEG on image 'exĩf ïptç رعب.jpg' in folder: sync/python/ phatch/ repo/trunk/ tests/input sync/python/ phatch/ repo/trunk/ tests/input/ exĩf ïptç رعب.jpg
'Angle' : u'270 degrees',
'Bottom' : '0px',
'Direction ': u'Horizontal', -Lossless_ JPEG-Progressiv e=False- Grayscale= False-RemoveMet adata=False- OptimizeFileSiz e=False- Mode=Auto- Transformation= Crop',
'Grayscale ': 'no', stani/sync/ python/ phatch/ repo/trunk/ tests/output/ images' ,
'Optimize File Size': 'no',
'Progressi ve': 'no',
'Right' : '0px',
'Transform ation': u'Crop',
'_ _enabled_ _': 'yes'}, stani/sync/ python/ phatch/ repo/trunk/ phatch/ core/api. py", line 686, in apply_action_ to_photo stani/sync/ python/ phatch/ repo/trunk/ phatch/ actions/ lossless_ jpeg.py" , line 154, in apply decode( unicoding. ENCODING) .split( '\n')[0] ,
/home/stani/
Lossless JPEG action failed with exit code "1"! (jpegtran)
Invalid crop request
Image: /home/stani/
Action:
{'fields': {'All': '30%',
'File Name': u'<filename>
'In': u'/home/
'Left': '0px',
'Mode': u'Auto',
'Remove Metadata': 'no',
'Top': '0px',
'label': 'Lossless JPEG'}
Details:
Traceback (most recent call last):
File "/home/
photo = action.apply(photo, read_only_settings, cache)
File "/home/
stderr.
Exception: Lossless JPEG action failed with exit code "1"! (jpegtran)
Invalid crop request