Opened 9 years ago

Closed 3 years ago

#1029 closed defect (no-action)

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

Change History (2)

comment:1 by Atlas, 6 years ago

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!!!

comment:2 by Ben Sturmfels, 3 years ago

Resolution: no-action-required
Status: newclosed

Closing this old ticket.

Note: See TracTickets for help on using tickets.