I installed ReviewBoard 2.0.4 on Windows using the Bitnami installer. Then 
I set it to clearcase and the repository is the top of the view. When I run 
"rbt post --server=http://localhost/reviewboard --debug --user=xxx 
--password=xxx" from the view directory, a 500 error occurred (I attached 
both the console error and the log file error below). Any help will be 
highly appreciated. 


*Error from console*
>>> Making HTTP GET request to 
http://localhost/reviewboard/api/review-requests/
>>> Making HTTP POST request to 
http://localhost/reviewboard/api/review-requests/
>>> Making HTTP GET request to 
http://localhost/reviewboard/api/review-requests/1/diffs/
>>> Making HTTP POST request to 
http://localhost/reviewboard/api/review-requests/1/diffs/
>>> Got HTTP error: 500: <!DOCTYPE html>

<html>
 <head>
  <title>500 - Internal Server Error | Review Board</title>
 </head>
 <body>
  <h1>Something broke! (Error 500)</h1>
  <p>
   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.
  </p>
 </body>
</title>

Traceback (most recent call last):
  File "d:\reviewboard-2.0.4-0\python\Scripts\rbt-script.py", line 8, in 
<module>
    load_entry_point('rbtools==0.6.2', 'console_scripts', 'rbt')()
  File 
"D:\reviewboard-2.0.4-0\python\lib\site-packages\rbtools-0.6.2-py2.7.egg\rbtools\commands\main.py",
 
line 134, in main
    command.run_from_argv([RB_MAIN, command_name] + args)
  File 
"D:\reviewboard-2.0.4-0\python\lib\site-packages\rbtools-0.6.2-py2.7.egg\rbtools\commands\__init__.py",
 
line 416, in run_from_argv
    exit_code = self.main(*args) or 0
  File 
"D:\reviewboard-2.0.4-0\python\lib\site-packages\rbtools-0.6.2-py2.7.egg\rbtools\commands\post.py",
 
line 784, in main
    submit_as=self.options.submit_as)
  File 
"D:\reviewboard-2.0.4-0\python\lib\site-packages\rbtools-0.6.2-py2.7.egg\rbtools\commands\post.py",
 
line 551, in post_request
    raise CommandError(u'\n'.join(error_msg))
rbtools.commands.CommandError: Error uploading diff


HTTP 500

Your review request still exists, but the diff is not attached.

http://localhost/reviewboard/r/1/

*Error from reviewboard.log file*
2014-07-25 15:25:16,834 - ERROR -  - Exception thrown for user liuzy163 at 
http://localhost/reviewboard/api/review-requests/1/diffs/

[Error 267] The directory name is invalid
Traceback (most recent call last):
  File "D:\reviewboard-2.0.4-0\apps\django\django\core\handlers\base.py", 
line 112, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File 
"D:\reviewboard-2.0.4-0\apps\django\django\views\decorators\cache.py", line 
52, in _wrapped_view_func
    response = view_func(request, *args, **kwargs)
  File 
"D:\reviewboard-2.0.4-0\apps\django\django\views\decorators\vary.py", line 
19, in inner_func
    response = func(*args, **kwargs)
  File 
"D:\reviewboard-2.0.4-0\python\lib\site-packages\djblets-0.8.7-py2.7.egg\djblets\webapi\resources.py",
 
line 494, in __call__
    request, method, view, api_format=api_format, *args, **kwargs)
  File 
"D:\reviewboard-2.0.4-0\python\lib\site-packages\djblets-0.8.7-py2.7.egg\djblets\webapi\resources.py",
 
line 565, in call_method_view
    return view(request, *args, **kwargs)
  File 
"D:\reviewboard-2.0.4-0\python\lib\site-packages\djblets-0.8.7-py2.7.egg\djblets\webapi\resources.py",
 
line 747, in post
    return self.create(*args, **kwargs)
  File 
"D:\reviewboard-2.0.4-0\python\lib\site-packages\djblets-0.8.7-py2.7.egg\djblets\webapi\decorators.py",
 
line 117, in _call
    return view_func(*args, **kwargs)
  File 
"D:\reviewboard-2.0.4-0\python\lib\site-packages\djblets-0.8.7-py2.7.egg\djblets\webapi\decorators.py",
 
line 138, in _checklogin
    return view_func(*args, **kwargs)
  File 
"D:\reviewboard-2.0.4-0\python\lib\site-packages\djblets-0.8.7-py2.7.egg\djblets\webapi\decorators.py",
 
line 117, in _call
    return view_func(*args, **kwargs)
  File 
"D:\reviewboard-2.0.4-0\apps\reviewboard\Lib\site-packages\ReviewBoard-2.0.4-py2.7.egg\reviewboard\webapi\decorators.py",
 
line 110, in _check
    return view_func(*args, **kwargs)
  File 
"D:\reviewboard-2.0.4-0\python\lib\site-packages\djblets-0.8.7-py2.7.egg\djblets\webapi\decorators.py",
 
line 117, in _call
    return view_func(*args, **kwargs)
  File 
"D:\reviewboard-2.0.4-0\python\lib\site-packages\djblets-0.8.7-py2.7.egg\djblets\webapi\decorators.py",
 
line 117, in _call
    return view_func(*args, **kwargs)
  File 
"D:\reviewboard-2.0.4-0\python\lib\site-packages\djblets-0.8.7-py2.7.egg\djblets\webapi\decorators.py",
 
line 287, in _validate
    return view_func(*args, **new_kwargs)
  File 
"D:\reviewboard-2.0.4-0\apps\reviewboard\Lib\site-packages\ReviewBoard-2.0.4-py2.7.egg\reviewboard\webapi\resources\diff.py",
 
line 283, in create
    request=request)
  File 
"D:\reviewboard-2.0.4-0\apps\reviewboard\Lib\site-packages\ReviewBoard-2.0.4-py2.7.egg\reviewboard\reviews\forms.py",
 
line 95, in __init__
    data, *args, **kwargs)
  File 
"D:\reviewboard-2.0.4-0\apps\reviewboard\Lib\site-packages\ReviewBoard-2.0.4-py2.7.egg\reviewboard\diffviewer\forms.py",
 
line 41, in __init__
    if self.repository.get_scmtool().get_diffs_use_absolute_paths():
  File 
"D:\reviewboard-2.0.4-0\apps\reviewboard\Lib\site-packages\ReviewBoard-2.0.4-py2.7.egg\reviewboard\scmtools\models.py",
 
line 167, in get_scmtool
    return cls(self)
  File 
"D:\reviewboard-2.0.4-0\apps\reviewboard\Lib\site-packages\ReviewBoard-2.0.4-py2.7.egg\reviewboard\scmtools\clearcase.py",
 
line 64, in __init__
    self.viewtype = self._get_view_type(self.repopath)
  File 
"D:\reviewboard-2.0.4-0\apps\reviewboard\Lib\site-packages\ReviewBoard-2.0.4-py2.7.egg\reviewboard\scmtools\clearcase.py",
 
line 162, in _get_view_type
    shell=_popen_shell)
  File "D:\reviewboard-2.0.4-0\python\lib\subprocess.py", line 709, in 
__init__
    errread, errwrite)
  File "D:\reviewboard-2.0.4-0\python\lib\subprocess.py", line 957, in 
_execute_child
    startupinfo)
WindowsError: [Error 267] The directory name is invalid

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://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.

Reply via email to