Opened 5 years ago

Last modified 2 years ago

#1029 new defect

When uploading media, silently fails in the web interface, and AttributeError("'NoneType' object has no attribute 'processing_metadata'",):

Reported by: arthur.lutz Owned by:
Priority: major Milestone:
Component: programming Keywords:
Cc: Parent Tickets:

Description

4: RuntimeWarning: Exception raised outside body: AttributeError("'NoneType' object has no attribute 'processing_metadata'",):
Traceback (most recent call last):

File "/srv/videos.lutz.im/mediagoblin/local/lib/python2.7/site-packages/celery-3.1.16-py2.7.egg/celery/app/trace.py", line 253, in trace_task

I, R, state, retval = on_error(task_request, exc, uuid)

File "/srv/videos.lutz.im/mediagoblin/local/lib/python2.7/site-packages/celery-3.1.16-py2.7.egg/celery/app/trace.py", line 201, in on_error

R = I.handle_error_state(task, eager=eager)

File "/srv/videos.lutz.im/mediagoblin/local/lib/python2.7/site-packages/celery-3.1.16-py2.7.egg/celery/app/trace.py", line 85, in handle_error_state

}[self.state](task, store_errors=store_errors)

File "/srv/videos.lutz.im/mediagoblin/local/lib/python2.7/site-packages/celery-3.1.16-py2.7.egg/celery/app/trace.py", line 120, in handle_failure

task.on_failure(exc, req.id, req.args, req.kwargs, einfo)

File "/srv/videos.lutz.im/mediagoblin/mediagoblin/processing/task.py", line 157, in on_failure

json_processing_callback(entry)

File "/srv/videos.lutz.im/mediagoblin/mediagoblin/tools/processing.py", line 49, in json_processing_callback

if not entry.processing_metadata:

AttributeError: 'NoneType' object has no attribute 'processing_metadata'

exc, exc_info.traceback)))

Processes running in supervisord, postgresql backend

Subtickets

Change History (1)

comment:1 Changed 2 years ago by Atlas

Very nice is working, Before i use to find picture and media through instagram private viewer this is right place for me to learn many things. Thanks for share with us such a wonderful information!!!

Note: See TracTickets for help on using tickets.