Comment #7 on issue 2632 by Cannot upload a diff created via svn

I tried to use "svn diff" and got the same error

2012-06-14 10:00:32,866 - DEBUG - DiffParser.parse: Beginning parse of diff, size = 94423
2012-06-14 10:00:32,879 - DEBUG - DiffParser.parse: Finished parsing diff.
2012-06-14 10:00:48,392 - ERROR - Internal Server Error: /reviews/api/review-requests/5/diffs/
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/core/handlers/", line 178, in get_response
    response = middleware_method(request, response)
File "/usr/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/middleware/", line 15, in process_response
    response['Content-Length'] = str(len(response.content))
File "/usr/lib/python2.6/site-packages/Djblets-0.6.18-py2.6.egg/djblets/webapi/", line 281, in _get_content
    content = adapter.encode(self.api_data, request=self.request)
File "/usr/lib/python2.6/site-packages/Djblets-0.6.18-py2.6.egg/djblets/webapi/", line 88, in encode
    return super(JSONEncoderAdapter, self).encode(o)
File "/usr/lib64/python2.6/site-packages/simplejson/", line 200, in encode
    chunks = self.iterencode(o, _one_shot=True)
File "/usr/lib64/python2.6/site-packages/simplejson/", line 260, in iterencode
    return _iterencode(o, 0)
File "/usr/lib/python2.6/site-packages/Djblets-0.6.18-py2.6.egg/djblets/webapi/", line 99, in default
    raise TypeError("%r is not JSON serializable" % (o,))
TypeError: <Revision: HEAD> is not JSON serializable

You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to