I am able to fix this locally if I do not convert the password with 'six.text_type'. Is this an okay, workaround for the short term?
* class Client(base.Client):* * 31 required_module = 'pysvn'* * 32* * 33 def __init__(self, config_dir, repopath, username=None, password=None):* * 34 super(Client, self).__init__(config_dir, repopath, username, password)* * 35 self.client = pysvn.Client(config_dir)* * 36* * 37 if username:* * 38 self.client.set_default_username(six.text_type(username))* * 39* * 40 if password:* * 41 self.client.set_default_password(password)* * 42* * 43 def set_ssl_server_trust_prompt(self, cb):* * 44 self.client.callback_ssl_server_trust_prompt = cb* On Thu, Mar 17, 2016 at 10:43 AM, Jim H <jim.locat...@gmail.com> wrote: > I've created this ticket: https://hellosplat.com/s/beanbag/tickets/4369/ > > On Wednesday, March 16, 2016 at 6:14:50 PM UTC-4, David Trowbridge wrote: >> >> Looks like a bug. Would you mind filing it at >> https://hellosplat.com/s/beanbag/tickets/new/?project=reviewboard ? >> >> Thanks, >> -David >> >> On Wed, Mar 16, 2016 at 2:21 PM Jim H <jim.lo...@gmail.com> wrote: >> >>> *When clicking on certain resources I'm seeing some of these errors in >>> the backend (not all)...* >>> >>> File >>> "/wayfair/pkg/python2.7/Python-2.7.3/lib/python2.7/site-packages/ReviewBoard-2.5.3-py2.7.egg/reviewboard/scmtools/svn/__init__.py", >>> line 451, in build_client >>> client = Client(config_dir, repopath, username, password) >>> File >>> "/wayfair/pkg/python2.7/Python-2.7.3/lib/python2.7/site-packages/ReviewBoard-2.5.3-py2.7.egg/reviewboard/scmtools/svn/pysvn.py", >>> line 41, in __init__ >>> self.client.set_default_password(six.text_type(password)) >>> UnicodeDecodeError: 'ascii' codec can't decode byte 0xb8 in position 0: >>> ordinal not in range(128) >>> >>> *Has anyone come accross this. It seems like it may be a red herring >>> related to SVN not being configured correctly, but not sure.* >>> >>> *Full stack trace...* >>> >>> Traceback (most recent call last): >>> File >>> "/wayfair/pkg/python2.7/Python-2.7.3/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/core/handlers/base.py", >>> line 112, in get_response >>> response = wrapped_callback(request, *callback_args, >>> **callback_kwargs) >>> File >>> "/wayfair/pkg/python2.7/Python-2.7.3/lib/python2.7/site-packages/ReviewBoard-2.5.3-py2.7.egg/reviewboard/accounts/decorators.py", >>> line 25, in _check >>> return view_func(*args, **kwargs) >>> File >>> "/wayfair/pkg/python2.7/Python-2.7.3/lib/python2.7/site-packages/ReviewBoard-2.5.3-py2.7.egg/reviewboard/site/decorators.py", >>> line 35, in _check >>> return view_func(request, local_site=local_site, *args, **kwargs) >>> File >>> "/wayfair/pkg/python2.7/Python-2.7.3/lib/python2.7/site-packages/ReviewBoard-2.5.3-py2.7.egg/reviewboard/reviews/views.py", >>> line 781, in review_detail >>> 'screenshots': screenshots, >>> File >>> "/wayfair/pkg/python2.7/Python-2.7.3/lib/python2.7/site-packages/ReviewBoard-2.5.3-py2.7.egg/reviewboard/reviews/context.py", >>> line 98, in make_review_request_context >>> upload_diff_form = UploadDiffForm(review_request, request=request) >>> File >>> "/wayfair/pkg/python2.7/Python-2.7.3/lib/python2.7/site-packages/ReviewBoard-2.5.3-py2.7.egg/reviewboard/reviews/forms.py", >>> line 95, in __init__ >>> data, *args, **kwargs) >>> File >>> "/wayfair/pkg/python2.7/Python-2.7.3/lib/python2.7/site-packages/ReviewBoard-2.5.3-py2.7.egg/reviewboard/diffviewer/forms.py", >>> line 41, in __init__ >>> if self.repository.get_scmtool().get_diffs_use_absolute_paths(): >>> File >>> "/wayfair/pkg/python2.7/Python-2.7.3/lib/python2.7/site-packages/ReviewBoard-2.5.3-py2.7.egg/reviewboard/scmtools/models.py", >>> line 231, in get_scmtool >>> return cls(self) >>> File >>> "/wayfair/pkg/python2.7/Python-2.7.3/lib/python2.7/site-packages/ReviewBoard-2.5.3-py2.7.egg/reviewboard/scmtools/svn/__init__.py", >>> line 74, in __init__ >>> local_site_name) >>> File >>> "/wayfair/pkg/python2.7/Python-2.7.3/lib/python2.7/site-packages/ReviewBoard-2.5.3-py2.7.egg/reviewboard/scmtools/svn/__init__.py", >>> line 451, in build_client >>> client = Client(config_dir, repopath, username, password) >>> File >>> "/wayfair/pkg/python2.7/Python-2.7.3/lib/python2.7/site-packages/ReviewBoard-2.5.3-py2.7.egg/reviewboard/scmtools/svn/pysvn.py", >>> line 41, in __init__ >>> self.client.set_default_password(six.text_type(password)) >>> UnicodeDecodeError: 'ascii' codec can't decode byte 0xb8 in position 0: >>> ordinal not in range(128) >>> >>> -- >>> 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...@googlegroups.com. >>> For more options, visit https://groups.google.com/d/optout. >>> >> -- >> -David >> > -- > 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.