I had another look into the issue,
the following fixes the wrong logging and creates a log with the real
problem in reviewboard.log
except Exception as e:
logging.exception('Error loading SCMTool for repository '
'%s (ID %d)',
repo.name,
repo.id)
2015-02-19 16:42:38,289 - ERROR - - Error loading SCMTool for repository
> ClearCase - at_v16.2seco_ui-mods_maint_bho (ID 13)
> Traceback (most recent call last):
> File
> "C:\Python27\lib\site-packages\reviewboard-2.0.13-py2.7.egg\reviewboard\reviews\views.py",
>
> line 247, in new_review_request
> scmtool = repo.get_scmtool()
> File
> "C:\Python27\lib\site-packages\reviewboard-2.0.13-py2.7.egg\reviewboard\scmtools\models.py",
>
> line 230, in get_scmtool
> return cls(self)
> File
> "C:\Python27\lib\site-packages\reviewboard-2.0.13-py2.7.egg\reviewboard\scmtools\clearcase.py",
>
> line 67, in __init__
> self.viewtype = self._get_view_type(self.repopath)
> File
> "C:\Python27\lib\site-packages\reviewboard-2.0.13-py2.7.egg\reviewboard\scmtools\clearcase.py",
>
> line 162, in _get_view_type
> shell=_popen_shell)
> File "C:\Python27\Lib\subprocess.py", line 710, in __init__
> errread, errwrite)
> File "C:\Python27\Lib\subprocess.py", line 958, in _execute_child
> startupinfo)
> WindowsError: [Error 267] Der Verzeichnisname ist ungültig
> 2015-02-19 16:42:38,730 - ERROR - - Error loading SCMTool for repository
> ClearCase - jcp-be_v17.1_int (ID 20)
> Traceback (most recent call last):
> File
> "C:\Python27\lib\site-packages\reviewboard-2.0.13-py2.7.egg\reviewboard\reviews\views.py",
>
> line 247, in new_review_request
> scmtool = repo.get_scmtool()
> File
> "C:\Python27\lib\site-packages\reviewboard-2.0.13-py2.7.egg\reviewboard\scmtools\models.py",
>
> line 230, in get_scmtool
> return cls(self)
> File
> "C:\Python27\lib\site-packages\reviewboard-2.0.13-py2.7.egg\reviewboard\scmtools\clearcase.py",
>
> line 67, in __init__
> self.viewtype = self._get_view_type(self.repopath)
> File
> "C:\Python27\lib\site-packages\reviewboard-2.0.13-py2.7.egg\reviewboard\scmtools\clearcase.py",
>
> line 162, in _get_view_type
> shell=_popen_shell)
> File "C:\Python27\Lib\subprocess.py", line 710, in __init__
> errread, errwrite)
> File "C:\Python27\Lib\subprocess.py", line 958, in _execute_child
> startupinfo)
> WindowsError: [Error 267] Der Verzeichnisname ist ungültig
On of my views was missing
--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.