Erorr with git ScmTool

2009-10-29 Thread Bhupesh Bansal @ Linkedin

Hey folks,

I am trying to setup a git repository and keep getting this error
every time I try to create a new review as a normal user


ERROR:root:Error loading SCMTool for repository voldemort (ID 1):
Traceback (most recent call last):
  File /usr/lib/python2.5/site-packages/ReviewBoard-1.0.5.1-py2.5.egg/
reviewboard/reviews/forms.py, line 62, in __init__
self.field_mapping[repo.id] = repo.get_scmtool().get_fields()
  File /usr/lib/python2.5/site-packages/ReviewBoard-1.0.5.1-py2.5.egg/
reviewboard/scmtools/models.py, line 43, in get_scmtool
return cls(self)
  File /usr/lib/python2.5/site-packages/ReviewBoard-1.0.5.1-py2.5.egg/
reviewboard/scmtools/git.py, line 23, in __init__
self.client = GitClient(repository.path)
  File /usr/lib/python2.5/site-packages/ReviewBoard-1.0.5.1-py2.5.egg/
reviewboard/scmtools/git.py, line 180, in __init__
raise ImportError
ImportError


--~--~-~--~~~---~--~~
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
-~--~~~~--~~--~--~---



Re: Erorr with git ScmTool

2009-10-29 Thread Bhupesh Bansal @ Linkedin

I am pointing at a local .git repo for now, the path is correct and is
owned by same user as apache2 is running as

Best
Bhupesh


On Oct 29, 11:32 am, Christian Hammond chip...@chipx86.com wrote:
 You'll generally hit that if git isn't in the path.

 Are you pointing at a local git repository on the filesystem, or a remote
 Git repository? The latter is only supported in Review Board 1.1 alpha 2,
 and actually requires something like gitweb, cgit, etc. for the remote
 fetching of files.

 Christian

 --
 Christian Hammond - chip...@chipx86.com
 Review Board -http://www.reviewboard.org
 VMware, Inc. -http://www.vmware.com

 On Thu, Oct 29, 2009 at 11:24 AM, Bhupesh Bansal @ Linkedin 

 bbansal@gmail.com wrote:

  Hey folks,

  I am trying to setup a git repository and keep getting this error
  every time I try to create a new review as a normal user

  ERROR:root:Error loading SCMTool for repository voldemort (ID 1):
  Traceback (most recent call last):
   File /usr/lib/python2.5/site-packages/ReviewBoard-1.0.5.1-py2.5.egg/
  reviewboard/reviews/forms.py, line 62, in __init__
     self.field_mapping[repo.id] = repo.get_scmtool().get_fields()
   File /usr/lib/python2.5/site-packages/ReviewBoard-1.0.5.1-py2.5.egg/
  reviewboard/scmtools/models.py, line 43, in get_scmtool
     return cls(self)
   File /usr/lib/python2.5/site-packages/ReviewBoard-1.0.5.1-py2.5.egg/
  reviewboard/scmtools/git.py, line 23, in __init__
     self.client = GitClient(repository.path)
   File /usr/lib/python2.5/site-packages/ReviewBoard-1.0.5.1-py2.5.egg/
  reviewboard/scmtools/git.py, line 180, in __init__
     raise ImportError
  ImportError

   To unsubscribe from this group, send email to
  reviewboard+unsubscr...@googlegroups.comreviewboard%2bunsubscr...@googlegroups.com
  For more options, visit this group at
 http://groups.google.com/group/reviewboard?hl=en
  -~--~~~~--~~--~--~---
--~--~-~--~~~---~--~~
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
-~--~~~~--~~--~--~---



Exception in review-board.

2009-10-28 Thread Bhupesh Bansal @ Linkedin

Hey folks,

I am trying to install review-board on a fedora-core 8 machine, m not
able to run with either mod_python or mod_fastcgi. Will appreciate any
help :)

