Were you pointing to the directory that contains the .git directory, or the
.git directory itself?

Christian

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


On Thu, Dec 10, 2009 at 10:06 AM, senthil <gsn.coldf...@gmail.com> wrote:

> I have the same error. And executing the plain command gives me a 1
> (error) in bash return value, but no error messages. I am wondering if
> core.repositoryformatversion is a file, and if so where is it. Should
> I try to execute this command in some particular directory or anywhere
> will work?
>
> On Oct 29, 2:30 pm, Christian Hammond <chip...@chipx86.com> wrote:
> > Looking at the code, the exact thing that it's trying to do is:
> >
> > git --git-dir=/path/to/your/git/tree config core.repositoryformatversion
> >
> > See what happens when you try that. If that fails, then you'll see that
> > ImportError (there's a much better, human-readable error in the upcoming
> > 1.1).
> >
> > Also, you actually want to make sure it's the parent directory of .git,
> not
> > the .git directory itself.
> >
> > Christian
> >
> > --
> > Christian Hammond - chip...@chipx86.com
> > Review Board -http://www.reviewboard.org
> > VMware, Inc. -http://www.vmware.com
> >
> > On Thu, Oct 29, 2009 at 12:25 PM, Bhupesh Bansal @ Linkedin <
> >
> >
> >
> > bbansal....@gmail.com> wrote:
> >
> > > 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.com<reviewboard%2bunsubscr...@googlegroups.com>
> <reviewboard%2bunsubscr...@googlegr oups.com>
> > > <reviewboard%2bunsubscr...@googlegroups.com<reviewboard%252bunsubscr...@googlegroups.com>
> <reviewboard%252bunsubscr...@goo glegroups.com>
> >
> > > > > For more options, visit this group at
> > > > >http://groups.google.com/group/reviewboard?hl=en
> > > > > -~----------~----~----~----~------~----~------~--~---
> > > > To unsubscribe from this group, send email to
> > > reviewboard+unsubscr...@googlegroups.com<reviewboard%2bunsubscr...@googlegroups.com>
> <reviewboard%2bunsubscr...@googlegr oups.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<reviewboard%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

Reply via email to