Can you tell us how the repository is configured?

-David

On Tue, Dec 19, 2017 at 4:18 AM Narayan kumar Ch <narayan....@gmail.com>
wrote:

> Hello,
>
> I am getting same issue with ReviewBoard version 2.5.13.1.
>
> Log Debug Level:
>
> 2017-11-22 14:49:20,660 - ERROR -  - root - Unable to update new review
> request from commit ID 07ddecf6da9885ee878d4bcf0130ce6a1a4a2455 on
> repository ID=57: 'ascii' codec can't decode byte 0xe2 in position 93315:
> ordinal not in range(128)
>
> Traceback (most recent call last):
>   File
> "/usr/lib/python2.7/site-packages/ReviewBoard-2.5.13.1-py2.7.egg/reviewboard/reviews/managers.py",
> line 156, in create
>     draft.update_from_commit_id(commit_id)
>   File
> "/usr/lib/python2.7/site-packages/ReviewBoard-2.5.13.1-py2.7.egg/reviewboard/reviews/models/review_request_draft.py",
> line 278, in update_from_commit_id
>     self.update_from_committed_change(commit_id)
>   File
> "/usr/lib/python2.7/site-packages/ReviewBoard-2.5.13.1-py2.7.egg/reviewboard/reviews/models/review_request_draft.py",
> line 346, in update_from_committed_change
>     diff_file_contents=commit.diff.encode('utf-8'),
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position
> 93315: ordinal not in range(128)
> 2017-11-22 14:49:20,663 - ERROR - None - aemops - /api/review-requests/ -
> djblets.log.middleware - Exception thrown for user aemops at
> http://reviews.techaspect.com/api/review-requests/
>
> 'ascii' codec can't decode byte 0xe2 in position 93315: ordinal not in
> range(128)
>
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py",
> line 112, in get_response
>     response = wrapped_callback(request, callback_args, *callback_kwargs)
>   File
> "/usr/lib/python2.7/site-packages/django/views/decorators/cache.py", line
> 52, in _wrapped_view_func
>     response = view_func(request, args, *kwargs)
>   File "/usr/lib/python2.7/site-packages/django/views/decorators/vary.py",
> line 19, in inner_func
>     response = func(*args, **kwargs)
>   File
> "/usr/lib/python2.7/site-packages/Djblets-0.9.8-py2.7.egg/djblets/webapi/resources/base.py",
> line 199, in _call_
>     request, method, view, api_format=api_format, args, *kwargs)
>   File
> "/usr/lib/python2.7/site-packages/Djblets-0.9.8-py2.7.egg/djblets/webapi/resources/mixins/api_tokens.py",
> line 65, in call_method_view
>     return view(request, args, *kwargs)
>   File
> "/usr/lib/python2.7/site-packages/Djblets-0.9.8-py2.7.egg/djblets/webapi/resources/base.py",
> line 452, in post
>     return self.create(*args, **kwargs)
>   File
> "build/bdist.macosx-10.6-intel/egg/rbpowerpack/hostingsvcs/hooks.py", line
> 86, in _api_create
>   File
> "/usr/lib/python2.7/site-packages/Djblets-0.9.8-py2.7.egg/djblets/webapi/decorators.py",
> line 125, in _call
>     return view_func(*args, **kwargs)
>   File
> "/usr/lib/python2.7/site-packages/ReviewBoard-2.5.13.1-py2.7.egg/reviewboard/webapi/decorators.py",
> line 139, in _check
>     return view_func(*args, **kwargs)
>   File
> "/usr/lib/python2.7/site-packages/Djblets-0.9.8-py2.7.egg/djblets/webapi/decorators.py",
> line 125, in _call
>     return view_func(*args, **kwargs)
>   File
> "/usr/lib/python2.7/site-packages/Djblets-0.9.8-py2.7.egg/djblets/webapi/decorators.py",
> line 146, in _checklogin
>     return view_func(*args, **kwargs)
>   File
> "/usr/lib/python2.7/site-packages/Djblets-0.9.8-py2.7.egg/djblets/webapi/decorators.py",
> line 125, in _call
>     return view_func(*args, **kwargs)
>   File
> "/usr/lib/python2.7/site-packages/Djblets-0.9.8-py2.7.egg/djblets/webapi/decorators.py",
> line 125, in _call
>     return view_func(*args, **kwargs)
>   File
> "/usr/lib/python2.7/site-packages/Djblets-0.9.8-py2.7.egg/djblets/webapi/decorators.py",
> line 310, in _validate
>     return view_func(*args, **new_kwargs)
>   File
> "/usr/lib/python2.7/site-packages/ReviewBoard-2.5.13.1-py2.7.egg/reviewboard/webapi/resources/review_request.py",
> line 719, in create
>     create_from_commit_id=create_from_commit_id)
>   File
> "build/bdist.macosx-10.6-intel/egg/rbpowerpack/hostingsvcs/hooks.py", line
> 82, in _create_review_request
>   File
> "/usr/lib/python2.7/site-packages/ReviewBoard-2.5.13.1-py2.7.egg/reviewboard/reviews/managers.py",
> line 156, in create
>     draft.update_from_commit_id(commit_id)
>   File
> "/usr/lib/python2.7/site-packages/ReviewBoard-2.5.13.1-py2.7.egg/reviewboard/reviews/models/review_request_draft.py",
> line 278, in update_from_commit_id
>     self.update_from_committed_change(commit_id)
>   File
> "/usr/lib/python2.7/site-packages/ReviewBoard-2.5.13.1-py2.7.egg/reviewboard/reviews/models/review_request_draft.py",
> line 346, in update_from_committed_change
>     diff_file_contents=commit.diff.encode('utf-8'),
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position
> 93315: ordinal not in range(128)
>
> On Monday, 19 December 2016 20:30:24 UTC+5:30, chris...@uncinc.nl wrote:
>>
>> Hi!
>>
>> After trying out reviewboard we struggle to be able to post a review via
>> the web interface on base of a commit. The error in the server log is the
>> following:
>>
>> 2016-12-19 14:24:08,215 - DEBUG -  - Logging to
>> /var/www/<REDACTED>/logs/reviewboard.log with a minimum level of DEBUG
>> 2016-12-19 14:24:08,571 - ERROR -  - Unable to update new review request
>> from commit ID de32e07abc2f2152eea5b7b1b43cb66002146143
>> <(600)%20214-6143>: 'ascii' codec can't decode byte 0xe2 in position
>> 3078: ordinal not in range(128)
>> Traceback (most recent call last):
>>   File
>> "/usr/local/lib/python2.7/dist-packages/reviewboard/reviews/managers.py",
>> line 150, in create
>>     review_request.update_from_commit_id(commit_id)
>>   File
>> "/usr/local/lib/python2.7/dist-packages/reviewboard/reviews/models/base_review_request_details.py",
>> line 221, in update_from_commit_id
>>     self.update_from_committed_change(commit_id)
>>   File
>> "/usr/local/lib/python2.7/dist-packages/reviewboard/reviews/models/base_review_request_details.py",
>> line 278, in update_from_committed_change
>>     diff_file_contents=commit.diff.encode('utf-8'),
>> UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position
>> 3078: ordinal not in range(128)
>>
>> We use Gitlab, please let me know if I am able to provide you with any
>> more information.
>>
>> Kind regards,
>>
>> Christiaan
>>
> --
> Supercharge your Review Board with Power Pack:
> https://www.reviewboard.org/powerpack/
> Want us to host Review Board for you? Check out RBCommons:
> https://rbcommons.com/
> Happy user? Let us know! https://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 reviewboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://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 reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to