Comment #6 on issue 3784 by msu...@aurea.com: Internal Error Publishing
Review due to character encoding
https://code.google.com/p/reviewboard/issues/detail?id=3784
Here is the code that I ran:
logging.error("display_id = %s\nsummary = %s",
type(review_request.display_id), type(review_request.summary))
subject = "Review Request %d: %s" % (review_request.display_id,
review_request.summary)
Here is the output:
2015-02-24 22:22:11,828 - DEBUG - - DiffParser.parse: Beginning parse of
diff, size = 108772
2015-02-24 22:22:11,845 - DEBUG - - DiffParser.parse: Finished parsing
diff.
2015-02-24 22:23:03,588 - ERROR - - display_id = <type 'long'>
summary = <type 'str'>
2015-02-24 22:23:03,588 - ERROR - - Exception thrown for user msunde at
http://review.aurea.local/api/review-requests/936/draft/
'ascii' codec can't decode byte 0xc3 in position 101: ordinal not in
range(128)
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/Django-1.6.9-py2.6.egg/django/core/handlers/base.py",
line 112, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/usr/lib/python2.6/site-packages/Django-1.6.9-py2.6.egg/django/views/decorators/cache.py",
line 52, in _wrapped_view_func
response = view_func(request, *args, **kwargs)
File "/usr/lib/python2.6/site-packages/Django-1.6.9-py2.6.egg/django/views/decorators/vary.py",
line 19, in inner_func
response = func(*args, **kwargs)
File "/usr/lib/python2.6/site-packages/Djblets-0.8.14-py2.6.egg/djblets/webapi/resources.py",
line 496, in __call__
request, method, view, api_format=api_format, *args, **kwargs)
File "/usr/lib/python2.6/site-packages/Djblets-0.8.14-py2.6.egg/djblets/webapi/resources.py",
line 567, in call_method_view
return view(request, *args, **kwargs)
File "/usr/lib/python2.6/site-packages/Djblets-0.8.14-py2.6.egg/djblets/webapi/resources.py",
line 764, in put
return self.update(request, *args, **kwargs)
File "/usr/lib/python2.6/site-packages/Djblets-0.8.14-py2.6.egg/djblets/webapi/decorators.py",
line 117, in _call
return view_func(*args, **kwargs)
File "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.12-py2.6.egg/reviewboard/webapi/decorators.py",
line 110, in _check
return view_func(*args, **kwargs)
File "/usr/lib/python2.6/site-packages/Djblets-0.8.14-py2.6.egg/djblets/webapi/decorators.py",
line 117, in _call
return view_func(*args, **kwargs)
File "/usr/lib/python2.6/site-packages/Djblets-0.8.14-py2.6.egg/djblets/webapi/decorators.py",
line 138, in _checklogin
return view_func(*args, **kwargs)
File "/usr/lib/python2.6/site-packages/Djblets-0.8.14-py2.6.egg/djblets/webapi/decorators.py",
line 117, in _call
return view_func(*args, **kwargs)
File "/usr/lib/python2.6/site-packages/Djblets-0.8.14-py2.6.egg/djblets/webapi/decorators.py",
line 117, in _call
return view_func(*args, **kwargs)
File "/usr/lib/python2.6/site-packages/Djblets-0.8.14-py2.6.egg/djblets/webapi/decorators.py",
line 287, in _validate
return view_func(*args, **new_kwargs)
File "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.12-py2.6.egg/reviewboard/webapi/resources/review_request_draft.py",
line 481, in update
review_request.publish(user=request.user)
File "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.12-py2.6.egg/reviewboard/reviews/models/review_request.py",
line 793, in publish
changedesc=changes)
File "/usr/lib/python2.6/site-packages/Django-1.6.9-py2.6.egg/django/dispatch/dispatcher.py",
line 185, in send
response = receiver(signal=self, sender=sender, **named)
File "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.12-py2.6.egg/reviewboard/notifications/email.py",
line 46, in review_request_published_cb
mail_review_request(review_request, changedesc)
File "/usr/lib/python2.6/site-packages/ReviewBoard-2.0.12-py2.6.egg/reviewboard/notifications/email.py",
line 330, in mail_review_request
review_request.summary)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 101:
ordinal not in range(128)
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
You received this message because you are subscribed to the Google Groups
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to reviewboard-issues+unsubscr...@googlegroups.com.
To post to this group, send email to reviewboard-issues@googlegroups.com.
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.