Custom Query (1173 matches)
Results (238 - 240 of 1173)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #5314 | fixed | ZeroDivisionError in exif.py | ||
| Description |
A user tried to upload a couple of images that resulted in the following error in my celery logs. [2015-04-08 15:55:15,419: ERROR/MainProcess] Task mediagoblin.processing.task.ProcessMedia[5210c290-e679-4788-afa2-5e4020b46ba4] raised unexpected: ZeroDivisionError('float division by zero',)
Traceback (most recent call last):
File "/path/to/mediagoblin/lib/python2.7/site-packages/celery-3.1.17-py2.7.egg/celery/app/trace.py", line 240, in trace_task
R = retval = fun(*args, **kwargs)
File "/path/to/mediagoblin/lib/python2.7/site-packages/celery-3.1.17-py2.7.egg/celery/app/trace.py", line 438, in __protected_call__
return self.run(*args, **kwargs)
File "/path/to/mediagoblin/mediagoblin/processing/task.py", line 101, in run
processor.process(**reprocess_info)
File "/path/to/mediagoblin/mediagoblin/media_types/image/processing.py", line 320, in process
self.extract_metadata('original')
File "/path/to/mediagoblin/mediagoblin/media_types/image/processing.py", line 231, in extract_metadata
gps_data = get_gps_data(self.exif_tags)
File "/path/to/mediagoblin/mediagoblin/tools/exif.py", line 161, in get_gps_data
)(dat.values)
File "/path/to/mediagoblin/mediagoblin/tools/exif.py", line 160, in <lambda>
+ (float(v[2].num) / float(v[2].den) / (60 * 60))
ZeroDivisionError: float division by zero
The following GPS information was logged during processing of one of these images. GPS SubIFD at offset 10616: GPSVersionID: (0x0000) Byte=[2, 2, 0, 0] @ 10626 GPSLatitudeRef: (0x0001) ASCII= @ 10638 GPSLatitude: (0x0002) Ratio=[0/0, 0/0, 0/0] @ 10730 GPSLongitudeRef: (0x0003) ASCII= @ 10662 GPSLongitude: (0x0004) Ratio=[0/0, 0/0, 0/0] @ 10754 GPSStatus: (0x0009) ASCII= @ 10686 GPSImgDirectionRef: (0x0010) ASCII= @ 10698 GPSImgDirection: (0x0011) Ratio=267 @ 10778 GPSAreaInformation: (0x001C) Undefined=[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ... ] @ 10786 GPSInfo: (0x8825) Long=10616 @ 150 |
|||
| #5524 | fixed | Zero division error when uploading a file with zero GPS coordinates | ||
| Description |
Files produced by a Nikon P510 have an odd GPS direction set, which makes mediagoblin/mediagoblin/tools/exif.py crash in line 180 (the As a result, the submission form shows a 503, the lazyserver console gives an appropriate backtrace and the file shows up as "failed" in the media processing panel. This was tested with current master (763eae89d); if it helps, I can send an example picture by private EMail (don't have the camera at hand to create a blank example). |
|||
| #322 | wontfix | You can't reply to a bug via a bug notification email | ||
| Description |
The `support@foocorp.net <mailto:support@foocorp.net>`_ email address, the project name and ticket ID in the subject field gives one the illusion that it would be possible. There is no indication that it does not work, no email bounces. |
|||
