Hi, I just ran in the next related problem.
Now the Admin/System Information/Server Log is crashing with 'ascii' codec can't decode byte 0xc3 in position 53: ordinal not in range(128) Traceback (most recent call last): File "C:\Python27\lib\site-packages\django-1.6.10-py2.7.egg\django\core\handlers\base.py", line 112, in get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "C:\Python27\lib\site-packages\django-1.6.10-py2.7.egg\django\contrib\admin\views\decorators.py", line 17, in _checklogin return view_func(request, *args, **kwargs) File "C:\Python27\lib\site-packages\djblets-0.8.15-py2.7.egg\djblets\log\views.py", line 277, in server_log 'sort_type': sort_type, File "C:\Python27\lib\site-packages\django-1.6.10-py2.7.egg\django\shortcuts\__init__.py", line 29, in render_to_response return HttpResponse(loader.render_to_string(*args, **kwargs), **httpresponse_kwargs) File "C:\Python27\lib\site-packages\django-1.6.10-py2.7.egg\django\template\loader.py", line 164, in render_to_string return t.render(Context(dictionary)) File "C:\Python27\lib\site-packages\django-1.6.10-py2.7.egg\django\template\base.py", line 140, in render return self._render(context) File "C:\Python27\lib\site-packages\django-1.6.10-py2.7.egg\django\template\base.py", line 134, in _render return self.nodelist.render(context) File "C:\Python27\lib\site-packages\django-1.6.10-py2.7.egg\django\template\base.py", line 840, in render bit = self.render_node(node, context) File "C:\Python27\lib\site-packages\django-1.6.10-py2.7.egg\django\template\base.py", line 854, in render_node return node.render(context) File "C:\Python27\lib\site-packages\django-1.6.10-py2.7.egg\django\template\loader_tags.py", line 123, in render return compiled_parent._render(context) File "C:\Python27\lib\site-packages\django-1.6.10-py2.7.egg\django\template\base.py", line 134, in _render return self.nodelist.render(context) File "C:\Python27\lib\site-packages\django-1.6.10-py2.7.egg\django\template\base.py", line 840, in render bit = self.render_node(node, context) File "C:\Python27\lib\site-packages\django-1.6.10-py2.7.egg\django\template\base.py", line 854, in render_node return node.render(context) File "C:\Python27\lib\site-packages\django-1.6.10-py2.7.egg\django\template\loader_tags.py", line 123, in render return compiled_parent._render(context) File "C:\Python27\lib\site-packages\django-1.6.10-py2.7.egg\django\template\base.py", line 134, in _render return self.nodelist.render(context) File "C:\Python27\lib\site-packages\django-1.6.10-py2.7.egg\django\template\base.py", line 840, in render bit = self.render_node(node, context) File "C:\Python27\lib\site-packages\django-1.6.10-py2.7.egg\django\template\base.py", line 854, in render_node return node.render(context) File "C:\Python27\lib\site-packages\django-1.6.10-py2.7.egg\django\template\loader_tags.py", line 62, in render result = block.nodelist.render(context) File "C:\Python27\lib\site-packages\django-1.6.10-py2.7.egg\django\template\base.py", line 840, in render bit = self.render_node(node, context) File "C:\Python27\lib\site-packages\django-1.6.10-py2.7.egg\django\template\base.py", line 854, in render_node return node.render(context) File "C:\Python27\lib\site-packages\django-1.6.10-py2.7.egg\django\template\loader_tags.py", line 62, in render result = block.nodelist.render(context) File "C:\Python27\lib\site-packages\django-1.6.10-py2.7.egg\django\template\base.py", line 840, in render bit = self.render_node(node, context) File "C:\Python27\lib\site-packages\django-1.6.10-py2.7.egg\django\template\base.py", line 854, in render_node return node.render(context) File "C:\Python27\lib\site-packages\django-1.6.10-py2.7.egg\django\template\defaulttags.py", line 155, in render values = list(values) File "C:\Python27\lib\site-packages\djblets-0.8.15-py2.7.egg\djblets\log\views.py", line 148, in iter_log_lines line_info[2] + "\n" + line) UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 53: ordinal not in range(128) In the meanwhile I figured out, that the root cause is my german windows which is logging an exception using the Umlaut Ü: WindowsError: [Error 267] Der Verzeichnisname ist ungültig There might be a lot more unfound problems. I know Windows is not supported anymore but maybe you can at least write a hint into the installation Wiki that an English windows installation is recommended. Best regards, Stefan On Thursday, 19 February 2015 13:31:53 UTC+1, Stefan Seeger wrote: > > Hi, > > I'm using Windows x64 with Python2.7.9 x64. > > When calling http://localhost/reviewboard/r/new/ I'm receiving an *internal > server error 500.* > > In the reviewboard.log I have the following trace. > > 'ascii' codec can't decode byte 0xfc in position 39: ordinal not in >> range(128) >> Traceback (most recent call last): >> File >> "C:\Python27\lib\site-packages\django-1.6.10-py2.7.egg\django\core\handlers\base.py", >> >> line 112, in get_response >> response = wrapped_callback(request, *callback_args, >> **callback_kwargs) >> File >> "C:\Python27\lib\site-packages\django-1.6.10-py2.7.egg\django\contrib\auth\decorators.py", >> >> line 22, in _wrapped_view >> return view_func(request, *args, **kwargs) >> File >> "C:\Python27\lib\site-packages\reviewboard-2.0.13-py2.7.egg\reviewboard\site\decorators.py", >> >> line 35, in _check >> return view_func(request, local_site=local_site, *args, **kwargs) >> File >> "C:\Python27\lib\site-packages\reviewboard-2.0.13-py2.7.egg\reviewboard\reviews\views.py", >> >> line 260, in new_review_request >> '%s (ID %d): %s' % (repo.name.encode('utf-8'), repo.id, e), >> UnicodeDecodeError: 'ascii' codec can't decode byte 0xfc in position 39: >> ordinal not in range(128) > > > The effected code is the following: > for repo in repos.order_by('name'): > try: > scmtool = repo.get_scmtool() > valid_repos.append({ > 'id': repo.id, > 'name': repo.name, > 'scmtool_name': scmtool.name, > 'supports_post_commit': repo.supports_post_commit, > 'local_site_name': local_site_name, > 'files_only': False, > 'requires_change_number': scmtool. > supports_pending_changesets, > 'requires_basedir': not scmtool. > get_diffs_use_absolute_paths(), > }) > except Exception as e: > logging.error('Error loading SCMTool for repository ' > '%s (ID %d): %s' % (repo.name, repo.id, e), #ERROR > HERE > exc_info=1) > > When I simply replace the lines with the following it works without a > problem. > except Exception as e: > logging.error('Error loading SCMTool for repository ') > > Since I'm not really into Python, I was not able to do a more sensefully > fix. > > I bet you will find a better solution. > Best regards, Stefan > -- 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.