No space. I tried to put windows-1252 as Christian mentioned, it solves the
problem !
Note that the diff files are generated by eclipse on Windows machines. My
SVN server is on a linux one.
I still have a similar problem : when I try to create a request from a
commited change, i get an 500 error and receive the following error :
Traceback (most recent call last):
File
"/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/core/handlers/base.py",
line 112, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File
"/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/views/decorators/cache.py",
line 52, in _wrapped_view_func
response = view_func(request, *args, **kwargs)
File
"/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/views/decorators/vary.py",
line 19, in inner_func
response = func(*args, **kwargs)
File
"/usr/local/lib/python2.7/dist-packages/Djblets-0.8.1-py2.7.egg/djblets/webapi/resources.py",
line 451, in __call__
result = view(request, api_format=api_format, *args, **kwargs)
File
"/usr/local/lib/python2.7/dist-packages/Djblets-0.8.1-py2.7.egg/djblets/webapi/resources.py",
line 672, in post
return self.create(*args, **kwargs)
File
"/usr/local/lib/python2.7/dist-packages/Djblets-0.8.1-py2.7.egg/djblets/webapi/decorators.py",
line 115, in _call
return view_func(*args, **kwargs)
File
"/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.1-py2.7.egg/reviewboard/webapi/decorators.py",
line 110, in _check
return view_func(*args, **kwargs)
File
"/usr/local/lib/python2.7/dist-packages/Djblets-0.8.1-py2.7.egg/djblets/webapi/decorators.py",
line 115, in _call
return view_func(*args, **kwargs)
File
"/usr/local/lib/python2.7/dist-packages/Djblets-0.8.1-py2.7.egg/djblets/webapi/decorators.py",
line 136, in _checklogin
return view_func(*args, **kwargs)
File
"/usr/local/lib/python2.7/dist-packages/Djblets-0.8.1-py2.7.egg/djblets/webapi/decorators.py",
line 115, in _call
return view_func(*args, **kwargs)
File
"/usr/local/lib/python2.7/dist-packages/Djblets-0.8.1-py2.7.egg/djblets/webapi/decorators.py",
line 115, in _call
return view_func(*args, **kwargs)
File
"/usr/local/lib/python2.7/dist-packages/Djblets-0.8.1-py2.7.egg/djblets/webapi/decorators.py",
line 285, in _validate
return view_func(*args, **new_kwargs)
File
"/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.1-py2.7.egg/reviewboard/webapi/resources/review_request.py",
line 564, in create
create_from_commit_id=create_from_commit_id)
File
"/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.1-py2.7.egg/reviewboard/reviews/managers.py",
line 135, in create
review_request.update_from_commit_id(commit_id)
File
"/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.1-py2.7.egg/reviewboard/reviews/models/base_review_request_details.py",
line 186, in update_from_commit_id
self.update_from_committed_change(commit_id)
File
"/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.1-py2.7.egg/reviewboard/reviews/models/base_review_request_details.py",
line 233, in update_from_committed_change
commit = self.repository.get_change(commit_id)
File
"/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.1-py2.7.egg/reviewboard/scmtools/models.py",
line 299, in get_change
return self.get_scmtool().get_change(revision)
File
"/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.1-py2.7.egg/reviewboard/scmtools/svn/__init__.py",
line 133, in get_change
return self.client.get_change(revision, cache_key)
File
"/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.1-py2.7.egg/reviewboard/scmtools/svn/pysvn.py",
line 213, in get_change
diff_options=['-u']).decode('utf-8')
File "/usr/lib/python2.7/encodings/utf_8.py", line 16, in decode
return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xea in position 5092:
invalid continuation byte
Le mardi 3 juin 2014 09:31:23 UTC+2, David Trowbridge a écrit :
>
> Can you check to make sure that there's not a space in there?
>
> -David
>
>
> On Tue, Jun 3, 2014 at 12:28 AM, Roudaille77 <[email protected]
> <javascript:>> wrote:
>
>> This field is blank !
>>
>> Le lundi 2 juin 2014 21:36:32 UTC+2, David Trowbridge a écrit :
>>>
>>> Can you tell us what's in the "Encoding" field (under "Advanced
>>> Settings") in the repository admin?
>>>
>>> -David
>>>
>>>
>>> On Mon, Jun 2, 2014 at 7:53 AM, Roudaille77 <[email protected]> wrote:
>>>
>>>> Hello,
>>>>
>>>> I have just updated my ReviewBoard site but I can't visualize the
>>>> Subversion diff anymore...
>>>> I can see :
>>>>
>>>> There was an error displaying this diff.
>>>>
>>>> Traceback (most recent call last):
>>>> File
>>>> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.1-py2.7.egg/reviewboard/diffviewer/views.py",
>>>> line 236, in get
>>>> renderer = self.create_renderer(context, *args, **kwargs)
>>>> File
>>>> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.1-py2.7.egg/reviewboard/reviews/views.py",
>>>> line 1102, in create_renderer
>>>> *args, **kwargs)
>>>> File
>>>> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.1-py2.7.egg/reviewboard/diffviewer/views.py",
>>>> line 326, in create_renderer
>>>> self.diff_file = self._get_requested_diff_file()
>>>> File
>>>> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.1-py2.7.egg/reviewboard/diffviewer/views.py",
>>>> line 367, in _get_requested_diff_file
>>>> request=self.request)
>>>> File
>>>> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.1-py2.7.egg/reviewboard/diffviewer/diffutils.py",
>>>> line 373, in populate_diff_chunks
>>>> chunks = generator.get_chunks()
>>>> File
>>>> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.1-py2.7.egg/reviewboard/diffviewer/chunk_generator.py",
>>>> line 148, in get_chunks
>>>> large_data=True)
>>>> File
>>>> "/usr/local/lib/python2.7/dist-packages/Djblets-0.8.1-py2.7.egg/djblets/cache/backend.py",
>>>> line 109, in cache_memoize
>>>> data = lookup_callable()
>>>> File
>>>> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.1-py2.7.egg/reviewboard/diffviewer/chunk_generator.py",
>>>> line 147, in <lambda>
>>>> lambda: list(self._get_chunks_uncached()),
>>>> File
>>>> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.1-py2.7.egg/reviewboard/diffviewer/chunk_generator.py",
>>>> line 154, in _get_chunks_uncached
>>>> old = get_original_file(self.filediff, self.request, encoding_list)
>>>> File
>>>> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.1-py2.7.egg/reviewboard/diffviewer/diffutils.py",
>>>> line 172, in get_original_file
>>>> encoding, data = convert_to_unicode(data, encoding_list)
>>>> File
>>>> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.1-py2.7.egg/reviewboard/diffviewer/diffutils.py",
>>>> line 50, in convert_to_unicode
>>>> return e, six.text_type(s, e)
>>>> LookupError: unknown encoding:
>>>>
>>>> Any idea ?
>>>>
>>>> --
>>>> Get the Review Board Power Pack at http://www.reviewboard.org/
>>>> powerpack/
>>>> ---
>>>> Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
>>>> ---
>>>> Happy user? Let us know at http://www.reviewboard.org/users/
>>>> ---
>>>> You received this message because you are subscribed to the Google
>>>> Groups "reviewboard" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to [email protected].
>>>>
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>> --
>> Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
>> ---
>> Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
>> ---
>> Happy user? Let us know at http://www.reviewboard.org/users/
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "reviewboard" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
--
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
---
You received this message because you are subscribed to the Google Groups
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.