Project

General

Profile

Task #839

Fix 500 Internal Server error when using Accept: text/plain

Added by Roger Dahl over 13 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
d1_mn_GMN
Target version:
Start date:
Due date:
% Done:

100%

Milestone:
None
Product Version:
*
Story Points:
Sprint:

Description

[Thu Sep 09 11:53:40 2010] [error] [client 68.35.3.230] mod_wsgi (pid=23344): Exception occurred processing WSGI script '/var/local/mn_service/mn_prototype/gmn.wsgi'.
[Thu Sep 09 11:53:40 2010] [error] [client 68.35.3.230] Traceback (most recent call last):
[Thu Sep 09 11:53:40 2010] [error] [client 68.35.3.230] File "/usr/local/lib/python2.6/dist-packages/Django-1.1.1-py2.6.egg/django/core/handlers/wsgi.py", line 245, in +call+
[Thu Sep 09 11:53:40 2010] [error] [client 68.35.3.230] response = middleware_method(request, response)
[Thu Sep 09 11:53:40 2010] [error] [client 68.35.3.230] File "/var/local/mn_service/mn_prototype/../mn_prototype/mn_service/middleware/response_handler.py", line 317, in process_response
[Thu Sep 09 11:53:40 2010] [error] [client 68.35.3.230] response = serialize_object(request, view_result)
[Thu Sep 09 11:53:40 2010] [error] [client 68.35.3.230] File "/var/local/mn_service/mn_prototype/../mn_prototype/mn_service/middleware/response_handler.py", line 150, in serialize_object
[Thu Sep 09 11:53:40 2010] [error] [client 68.35.3.230] doc, content_type = type.serialize(accept, pretty, jsonvar)
[Thu Sep 09 11:53:40 2010] [error] [client 68.35.3.230] File "/var/local/mn_service/mn_prototype/./d1common/types/objectlist_serialization.py", line 110, in serialize
[Thu Sep 09 11:53:40 2010] [error] [client 68.35.3.230] return self.serialize_mapd1common.util.get_content_type(content_type), content_type
[Thu Sep 09 11:53:40 2010] [error] [client 68.35.3.230] KeyError: 'text/plain'

History

#1 Updated by Roger Dahl over 13 years ago

  • Status changed from New to Closed

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)