Opened 11 years ago

Closed 11 years ago

#773 closed defect (fixed)

mediagoblin ascii art broken

Reported by: vlado Owned by:
Priority: blocker Milestone:
Component: programming Keywords:
Cc: Parent Tickets:

Description

2013-09-22 02:15:45,713 INFO [celery.worker.consumer] Got task from broker: mediagoblin.processing.task.ProcessMedia[fa8a5c56-b1b8-45d5-ab06-6c6a1f815e51]
2013-09-22 02:15:46,057 ERROR [celery.worker.job] Task mediagoblin.processing.task.ProcessMedia[fa8a5c56-b1b8-45d5-ab06-6c6a1f815e51] raised exception: AttributeError("'NoneType' object has no attribute 'file_metadata'",)
Traceback (most recent call last):

File "/data/goblin/mediagoblin/local/lib/python2.7/site-packages/celery-3.0.23-py2.7.egg/celery/task/trace.py", line 233, in trace_task

R = retval = fun(*args, kwargs)

File "/data/goblin/mediagoblin/local/lib/python2.7/site-packages/celery-3.0.23-py2.7.egg/celery/task/trace.py", line 420, in protected_call

return self.run(*args, kwargs)

File "/data/goblin/mediagoblin/mediagoblin/processing/task.py", line 98, in run

processor.process(reprocess_info)

File "/data/goblin/mediagoblin/mediagoblin/media_types/ascii/processing.py", line 218, in process

self.generate_thumb(thumb_size=thumb_size, font=font)

File "/data/goblin/mediagoblin/mediagoblin/media_types/ascii/processing.py", line 154, in generate_thumb

self.entry.set_file_metadata('thumb', thumb_info)

File "/data/goblin/mediagoblin/mediagoblin/db/models.py", line 292, in set_file_metadata

file_metadata = media_file.file_metadata or {}

None: 'NoneType' object has no attribute 'file_metadata'

Change History (2)

comment:1 by Christopher Allan Webber, 11 years ago

Priority: majorblocker

Have not yet confirmed, but serious if true re: breaking media types! Moving to blocker until investigated/fixed.

comment:2 by Christopher Allan Webber, 11 years ago

Resolution: fixed
Status: newclosed

Confirmed, and also fixed. Thanks for reporting this!

Note: See TracTickets for help on using tickets.