You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@allura.apache.org by Shalitha Suranga <sh...@gmail.com> on 2018/10/04 11:10:55 UTC

Regarding forgeGit local problem

Hi..

I tried to create Git repo for test project locally to work on some Git
related tickets

But it hangs on "Repo status: initializing..." and got this error message

 Traceback (most recent call last):
  File
"/home/shalithasuranga/Desktop/Apache/allura/src/allura/ForgeGit/forgegit/model/git_repo.py",
line 227, in commit
    impl = self._git.rev_parse(str(rev) + '^0')
AttributeError: 'NoneType' object has no attribute 'rev_parse'

Can someone advice how to solve this?
-- 
Regards,

*Shalitha Suranga *
www.shalithasuranga.me

Re: Regarding forgeGit local problem

Posted by Shalitha Suranga <sh...@gmail.com>.
Hi.. Dave

Thanks Now it is working properly

On Fri, Oct 5, 2018 at 2:59 AM Dave Brondsema <da...@brondsema.net> wrote:

> On 10/4/18 7:10 AM, Shalitha Suranga wrote:
> > Hi..
> >
> > I tried to create Git repo for test project locally to work on some Git
> > related tickets
> >
> > But it hangs on "Repo status: initializing..." and got this error message
> >
> >  Traceback (most recent call last):
> >   File
> >
> "/home/shalithasuranga/Desktop/Apache/allura/src/allura/ForgeGit/forgegit/model/git_repo.py",
> > line 227, in commit
> >     impl = self._git.rev_parse(str(rev) + '^0')
> > AttributeError: 'NoneType' object has no attribute 'rev_parse'
> >
> > Can someone advice how to solve this?
> >
>
> Is the taskd command running?  It runs background processes like
> initializing
> repos, indexing them, and much more.
>
> https://forge-allura.apache.org/docs/getting_started/install_each_step.html#allura-task-processing
>
>
> --
> Dave Brondsema : dave@brondsema.net
> http://www.brondsema.net : personal
> http://www.splike.com : programming
>               <><
>


-- 
Regards,

*Shalitha Suranga Bsc. CS (UG)*
Director - Software Developer
PCL Marketing - Sri Lanka
www.pclmarketing.com

 +94 71 985 584 3 (Whatsapp/Viber), +94 77 42 750 65
www.shalithasuranga.me

Re: Regarding forgeGit local problem

Posted by Dave Brondsema <da...@brondsema.net>.
On 10/4/18 7:10 AM, Shalitha Suranga wrote:
> Hi..
> 
> I tried to create Git repo for test project locally to work on some Git
> related tickets
> 
> But it hangs on "Repo status: initializing..." and got this error message
> 
>  Traceback (most recent call last):
>   File
> "/home/shalithasuranga/Desktop/Apache/allura/src/allura/ForgeGit/forgegit/model/git_repo.py",
> line 227, in commit
>     impl = self._git.rev_parse(str(rev) + '^0')
> AttributeError: 'NoneType' object has no attribute 'rev_parse'
> 
> Can someone advice how to solve this?
> 

Is the taskd command running?  It runs background processes like initializing
repos, indexing them, and much more.
https://forge-allura.apache.org/docs/getting_started/install_each_step.html#allura-task-processing


-- 
Dave Brondsema : dave@brondsema.net
http://www.brondsema.net : personal
http://www.splike.com : programming
              <><