Internal server error 500 when run pandora_client sync #2284

Closed
opened 2014-02-12 13:14:17 +00:00 by 0x2620 · 5 comments
Owner

Hi Jay,

In fresh installation of pandora, running the cmd Pandora_client sync --> results in internal server error 500 in the terminalat first time. 2nd time I ran this cmd--> the sync proccess worked as expected. In pandora_client upload --> it showed that video is uploading and already uploaded and created derivatives 240, 480. But, icons & poster are not created as expected. It created poster & icon with default icons shape. When checked server side in the site interface, I found video status is (proccessing video on server) and nothing worked neither player nor info nor data. After minutes, suddenly, video proccessing ended and showed that it is uploaded when I hover over it in media menu. Also, icons & posters r created and all is working in server. SOOO strange. This is tested twice.

The error I got in error log in server:
Traceback (most recent call last):

File "/srv/pandora/src/django/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)

File "/srv/pandora/src/python-ox/ox/django/api/views.py", line 38, in api
response = f(request)

File "/srv/pandora/src/python-ox/ox/django/decorators.py", line 18, in _wrapped_view
return function(request, *args, **kwargs)

File "/srv/pandora/pandora/archive/views.py", line 69, in update
data = json.loads(request.POST['data'])

File "/srv/pandora/src/django/django/utils/datastructures.py", line 258, in getitem
raise ("Key %r not found in %r" % (key, self))

: "Key 'data' not found in <QueryDict: {u'action': []u'update'}>"

I think issue with some of new updates cuz I was running it before without any issue. What do you think?

Thanks

Hi Jay, In fresh installation of pandora, running the cmd Pandora_client sync --> results in internal server error 500 in the terminalat first time. 2nd time I ran this cmd--> the sync proccess worked as expected. In pandora_client upload --> it showed that video is uploading and already uploaded and created derivatives 240, 480. But, icons & poster are not created as expected. It created poster & icon with default icons shape. When checked server side in the site interface, I found video status is (proccessing video on server) and nothing worked neither player nor info nor data. After minutes, suddenly, video proccessing ended and showed that it is uploaded when I hover over it in media menu. Also, icons & posters r created and all is working in server. SOOO strange. This is tested twice. The error I got in error log in server: Traceback (most recent call last): > File "/srv/pandora/src/django/django/core/handlers/base.py", line 111, in get_response response = callback(request, *callback_args, **callback_kwargs) > File "/srv/pandora/src/python-ox/ox/django/api/views.py", line 38, in api response = f(request) > File "/srv/pandora/src/python-ox/ox/django/decorators.py", line 18, in _wrapped_view return function(request, *args, **kwargs) > File "/srv/pandora/pandora/archive/views.py", line 69, in update data = json.loads(request.POST['data']) > File "/srv/pandora/src/django/django/utils/datastructures.py", line 258, in *getitem* raise <MultiValueDictKeyError>("Key %r not found in %r" % (key, self)) <MultiValueDictKeyError>: "Key 'data' not found in <QueryDict: {u'action': []u'update'}>" I think issue with some of new updates cuz I was running it before without any issue. What do you think? Thanks
j added the
general
label 2014-02-12 13:14:17 +00:00
0x2620 was assigned by j 2014-02-12 13:14:17 +00:00
j added the
critical
defect
labels 2014-02-12 13:14:17 +00:00
Owner

what your version of pandora_client?

what your version of pandora_client?
Author
Owner

It is 0.2.156

It is 0.2.156
rlx added this to the 14.01 milestone 2014-02-12 15:19:57 +00:00
Owner

can you update both pandora and pandora_client to latest version in bzr and see if it still happens?

can you update both pandora and pandora_client to latest version in bzr and see if it still happens?
Author
Owner

Pandora client has already been in the last revision. I updated pandora to last revision. However, the error still exists.

Pandora client has already been in the last revision. I updated pandora to last revision. However, the error still exists.
Author
Owner

Hi Jay,

I tried a new fresh installation in another server and it worked so it seems something needs to be traced in my machine. Anyway thanks so much for your help.

Hi Jay, I tried a new fresh installation in another server and it worked so it seems something needs to be traced in my machine. Anyway thanks so much for your help.
0x2620 added the
fixed
label 2014-02-18 12:07:03 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: 0x2620/pandora#2284
No description provided.