Re: Server 2.0.18: unable to reset password
This is a non-issue, didn't realize authentication was set to x.509. Please ignore.. again thanks for your time and support. -Renu On Thursday, 30 July 2015 04:06:13 UTC+5:30, Renu kumar Setty wrote: not at all. Thanks! -Renu On Thursday, 30 July 2015 03:47:52 UTC+5:30, David Trowbridge wrote: Are you sure you're not using the X509 backend (or some custom authentication backend)? -David On Wed, Jul 29, 2015 at 3:16 PM, Renu kumar Setty renukum...@gmail.com wrote: For now users are created and authenticated via ReviewBoard's user management. -Renu On Thursday, 30 July 2015 00:07:31 UTC+5:30, David Trowbridge wrote: What authentication backend are you using? -David On Wed, Jul 29, 2015 at 4:36 AM Renu kumar Setty renukum...@gmail.com wrote: Hello Barret, thanks for looking into this, please find below logs snippet: File /usr/lib/python2.6/site-packages/ReviewBoard-2.0.18-py2.6.egg/reviewboard/accounts/forms/pages.py, line 121, in clean_old_password if not backend.authenticate(self.user.username, password): TypeError: authenticate() takes at most 2 arguments (3 given) do you think I need to update on dependencies like python or django? regards Renu On Friday, 24 July 2015 22:25:50 UTC+5:30, Barret Rennie wrote: Hey there, I’m unable to reproduce this on a fresh install of 2.0.18. Can you get the Review Board logs that correspond to the 500? Regards, Barret On Fri, Jul 24, 2015 at 7:04 AM, Renu kumar Setty renukum...@gmail.com wrote: Review server: 2.0.18 I am unable to reset password from 'My account', it comes out with error: 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. Is this a known issue? do we have a workaround? any help is highly appreciated! -- 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. -- 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.
Re: Manual server updates required - Permission problems
On Wed, Jul 29, 2015 at 11:57 AM mi...@lastminuterecords.com wrote: Maybe not as specific as it should be, but: chcon -Rv --type=httpd_sys_content_t /var/www/ semanage fcontext -a -t httpd_sys_rw_content_t /var/www(/.*)? semanage fcontext -a -t httpd_sys_rw_content_t /var/www/ codereview.iacc.dis.gov(/.*)? semanage fcontext -a -t httpd_sys_rw_content_t /var/www/ codereview.iacc.dis.gov/data/(/.*)? semanage fcontext -a -t httpd_sys_rw_content_t /var/www/ codereview.iacc.dis.gov/htdocs/media/ext(/.*)? semanage fcontext -a -t httpd_sys_rw_content_t /var/www/ codereview.iacc.dis.gov/htdocs/static/ext(/.*)? restorecon -R -v /var/www/ OK, so part of the problem is that you installed into the /var/www directory. I've been trying to get /var/lib/reviewboard/sites/sitename made into the standard location for these, because it's much easier to create rules. (The /var/www path is assumed to have everything be HTML content by the default SELinux policy). If we install into a known reviewboard-specific path, the default policy on the system can understand it and apply the right rules without manual input. (Basically, the problem is that /var/www has no known structure that we can write rules for; everything just gets the default website rules). Note also that with recent versions of reviewboard, doing 'rb-site install sitename' (without an absolute path) will default to /var/lib/reviewboard/sites/sitename on Fedora/RHEL for this reason.) On Tuesday, June 25, 2013 at 11:27:06 AM UTC-5, Stephen Gallagher wrote: On 06/25/2013 12:24 PM, Matthew Woehlke wrote: On 2013-06-25 07:48, Stephen Gallagher wrote: Yeah, my TODO list includes working up some SELinux rules for ReviewBoard and getting rb-site to be capable of setting them up during installation. It's a pretty big task and low on my priority list right now, unfortunately. Heh. I'm running with SELinux enabled. I can probably dig up the relevant *compiled* rules if those are of any use. I think I deleted the 'source' files for them, however. (Yeah, bad decision in retrospect, but haven't gotten around to trying to recreate them.) I don't think there are actually very many (maybe four, but at least one is git specific; probably need additional rules for other VCS's). If you can figure out what they are, it would be a great start for me. I don't necessarily just need exception rules, though. We may want to introduce new SELinux types for rules so we keep things constrained. (Though since basically everything runs inside apache/mod_wsgi, we're probably going to end up mostly using apache rules). -- 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.
Re: restoring to 2.0.18 from 2.0.15 SQL backup
Hi David, First, to cover the PySVN vs. Subvertpy question, Subvertpy was only the default for the first release or two of 2.0.x. It had a lot of compatibility problems and broke in far too many situations, so we flipped the defaults. If it was working for you and you want to go back to it, you can set the following in settings_local.py: SVNTOOL_BACKENDS = [ 'reviewboard.scmtools.svn.subvertpy', 'reviewboard.scmtools.svn.pysvn', ] Alright, on to the problem at hand. Passwords for repositories are stored encrypted. Perhaps something went wrong between the dump and restore that broke this. Can you check your dump file and the contents in the database for the repository (scmtools_repository table) to see if it's the expected password in plain text, or if it's something encrypted that starts with a tab character? If it's neither, that's the problem. You can, in this case, change the stored password in the repository to your plain text password. The next time Review Board reads the password in for the repository, it will re-encrypt it. One more thing: Did you copy over the old site directory, or create a new one from scratch? Christian -- Christian Hammond - chip...@chipx86.com Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com On Thu, Jul 30, 2015 at 11:18 AM, David Carson dccar...@gmail.com wrote: I'm trying to restore a ReviewBoard server after a hardware system failure. This is a live system and I'm under pressure to get it back up. I'm very close to having it working, but I'm hitting a UnicodeDecodeError. (Yes, I know there are other topics on this forum regarding UnicodeDecodeError, but none of them seem quite the same as mine.) The new server is running 2.0.18. The old server was running 2.0.15. I think this may be part of the problem. I installed 2.0.18 using yum on CentOS 7.0. I then created the reviewboard database in mariadb (aka MySQL) and proceeded to restore the SQL backup from my old system. This went without any problems, to my great relief. I was expecting problems, since the backup is from an older version of RB. Then I ran `rb-site upgrade /path/to/rbsite`, also without any errors. The site displays fine. I can do various admin functions fine, including displaying the latest activity that was backed up. However, when I try to open any review, I get the UnicodeDecodeError: 2015-07-30 17:50:35,484 - ERROR - - Exception thrown for user dcarson at http://reviewboard.mycompany.com/r/3254/ 'ascii' codec can't decode byte 0xf8 in position 0: ordinal not in range(128) Traceback (most recent call last): File /usr/lib/python2.7/site-packages/django/core/handlers/base.py, line 112, in get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File /usr/lib/python2.7/site-packages/reviewboard/accounts/decorators.py, line 23, in _check return view_func(*args, **kwargs) File /usr/lib/python2.7/site-packages/reviewboard/site/decorators.py, line 35, in _check return view_func(request, local_site=local_site, *args, **kwargs) File /usr/lib/python2.7/site-packages/reviewboard/reviews/views.py, line 717, in review_detail 'screenshots': screenshots, File /usr/lib/python2.7/site-packages/reviewboard/reviews/context.py, line 95, in make_review_request_context upload_diff_form = UploadDiffForm(review_request, request=request) File /usr/lib/python2.7/site-packages/reviewboard/reviews/forms.py, line 95, in __init__ data, *args, **kwargs) File /usr/lib/python2.7/site-packages/reviewboard/diffviewer/forms.py, line 41, in __init__ if self.repository.get_scmtool().get_diffs_use_absolute_paths(): File /usr/lib/python2.7/site-packages/reviewboard/scmtools/models.py, line 231, in get_scmtool return cls(self) File /usr/lib/python2.7/site-packages/reviewboard/scmtools/svn/__init__.py, line 74, in __init__ local_site_name) File /usr/lib/python2.7/site-packages/reviewboard/scmtools/svn/__init__.py, line 441, in build_client client = Client(config_dir, repopath, username, password) File /usr/lib/python2.7/site-packages/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 0xf8 in position 0: ordinal not in range(128) One thing I'm wondering is why pysvn is being used, instead of subvertpy. I thought I read that the new default was subvertpy. It does not seem to matter which review request I try to open. They all give me this error. This leads me to believe that it is not a case of some weird character in an individual request. Any help would be most appreciated. Thanks. -- Supercharge your Review Board with Power Pack: https://www.reviewboard.org/powerpack/ Want us to
Re: restoring to 2.0.18 from 2.0.15 SQL backup
Christian, Thanks for the quick response. 1. I don't need or want subvertpy. I just noticed that the error was in pysvn. I'll stick with what you guys have determined works best; i.e., pysvn. 2. I don't remember ever setting passwords for the repositories. I see what I guess is encrypted passwords in the scmtools_repository table. They are encrypted and do *not* start with a tab, so I guess that is the problem. How do I change them again? If I go into Repositories as the admin and click on a repository, I get the same error. Can I change them directly in the database (as plain text)? On Thursday, July 30, 2015 at 3:25:33 PM UTC-4, Christian Hammond wrote: Hi David, First, to cover the PySVN vs. Subvertpy question, Subvertpy was only the default for the first release or two of 2.0.x. It had a lot of compatibility problems and broke in far too many situations, so we flipped the defaults. If it was working for you and you want to go back to it, you can set the following in settings_local.py: SVNTOOL_BACKENDS = [ 'reviewboard.scmtools.svn.subvertpy', 'reviewboard.scmtools.svn.pysvn', ] Alright, on to the problem at hand. Passwords for repositories are stored encrypted. Perhaps something went wrong between the dump and restore that broke this. Can you check your dump file and the contents in the database for the repository (scmtools_repository table) to see if it's the expected password in plain text, or if it's something encrypted that starts with a tab character? If it's neither, that's the problem. You can, in this case, change the stored password in the repository to your plain text password. The next time Review Board reads the password in for the repository, it will re-encrypt it. One more thing: Did you copy over the old site directory, or create a new one from scratch? Christian -- Christian Hammond - chi...@chipx86.com javascript: Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com On Thu, Jul 30, 2015 at 11:18 AM, David Carson dcca...@gmail.com javascript: wrote: I'm trying to restore a ReviewBoard server after a hardware system failure. This is a live system and I'm under pressure to get it back up. I'm very close to having it working, but I'm hitting a UnicodeDecodeError. (Yes, I know there are other topics on this forum regarding UnicodeDecodeError, but none of them seem quite the same as mine.) The new server is running 2.0.18. The old server was running 2.0.15. I think this may be part of the problem. I installed 2.0.18 using yum on CentOS 7.0. I then created the reviewboard database in mariadb (aka MySQL) and proceeded to restore the SQL backup from my old system. This went without any problems, to my great relief. I was expecting problems, since the backup is from an older version of RB. Then I ran `rb-site upgrade /path/to/rbsite`, also without any errors. The site displays fine. I can do various admin functions fine, including displaying the latest activity that was backed up. However, when I try to open any review, I get the UnicodeDecodeError: 2015-07-30 17:50:35,484 - ERROR - - Exception thrown for user dcarson at http://reviewboard.mycompany.com/r/3254/ 'ascii' codec can't decode byte 0xf8 in position 0: ordinal not in range(128) Traceback (most recent call last): File /usr/lib/python2.7/site-packages/django/core/handlers/base.py, line 112, in get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File /usr/lib/python2.7/site-packages/reviewboard/accounts/decorators.py, line 23, in _check return view_func(*args, **kwargs) File /usr/lib/python2.7/site-packages/reviewboard/site/decorators.py, line 35, in _check return view_func(request, local_site=local_site, *args, **kwargs) File /usr/lib/python2.7/site-packages/reviewboard/reviews/views.py, line 717, in review_detail 'screenshots': screenshots, File /usr/lib/python2.7/site-packages/reviewboard/reviews/context.py, line 95, in make_review_request_context upload_diff_form = UploadDiffForm(review_request, request=request) File /usr/lib/python2.7/site-packages/reviewboard/reviews/forms.py, line 95, in __init__ data, *args, **kwargs) File /usr/lib/python2.7/site-packages/reviewboard/diffviewer/forms.py, line 41, in __init__ if self.repository.get_scmtool().get_diffs_use_absolute_paths(): File /usr/lib/python2.7/site-packages/reviewboard/scmtools/models.py, line 231, in get_scmtool return cls(self) File /usr/lib/python2.7/site-packages/reviewboard/scmtools/svn/__init__.py, line 74, in __init__ local_site_name) File /usr/lib/python2.7/site-packages/reviewboard/scmtools/svn/__init__.py, line 441, in build_client client = Client(config_dir,
Re: restoring to 2.0.18 from 2.0.15 SQL backup
Christian, Thanks for the quick response. 1. I don't need or want subvertpy. I just noticed that the error was in pysvn. I'll stick with what you guys have determined works best; i.e., pysvn. 2. I created the site directory from scratch, but then tried to find stuff from the backup site directory to tweak. The only thing that looked interesting was the uploaded/files content, which I ended up copying to the new server. 3. I don't remember ever setting passwords for the repositories. I see what I guess is encrypted passwords in the scmtools_repository table. They are encrypted and do *not* start with a tab, so I guess that is the problem. How do I change them again? If I go into Repositories as the admin and click on a repository, I get the same error. Can I change them directly in the database (as plain text)? On Thursday, July 30, 2015 at 3:25:33 PM UTC-4, Christian Hammond wrote: Hi David, First, to cover the PySVN vs. Subvertpy question, Subvertpy was only the default for the first release or two of 2.0.x. It had a lot of compatibility problems and broke in far too many situations, so we flipped the defaults. If it was working for you and you want to go back to it, you can set the following in settings_local.py: SVNTOOL_BACKENDS = [ 'reviewboard.scmtools.svn.subvertpy', 'reviewboard.scmtools.svn.pysvn', ] Alright, on to the problem at hand. Passwords for repositories are stored encrypted. Perhaps something went wrong between the dump and restore that broke this. Can you check your dump file and the contents in the database for the repository (scmtools_repository table) to see if it's the expected password in plain text, or if it's something encrypted that starts with a tab character? If it's neither, that's the problem. You can, in this case, change the stored password in the repository to your plain text password. The next time Review Board reads the password in for the repository, it will re-encrypt it. One more thing: Did you copy over the old site directory, or create a new one from scratch? Christian -- Christian Hammond - chi...@chipx86.com javascript: Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com On Thu, Jul 30, 2015 at 11:18 AM, David Carson dcca...@gmail.com javascript: wrote: I'm trying to restore a ReviewBoard server after a hardware system failure. This is a live system and I'm under pressure to get it back up. I'm very close to having it working, but I'm hitting a UnicodeDecodeError. (Yes, I know there are other topics on this forum regarding UnicodeDecodeError, but none of them seem quite the same as mine.) The new server is running 2.0.18. The old server was running 2.0.15. I think this may be part of the problem. -- 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.
Re: restoring to 2.0.18 from 2.0.15 SQL backup
OK, progress. I edited my SQL dump file, replacing the tab-initial-character-encrypted passwords with plain-text passwords. Not sure what they used to be, so I just put something simple. Then I dropped the reviewboard database and recreated it as utf8, and loaded the edited dump file. Now I can successfully navigate to review requests. Have not tried anything more complicated on the user side yet. I also tried to click on a repository as the admin user ( http://reviewboard.mycompany.com/admin/db/scmtools/repository/) and I get the '500' error. However, I am not getting anything in the log this time. So, based on this, I'm not quite sure what else might be broken. I'm a bit hesitant to advertise that the server is online again (already did that once), until I'm more confident that users won't be hitting more problems. For now, I'd like to understand why I get no log output and what the error actually is for the repository links. Thanks. On Thursday, July 30, 2015 at 4:01:31 PM UTC-4, David Carson wrote: Sorry, I was wrong. All repository passwords do start with 0x09. I was not looking at them correctly. On Thursday, July 30, 2015 at 3:58:09 PM UTC-4, David Carson wrote: 3. I don't remember ever setting passwords for the repositories. I see what I guess is encrypted passwords in the scmtools_repository table. They are encrypted and do *not* start with a tab, so I guess that is the problem. -- 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.
Re: restoring to 2.0.18 from 2.0.15 SQL backup
Hi David, Been in meetings. Sorry for not getting back to you sooner. That's odd. If you get a 500, it should definitely appear in the log. What you can try doing if that's not happening is *temporarily* setting this in your $sitedir/conf/settings_local.py: DEBUG = True (This *will* change behavior of the site, so remove it when done with this test.) Reload the web server and go back to that repository. You should get a detailed traceback now, along with all the variables at each point in the trace. Christian -- Christian Hammond - chip...@chipx86.com Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com On Thu, Jul 30, 2015 at 1:46 PM, David Carson dccar...@gmail.com wrote: OK, progress. I edited my SQL dump file, replacing the tab-initial-character-encrypted passwords with plain-text passwords. Not sure what they used to be, so I just put something simple. Then I dropped the reviewboard database and recreated it as utf8, and loaded the edited dump file. Now I can successfully navigate to review requests. Have not tried anything more complicated on the user side yet. I also tried to click on a repository as the admin user ( http://reviewboard.mycompany.com/admin/db/scmtools/repository/) and I get the '500' error. However, I am not getting anything in the log this time. So, based on this, I'm not quite sure what else might be broken. I'm a bit hesitant to advertise that the server is online again (already did that once), until I'm more confident that users won't be hitting more problems. For now, I'd like to understand why I get no log output and what the error actually is for the repository links. Thanks. On Thursday, July 30, 2015 at 4:01:31 PM UTC-4, David Carson wrote: Sorry, I was wrong. All repository passwords do start with 0x09. I was not looking at them correctly. On Thursday, July 30, 2015 at 3:58:09 PM UTC-4, David Carson wrote: 3. I don't remember ever setting passwords for the repositories. I see what I guess is encrypted passwords in the scmtools_repository table. They are encrypted and do *not* start with a tab, so I guess that is the problem. -- 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.
Re: Issue 3915 in reviewboard: FileNotFoundError problem with Mercurial
Comment #6 on issue 3915 by aklitz...@gmail.com: FileNotFoundError problem with Mercurial https://code.google.com/p/reviewboard/issues/detail?id=3915 We use https://www.scm-manager.org for this. It will provide a hgweb, yes. -- 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.
restoring to 2.0.18 from 2.0.15 SQL backup
I'm trying to restore a ReviewBoard server after a hardware system failure. This is a live system and I'm under pressure to get it back up. I'm very close to having it working, but I'm hitting a UnicodeDecodeError. (Yes, I know there are other topics on this forum regarding UnicodeDecodeError, but none of them seem quite the same as mine.) The new server is running 2.0.18. The old server was running 2.0.15. I think this may be part of the problem. I installed 2.0.18 using yum on CentOS 7.0. I then created the reviewboard database in mariadb (aka MySQL) and proceeded to restore the SQL backup from my old system. This went without any problems, to my great relief. I was expecting problems, since the backup is from an older version of RB. Then I ran `rb-site upgrade /path/to/rbsite`, also without any errors. The site displays fine. I can do various admin functions fine, including displaying the latest activity that was backed up. However, when I try to open any review, I get the UnicodeDecodeError: 2015-07-30 17:50:35,484 - ERROR - - Exception thrown for user dcarson at http://reviewboard.mycompany.com/r/3254/ 'ascii' codec can't decode byte 0xf8 in position 0: ordinal not in range(128) Traceback (most recent call last): File /usr/lib/python2.7/site-packages/django/core/handlers/base.py, line 112, in get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File /usr/lib/python2.7/site-packages/reviewboard/accounts/decorators.py, line 23, in _check return view_func(*args, **kwargs) File /usr/lib/python2.7/site-packages/reviewboard/site/decorators.py, line 35, in _check return view_func(request, local_site=local_site, *args, **kwargs) File /usr/lib/python2.7/site-packages/reviewboard/reviews/views.py, line 717, in review_detail 'screenshots': screenshots, File /usr/lib/python2.7/site-packages/reviewboard/reviews/context.py, line 95, in make_review_request_context upload_diff_form = UploadDiffForm(review_request, request=request) File /usr/lib/python2.7/site-packages/reviewboard/reviews/forms.py, line 95, in __init__ data, *args, **kwargs) File /usr/lib/python2.7/site-packages/reviewboard/diffviewer/forms.py, line 41, in __init__ if self.repository.get_scmtool().get_diffs_use_absolute_paths(): File /usr/lib/python2.7/site-packages/reviewboard/scmtools/models.py, line 231, in get_scmtool return cls(self) File /usr/lib/python2.7/site-packages/reviewboard/scmtools/svn/__init__.py, line 74, in __init__ local_site_name) File /usr/lib/python2.7/site-packages/reviewboard/scmtools/svn/__init__.py, line 441, in build_client client = Client(config_dir, repopath, username, password) File /usr/lib/python2.7/site-packages/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 0xf8 in position 0: ordinal not in range(128) One thing I'm wondering is why pysvn is being used, instead of subvertpy. I thought I read that the new default was subvertpy. It does not seem to matter which review request I try to open. They all give me this error. This leads me to believe that it is not a case of some weird character in an individual request. Any help would be most appreciated. Thanks. -- 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.
restore to 2.0.18 from backup made by 2.0.15
I'm trying to restore a ReviewBoard server after a hardware system failure. This is a live system and I'm under pressure to get it back up. I'm very close to having it working, but I'm hitting a UnicodeDecodeError. (Yes, I know there are other topics on this forum regarding UnicodeDecodeError, but none of them seem quite the same as mine.) The new server is running 2.0.18. The old server was running 2.0.15. I think this may be part of the problem. I installed 2.0.18 using yum on CentOS 7.0. I then created the reviewboard database in mariadb (aka MySQL) and proceeded to restore the SQL backup from my old system. This went without any problems, to my great relief. I was expecting problems, since the backup is from an older version of RB. Then I ran `rb-site upgrade /path/to/rbsite`, also without any errors. The site displays fine. I can do various admin functions fine, including displaying the latest activity that was backed up. However, when I try to open any review, I get the UnicodeDecodeError: 2015-07-30 17:50:35,484 - ERROR - - Exception thrown for user dcarson at http://reviewboard.extremenetworks.com/r/3254/ 'ascii' codec can't decode byte 0xf8 in position 0: ordinal not in range(128) Traceback (most recent call last): File /usr/lib/python2.7/site-packages/django/core/handlers/base.py, line 112, in get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File /usr/lib/python2.7/site-packages/reviewboard/accounts/decorators.py, line 23, in _check return view_func(*args, **kwargs) File /usr/lib/python2.7/site-packages/reviewboard/site/decorators.py, line 35, in _check return view_func(request, local_site=local_site, *args, **kwargs) File /usr/lib/python2.7/site-packages/reviewboard/reviews/views.py, line 717, in review_detail 'screenshots': screenshots, File /usr/lib/python2.7/site-packages/reviewboard/reviews/context.py, line 95, in make_review_request_context upload_diff_form = UploadDiffForm(review_request, request=request) File /usr/lib/python2.7/site-packages/reviewboard/reviews/forms.py, line 95, in __init__ data, *args, **kwargs) File /usr/lib/python2.7/site-packages/reviewboard/diffviewer/forms.py, line 41, in __init__ if self.repository.get_scmtool().get_diffs_use_absolute_paths(): File /usr/lib/python2.7/site-packages/reviewboard/scmtools/models.py, line 231, in get_scmtool return cls(self) File /usr/lib/python2.7/site-packages/reviewboard/scmtools/svn/__init__.py, line 74, in __init__ local_site_name) File /usr/lib/python2.7/site-packages/reviewboard/scmtools/svn/__init__.py, line 441, in build_client client = Client(config_dir, repopath, username, password) File /usr/lib/python2.7/site-packages/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 0xf8 in position 0: ordinal not in range(128) One thing I'm wondering is why pysvn is being used, instead of subvertpy. I thought I read that the new default was subvertpy. It does not seem to matter which review request I try to open. They all give me this error. This leads me to believe that it is not a case of some weird character in an individual request. Any help would be most appreciated. Thanks. -- 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.