Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 2295 by frank.li...@gmail.com: Encoding Error for ReviewBoard
1.6.1 on Windows XP
http://code.google.com/p/reviewboard/issues/detail?id=2295
* NOTE: Do not post confidential information in this bug report. *
* If you need immediate support, please contact *
* reviewbo...@googlegroups.com *
What version are you running?
1.6.1
What's the URL of the page containing the problem?
while adding a new subversion repository
What steps will reproduce the problem?
1.Create a new subversion repository
2.click save button
What is the expected output? What do you see instead?
add repository success
but I got the messageļ¼
Something broke! (Error 500)
It appears something broke when you tried to go to here. This is either a
bug in Review Board or a server configuration error. Please report this to
your administrator.
What operating system are you using? What browser?
windows xp firefox
Please provide any additional information below.
I got from log file:
Internal Server Error: /reviews/admin/db/scmtools/repository/add/
Traceback (most recent call last):
File "c:\python25\lib\site-packages\django-1.3.1-py2.5.egg\django\core\handlers\base.py",
line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "c:\python25\lib\site-packages\django-1.3.1-py2.5.egg\django\contrib\admin\options.py",
line 307, in wrapper
return self.admin_site.admin_view(view)(*args, **kwargs)
File "c:\python25\lib\site-packages\django-1.3.1-py2.5.egg\django\utils\decorators.py",
line 93, in _wrapped_view
response = view_func(request, *args, **kwargs)
File "c:\python25\lib\site-packages\django-1.3.1-py2.5.egg\django\views\decorators\cache.py",
line 79, in _wrapped_view_func
response = view_func(request, *args, **kwargs)
File "c:\python25\lib\site-packages\django-1.3.1-py2.5.egg\django\contrib\admin\sites.py",
line 197, in inner
return view(request, *args, **kwargs)
File "c:\python25\lib\site-packages\django-1.3.1-py2.5.egg\django\utils\decorators.py",
line 28, in _wrapper
return bound_func(*args, **kwargs)
File "c:\python25\lib\site-packages\django-1.3.1-py2.5.egg\django\utils\decorators.py",
line 93, in _wrapped_view
response = view_func(request, *args, **kwargs)
File "c:\python25\lib\site-packages\django-1.3.1-py2.5.egg\django\utils\decorators.py",
line 24, in bound_func
return func(self, *args2, **kwargs2)
File "c:\python25\lib\site-packages\django-1.3.1-py2.5.egg\django\db\transaction.py",
line 217, in inner
res = func(*args, **kwargs)
File "c:\python25\lib\site-packages\django-1.3.1-py2.5.egg\django\contrib\admin\options.py",
line 864, in add_view
if form.is_valid():
File "c:\python25\lib\site-packages\ReviewBoard-1.6.1-py2.5.egg\reviewboard\scmtools\forms.py",
line 613, in is_valid
return (super(RepositoryForm, self).is_valid() and
File "c:\python25\lib\site-packages\django-1.3.1-py2.5.egg\django\forms\forms.py",
line 121, in is_valid
return self.is_bound and not bool(self.errors)
File "c:\python25\lib\site-packages\django-1.3.1-py2.5.egg\django\forms\forms.py",
line 112, in _get_errors
self.full_clean()
File "c:\python25\lib\site-packages\ReviewBoard-1.6.1-py2.5.egg\reviewboard\scmtools\forms.py",
line 532, in full_clean
return super(RepositoryForm, self).full_clean()
File "c:\python25\lib\site-packages\django-1.3.1-py2.5.egg\django\forms\forms.py",
line 268, in full_clean
self._clean_form()
File "c:\python25\lib\site-packages\django-1.3.1-py2.5.egg\django\forms\forms.py",
line 296, in _clean_form
self.cleaned_data = self.clean()
File "c:\python25\lib\site-packages\ReviewBoard-1.6.1-py2.5.egg\reviewboard\scmtools\forms.py",
line 555, in clean
self._verify_repository_path()
File "c:\python25\lib\site-packages\ReviewBoard-1.6.1-py2.5.egg\reviewboard\scmtools\forms.py",
line 739, in _verify_repository_path
raise forms.ValidationError(e)
File "c:\python25\lib\site-packages\django-1.3.1-py2.5.egg\django\core\exceptions.py",
line 60, in __init__
message = force_unicode(message)
File "c:\python25\lib\site-packages\django-1.3.1-py2.5.egg\django\utils\encoding.py",
line 101, in force_unicode
errors) for arg in s])
File "c:\python25\lib\site-packages\django-1.3.1-py2.5.egg\django\utils\encoding.py",
line 93, in force_unicode
raise DjangoUnicodeDecodeError(s, *e.args)
DjangoUnicodeDecodeError: 'utf8' codec can't decode bytes in position
17-18: invalid data. You passed in 'DLL load failed:
\xd5\xd2\xb2\xbb\xb5\xbd\xd6\xb8\xb6\xa8\xb5\xc4\xb3\xcc\xd0\xf2\xa1\xa3'
(<type 'str'>)
--
You received this message because you are subscribed to the Google Groups
"reviewboard-issues" group.
To post to this group, send email to reviewboard-issues@googlegroups.com.
To unsubscribe from this group, send email to
reviewboard-issues+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/reviewboard-issues?hl=en.