I tried with mod_python and saw this exception, causing me to show a
white blank page.
[Wed Oct 28 20:39:20 2009] [notice] child pid 441 exit signal Aborted
(6)
httpd: Objects/stringobject.c:107: PyString_FromString: Assertion
`str != ((void *)0)' failed.

google searches told me this might be mod_python issue and suggested
use mod_wsgi ?? Is there a way I can use mod_wsgi ??

then I tried using mod_fastcgi  after lot of rpm/yum issues everything
got installed nicely and apache bootup cleanly giving this error.

[Wed Oct 28 21:08:53 2009] [notice] Apache/2.2.14 (Unix) mod_python/
3.3.1 Python/2.5.1 mod_wsgi/2.3 mod_fastcgi/2.4.6 configured --
resuming normal operations
[Wed Oct 28 21:09:08 2009] [error] [client 69.28.149.29] FastCGI:
server /var/www/reviews.voldemort.com/htdocs/reviewboard.fcgi
stderr: Traceback (most recent call last):
[Wed Oct 28 21:09:08 2009] [error] [client 69.28.149.29] FastCGI:
server /var/www/reviews.voldemort.com/htdocs/reviewboard.fcgi
stderr:   File /usr/lib/python2.5/site-packages/
flup-1.0.3.dev_20091027-py2.5.egg/flup/server/fcgi_base.py, line 574,
in run
[Wed Oct 28 21:09:08 2009] [error] [client 69.28.149.29] FastCGI:
server /var/www/reviews.voldemort.com/htdocs/reviewboard.fcgi
stderr: protocolStatus, appStatus = self.server.handler(self)
[Wed Oct 28 21:09:08 2009] [error] [client 69.28.149.29] FastCGI:
server /var/www/reviews.voldemort.com/htdocs/reviewboard.fcgi
stderr:   File /usr/lib/python2.5/site-packages/
flup-1.0.3.dev_20091027-py2.5.egg/flup/server/fcgi_base.py, line
1141, in handler
[Wed Oct 28 21:09:08 2009] [error] [client 69.28.149.29] FastCGI:
server /var/www/reviews.voldemort.com/htdocs/reviewboard.fcgi
stderr: result = self.application(environ, start_response)
[Wed Oct 28 21:09:08 2009] [error] [client 69.28.149.29] FastCGI:
server /var/www/reviews.voldemort.com/htdocs/reviewboard.fcgi
stderr:   File /usr/lib/python2.5/site-packages/Django-1.1.1-
py2.5.egg/django/core/handlers/wsgi.py, line 241, in __call__
[Wed Oct 28 21:09:08 2009] [error] [client 69.28.149.29] FastCGI:
server /var/www/reviews.voldemort.com/htdocs/reviewboard.fcgi
stderr: response = self.get_response(request)
[Wed Oct 28 21:09:08 2009] [error] [client 69.28.149.29] FastCGI:
server /var/www/reviews.voldemort.com/htdocs/reviewboard.fcgi
stderr:   File /usr/lib/python2.5/site-packages/Django-1.1.1-
py2.5.egg/django/core/handlers/base.py, line 73, in get_response
[Wed Oct 28 21:09:08 2009] [error] [client 69.28.149.29] FastCGI:
server /var/www/reviews.voldemort.com/htdocs/reviewboard.fcgi
stderr: response = middleware_method(request)
[Wed Oct 28 21:09:08 2009] [error] [client 69.28.149.29] FastCGI:
server /var/www/reviews.voldemort.com/htdocs/reviewboard.fcgi
stderr:   File /usr/lib/python2.5/site-packages/ReviewBoard-1.0.5.1-
py2.5.egg/reviewboard/admin/middleware.py, line 32, in
process_request
[Wed Oct 28 21:09:08 2009] [error] [client 69.28.149.29] FastCGI:
server /var/www/reviews.voldemort.com/htdocs/reviewboard.fcgi
stderr: if (check_updates_required() and
[Wed Oct 28 21:09:08 2009] [error] [client 69.28.149.29] FastCGI:
server /var/www/reviews.voldemort.com/htdocs/reviewboard.fcgi
stderr:   File /usr/lib/python2.5/site-packages/ReviewBoard-1.0.5.1-
py2.5.egg/reviewboard/admin/checks.py, line 59, in
check_updates_required
[Wed Oct 28 21:09:08 2009] [error] [client 69.28.149.29] FastCGI:
server /var/www/reviews.voldemort.com/htdocs/reviewboard.fcgi
stderr: if not is_exe_in_path('patch'):
[Wed Oct 28 21:09:08 2009] [error] [client 69.28.149.29] FastCGI:
server /var/www/reviews.voldemort.com/htdocs/reviewboard.fcgi
stderr:   File /usr/lib/python2.5/site-packages/Djblets-0.5.5-
py2.5.egg/djblets/util/filesystem.py, line 44, in is_exe_in_path
[Wed Oct 28 21:09:08 2009] [error] [client 69.28.149.29] FastCGI:
server /var/www/reviews.voldemort.com/htdocs/reviewboard.fcgi
stderr: for dir in os.environ['PATH'].split(os.pathsep):
[Wed Oct 28 21:09:08 2009] [error] [client 69.28.149.29] FastCGI:
server /var/www/reviews.voldemort.com/htdocs/reviewboard.fcgi
stderr:   File /usr/lib/python2.5/UserDict.py, line 22, in
__getitem__
[Wed Oct 28 21:09:08 2009] [error] [client 69.28.149.29] FastCGI:
server /var/www/reviews.voldemort.com/htdocs/reviewboard.fcgi
stderr: raise KeyError(key)
[Wed Oct 28 21:09:08 2009] [error] [client 69.28.149.29] FastCGI:
server /var/www/reviews.voldemort.com/htdocs/reviewboard.fcgi
stderr: KeyError: 'PATH'

--~--~-~--~~~---~--~~
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group