Comment #8 on issue 3425 by sanford....@gmail.com: PySVN, UTF-8 file with svn:keywords set raises exception trying to upload diff.
https://code.google.com/p/reviewboard/issues/detail?id=3425

Sorry! There it is:


2014-09-15 12:25:21,187 - INFO - - Using reviewboard.scmtools.svn.pysvn backend for SVN 2014-09-15 12:25:21,295 - ERROR - None - svn - /api/review-requests/3267/diffs/ - Error uploading new diff: 'ascii' codec can't decode byte 0xef in position 30: ordinal not in range(128)
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.6-py2.7.egg/reviewboard/webapi/resources/diff.py", line 292, in create
    request.FILES.get('parent_diff_path'))
File "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.6-py2.7.egg/reviewboard/reviews/forms.py", line 116, in create
    history)
File "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.6-py2.7.egg/reviewboard/diffviewer/forms.py", line 69, in create
    request=self.request)
File "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.6-py2.7.egg/reviewboard/diffviewer/managers.py", line 156, in create_from_upload
    save=save)
File "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.6-py2.7.egg/reviewboard/diffviewer/managers.py", line 182, in create_from_data
    check_existence=(not parent_diff_file_contents)))
File "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.6-py2.7.egg/reviewboard/diffviewer/managers.py", line 300, in _process_files
    request=request))):
File "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.6-py2.7.egg/reviewboard/scmtools/models.py", line 272, in get_file_exists
    base_commit_id, request)
File "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.6-py2.7.egg/reviewboard/scmtools/models.py", line 473, in _get_file_exists_uncached
    exists = self.get_scmtool().file_exists(path, revision)
File "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.6-py2.7.egg/reviewboard/scmtools/core.py", line 156, in file_exists
    self.get_file(path, revision)
File "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.6-py2.7.egg/reviewboard/scmtools/svn/__init__.py", line 117, in get_file
    return self.client.get_file(path, revision)
File "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.6-py2.7.egg/reviewboard/scmtools/svn/pysvn.py", line 105, in get_file
    return self._do_on_path(self._get_file_data, path, revision)
File "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.6-py2.7.egg/reviewboard/scmtools/svn/pysvn.py", line 77, in _do_on_path
    raise FileNotFoundError(path, revision, detail=exc)
File "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.6-py2.7.egg/reviewboard/scmtools/errors.py", line 71, in __init__
    'revision': revision,
UnicodeDecodeError: 'ascii' codec can't decode byte 0xef in position 30: 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.

Reply via email to