Hi,
I work with a group that has used Review Board for years. We started with a pserver cvs repository named Nitro that worked up through 2017. We switched to a git repository named Nitro-GIT about the end of 2017 and the cvs repository was no longer used. Still whenever we went to start a new review request the cvs repository would show up in the left-hand margin. However, right around the end of 2018 the following error message started to show up in the review board log just as a new review request was being started:
2018-12-24 12:08:15,253 - ERROR - - root - Error loading SCMTool for repository "Nitro" (ID 1)
Traceback (most recent call last):
File "/sierra/sbs6/reviewboard/apps/reviewboard/htdocs/reviewboard/reviews/views.py", line 280, in new_review_request
scmtool = repo.get_scmtool()
File "/sierra/sbs6/reviewboard/apps/reviewboard/htdocs/reviewboard/scmtools/models.py", line 231, in get_scmtool
return cls(self)
File "/sierra/sbs6/reviewboard/apps/reviewboard/htdocs/reviewboard/scmtools/cvs.py", line 65, in __init__
self.client = CVSClient(self.cvsroot, self.repopath, local_site_name)
File "/sierra/sbs6/reviewboard/apps/reviewboard/htdocs/reviewboard/scmtools/cvs.py", line 433, in __init__
self.currentdir = os.getcwd()
OSError: [Errno 2] No such file or directory
The result would be that "Nitro" would (sometimes I think) not show up in the left-hand margin as a repository that could be chosen from. This was not a problem at the time because everyone had switched to Nitro-GIT. I doubt anyone even noticed that Nitro was missing considering that I never heard anyone complain.
This behavior continues to this day, but all of a sudden it's a problem that I really want to fix. The reason is that we have started to work on a new CVS repository, configured similarly wrt Nitro, that is also failing to work with Review Board. It often cannot be seen in the left-hand margin when trying to create a new review request. Diffs cannot be uploaded. Even adding descriptions, etc., is problematic. And the error at line 433 of cvs.py appears continually in the review board log file.
I have limited administrative privileges, but enough that I have access to the Admin UI. So far though I can't divine what's wrong with any of the repository configuration, the review board server, or the cvs servers.
Any suggestions would be greatly appreciated.
We're using version 2.5.13.1.
Thanks,
--Mike