Upgrade to the latest Djblets nightly. This has been fixes but didn't
make the release. We'll have a fix out soon.

Christian


On Wednesday, October 6, 2010, Dan <castelha...@emigrant.com> wrote:
> hi,
> we're getting the error below when trying to access api url's (the
> repository listing in particular). we installed RB 1.5 on an ubuntu
> 10.04 server.
>
> Any clues as to what i did wrong?
>
> Thanks,
> Dan
>
> Exception thrown for user USERNAME at https://localhost/api/json/repositories/
>
> 1L is not XML serializable
> Traceback (most recent call last):
>   File "/usr/local/lib/python2.6/dist-packages/Django-1.2.3-py2.6.egg/
> django/core/handlers/base.py", line 100, in get_response
>     response = callback(request, *callback_args, **callback_kwargs)
>   File "/usr/local/lib/python2.6/dist-packages/Django-1.2.3-py2.6.egg/
> django/views/decorators/cache.py", line 70, in _wrapped_view_func
>     add_never_cache_headers(response)
>   File "/usr/local/lib/python2.6/dist-packages/Django-1.2.3-py2.6.egg/
> django/utils/cache.py", line 116, in add_never_cache_headers
>     patch_response_headers(response, cache_timeout=-1)
>   File "/usr/local/lib/python2.6/dist-packages/Django-1.2.3-py2.6.egg/
> django/utils/cache.py", line 105, in patch_response_headers
>     response['ETag'] = '"%s"' %
> md5_constructor(response.content).hexdigest()
>   File "/usr/local/lib/python2.6/dist-packages/Djblets-0.6.4-py2.6.egg/
> djblets/webapi/core.py", line 273, in _get_content
>     content = adapter.encode(self.api_data, request=self.request)
>   File "/usr/local/lib/python2.6/dist-packages/Djblets-0.6.4-py2.6.egg/
> djblets/webapi/core.py", line 119, in encode
>     self.__encode(o, *args, **kwargs)
>   File "/usr/local/lib/python2.6/dist-packages/Djblets-0.6.4-py2.6.egg/
> djblets/webapi/core.py", line 136, in __encode
>     self.__encode(value, *args, **kwargs)
>   File "/usr/local/lib/python2.6/dist-packages/Djblets-0.6.4-py2.6.egg/
> djblets/webapi/core.py", line 164, in __encode
>     return self.__encode(result, *args, **kwargs)
>   File "/usr/local/lib/python2.6/dist-packages/Djblets-0.6.4-py2.6.egg/
> djblets/webapi/core.py", line 143, in __encode
>     self.__encode(i, *args, **kwargs)
>   File "/usr/local/lib/python2.6/dist-packages/Djblets-0.6.4-py2.6.egg/
> djblets/webapi/core.py", line 164, in __encode
>     return self.__encode(result, *args, **kwargs)
>   File "/usr/local/lib/python2.6/dist-packages/Djblets-0.6.4-py2.6.egg/
> djblets/webapi/core.py", line 136, in __encode
>     self.__encode(value, *args, **kwargs)
>   File "/usr/local/lib/python2.6/dist-packages/Djblets-0.6.4-py2.6.egg/
> djblets/webapi/core.py", line 162, in __encode
>     raise TypeError("%r is not XML serializable" % (o,))
> TypeError: 1L is not XML serializable
>
> --
> Want to help the Review Board project? Donate today at 
> http://www.reviewboard.org/donate/
> Happy user? Let us know at http://www.reviewboard.org/users/
> -~----------~----~----~----~------~----~------~--~---
> To unsubscribe from this group, send email to 
> reviewboard+unsubscr...@googlegroups.com
> For more options, visit this group at 
> http://groups.google.com/group/reviewboard?hl=en

-- 
-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~----------~----~----~----~------~----~------~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Reply via email to