One day I'll contribute something other than problems and questions
here, promise ...
I am getting this error when I try to 'make' zotonic:
error: The requested URL returned error: 403
error: pathspec 'dc750f54173fc0f96a15dabdd4b6ec6f9d93de1b' did not
match any file(s) known to git.
Unable to checkout 'dc750f54173fc0f96a15dabdd4b6ec6f9d93de1b' in
submodule path 'deps/lager'
Perhaps the problem is my authbind changes have prevented access to
git at some level -- but I had no problems with the clone command. To
be safe, I've removed authbind and ~zotonic/.profile.
I've previously had revision-related problems which were cured by
deleting deps/lager. That doesn't help this time.
What does "git submodule status" say? What's in your .gitmodules file?
I just ran i little sequence for your reference to see if it will give you any hints [on a windows machine, but that shouldn't matter, too much]... (even had some errors to solve along the way):
Andreas Stenius@NEO /c/Work/Mobitron/proj/zotonic (master) $ git submodule status -816af03ec05ff257214f7e95de77d433565d8504 deps/gen_smtp -dc750f54173fc0f96a15dabdd4b6ec6f9d93de1b deps/lager -c0ec721428944787a9fc2b2b103e99b463da3d17 deps/webzmachine
Andreas Stenius@NEO /c/Work/Mobitron/proj/zotonic (master) $ git submodule update --init Submodule 'deps/gen_smtp' (git://github.com/zotonic/gen_smtp.git) registered for path 'deps/gen_smtp' Submodule 'deps/lager' (https://github.com/basho/lager.git) registered for path 'deps/lager' Submodule 'deps/webzmachine' (git://github.com/zotonic/webzmachine.git) registered for path 'deps/webzmachine' fatal: destination path 'deps/gen_smtp' already exists and is not an empty directory. Clone of 'git://github.com/zotonic/gen_smtp.git' into submodule path 'deps/gen_smtp' failed
Andreas Stenius@NEO /c/Work/Mobitron/proj/zotonic (master) $ rm -rf deps/gen_smtp
> One day I'll contribute something other than problems and questions > here, promise ...
> I am getting this error when I try to 'make' zotonic:
> error: The requested URL returned error: 403 > error: pathspec 'dc750f54173fc0f96a15dabdd4b6ec6f9d93de1b' did not > match any file(s) known to git. > Unable to checkout 'dc750f54173fc0f96a15dabdd4b6ec6f9d93de1b' in > submodule path 'deps/lager'
> Perhaps the problem is my authbind changes have prevented access to > git at some level -- but I had no problems with the clone command. To > be safe, I've removed authbind and ~zotonic/.profile.
> I've previously had revision-related problems which were cured by > deleting deps/lager. That doesn't help this time.
Starting out on a similar sequence to you, but diverging straight away:
zotonic@vps200:~/zotonic-0.8/zotonic$ git submodule update --init fatal: Needed a single revision Unable to find current revision in submodule path 'deps/lager'
zotonic@vps200:~/zotonic-0.8/zotonic$ git submodule update --init Initialized empty Git repository in /home/zotonic/zotonic-0.8/zotonic/deps/lager/.git/ error: The requested URL returned error: 403 error: The requested URL returned error: 403 error: The requested URL returned error: 403 error: The requested URL returned error: 403 error: pathspec 'dc750f54173fc0f96a15dabdd4b6ec6f9d93de1b' did not match any file(s) known to git. Unable to checkout 'dc750f54173fc0f96a15dabdd4b6ec6f9d93de1b' in submodule path 'deps/lager'
It looks like the https in my deps/lager path may be a problem for me too, so following your advice:
tmp$ git clone https://github.com/basho/lager.git Initialized empty Git repository in /home/zotonic/zotonic-0.8/tmp/lager/.git/ error: The requested URL returned error: 403 warning: remote HEAD refers to nonexistent ref, unable to checkout.
> What does "git submodule status" say? > What's in your .gitmodules file?
> I just ran i little sequence for your reference to see if it will give > you any hints [on a windows machine, but that shouldn't matter, too > much]... (even had some errors to solve along the way):
> Andreas Stenius@NEO /c/Work/Mobitron/proj/zotonic (master) > $ git submodule status > -816af03ec05ff257214f7e95de77d433565d8504 deps/gen_smtp > -dc750f54173fc0f96a15dabdd4b6ec6f9d93de1b deps/lager > -c0ec721428944787a9fc2b2b103e99b463da3d17 deps/webzmachine
> Andreas Stenius@NEO /c/Work/Mobitron/proj/zotonic (master) > $ git submodule update --init > Submodule 'deps/gen_smtp' (git://github.com/zotonic/gen_smtp.git) > registered for path 'deps/gen_smtp' > Submodule 'deps/lager' (https://github.com/basho/lager.git) registered > for path 'deps/lager' > Submodule 'deps/webzmachine' > (git://github.com/zotonic/webzmachine.git) registered for path > 'deps/webzmachine' > fatal: destination path 'deps/gen_smtp' already exists and is not an > empty directory. > Clone of 'git://github.com/zotonic/gen_smtp.git' into submodule path > 'deps/gen_smtp' failed
> Andreas Stenius@NEO /c/Work/Mobitron/proj/zotonic (master) > $ rm -rf deps/gen_smtp
> You could try to clone the lager repo manually into a tmp dir or > something to see if it works for you.
> //Andreas
> 2012/2/22 Simon Smithies <simon.smith...@gmail.com>: > > Hi again all,
> > One day I'll contribute something other than problems and questions > > here, promise ...
> > I am getting this error when I try to 'make' zotonic:
> > error: The requested URL returned error: 403 > > error: pathspec 'dc750f54173fc0f96a15dabdd4b6ec6f9d93de1b' did not > > match any file(s) known to git. > > Unable to checkout 'dc750f54173fc0f96a15dabdd4b6ec6f9d93de1b' in > > submodule path 'deps/lager'
> > Perhaps the problem is my authbind changes have prevented access to > > git at some level -- but I had no problems with the clone command. To > > be safe, I've removed authbind and ~zotonic/.profile.
> > I've previously had revision-related problems which were cured by > > deleting deps/lager. That doesn't help this time.
> Starting out on a similar sequence to you, but diverging straight away:
> zotonic@vps200:~/zotonic-0.8/zotonic$ git submodule update --init > fatal: Needed a single revision > Unable to find current revision in submodule path 'deps/lager'
> zotonic@vps200:~/zotonic-0.8/zotonic$ git submodule update --init > Initialized empty Git repository in > /home/zotonic/zotonic-0.8/zotonic/deps/lager/.git/ > error: The requested URL returned error: 403 > error: The requested URL returned error: 403 > error: The requested URL returned error: 403 > error: The requested URL returned error: 403 > error: pathspec 'dc750f54173fc0f96a15dabdd4b6ec6f9d93de1b' did not match > any file(s) known to git. > Unable to checkout 'dc750f54173fc0f96a15dabdd4b6ec6f9d93de1b' in submodule > path 'deps/lager'
> It looks like the https in my deps/lager path may be a problem for me too, > so following your advice:
> tmp$ git clone https://github.com/basho/lager.git > Initialized empty Git repository in > /home/zotonic/zotonic-0.8/tmp/lager/.git/ > error: The requested URL returned error: 403 > warning: remote HEAD refers to nonexistent ref, unable to checkout.
> Which I guess confirms it. Do we need the same fix in zotonic as you've > applied to zynamo?
> - Simon
> On Thu, Feb 23, 2012 at 1:06 AM, Andreas Stenius < > andreas.sten...@astekk.se> wrote:
>> Hi Simon,
>> What does "git submodule status" say? >> What's in your .gitmodules file?
>> I just ran i little sequence for your reference to see if it will give >> you any hints [on a windows machine, but that shouldn't matter, too >> much]... (even had some errors to solve along the way):
>> Andreas Stenius@NEO /c/Work/Mobitron/proj/zotonic (master) >> $ git submodule status >> -816af03ec05ff257214f7e95de77d433565d8504 deps/gen_smtp >> -dc750f54173fc0f96a15dabdd4b6ec6f9d93de1b deps/lager >> -c0ec721428944787a9fc2b2b103e99b463da3d17 deps/webzmachine
>> Andreas Stenius@NEO /c/Work/Mobitron/proj/zotonic (master) >> $ git submodule update --init >> Submodule 'deps/gen_smtp' (git://github.com/zotonic/gen_smtp.git) >> registered for path 'deps/gen_smtp' >> Submodule 'deps/lager' (https://github.com/basho/lager.git) registered >> for path 'deps/lager' >> Submodule 'deps/webzmachine' >> (git://github.com/zotonic/webzmachine.git) registered for path >> 'deps/webzmachine' >> fatal: destination path 'deps/gen_smtp' already exists and is not an >> empty directory. >> Clone of 'git://github.com/zotonic/gen_smtp.git' into submodule path >> 'deps/gen_smtp' failed
>> Andreas Stenius@NEO /c/Work/Mobitron/proj/zotonic (master) >> $ rm -rf deps/gen_smtp
>> You could try to clone the lager repo manually into a tmp dir or >> something to see if it works for you.
>> //Andreas
>> 2012/2/22 Simon Smithies <simon.smith...@gmail.com>: >> > Hi again all,
>> > One day I'll contribute something other than problems and questions >> > here, promise ...
>> > I am getting this error when I try to 'make' zotonic:
>> > error: The requested URL returned error: 403 >> > error: pathspec 'dc750f54173fc0f96a15dabdd4b6ec6f9d93de1b' did not >> > match any file(s) known to git. >> > Unable to checkout 'dc750f54173fc0f96a15dabdd4b6ec6f9d93de1b' in >> > submodule path 'deps/lager'
>> > Perhaps the problem is my authbind changes have prevented access to >> > git at some level -- but I had no problems with the clone command. To >> > be safe, I've removed authbind and ~zotonic/.profile.
>> > I've previously had revision-related problems which were cured by >> > deleting deps/lager. That doesn't help this time.
> Got it running again. Deleted and manually cloned deps/lager from > git://github.com/basho/lager.git <http://github.com/basho/lager.git>, > did a make clean, and rebuilt.
> Starting out on a similar sequence to you, but diverging straight away:
> zotonic@vps200:~/zotonic-0.8/zotonic$ git submodule update --init > fatal: Needed a single revision > Unable to find current revision in submodule path 'deps/lager'
> zotonic@vps200:~/zotonic-0.8/zotonic$ git submodule update --init > Initialized empty Git repository in > /home/zotonic/zotonic-0.8/zotonic/deps/lager/.git/ > error: The requested URL returned error: 403 > error: The requested URL returned error: 403 > error: The requested URL returned error: 403 > error: The requested URL returned error: 403 > error: pathspec 'dc750f54173fc0f96a15dabdd4b6ec6f9d93de1b' did not > match any file(s) known to git. > Unable to checkout 'dc750f54173fc0f96a15dabdd4b6ec6f9d93de1b' in > submodule path 'deps/lager'
> It looks like the https in my deps/lager path may be a problem for > me too, so following your advice:
> tmp$ git clone https://github.com/basho/lager.git > Initialized empty Git repository in > /home/zotonic/zotonic-0.8/tmp/lager/.git/ > error: The requested URL returned error: 403 > warning: remote HEAD refers to nonexistent ref, unable to checkout.
> Which I guess confirms it. Do we need the same fix in zotonic as > you've applied to zynamo?
> - Simon
> On Thu, Feb 23, 2012 at 1:06 AM, Andreas Stenius > <andreas.sten...@astekk.se <mailto:andreas.sten...@astekk.se>> wrote:
> Hi Simon,
> What does "git submodule status" say? > What's in your .gitmodules file?
> I just ran i little sequence for your reference to see if it > will give > you any hints [on a windows machine, but that shouldn't matter, too > much]... (even had some errors to solve along the way):
> Andreas Stenius@NEO /c/Work/Mobitron/proj/zotonic (master) > $ git submodule status > -816af03ec05ff257214f7e95de77d433565d8504 deps/gen_smtp > -dc750f54173fc0f96a15dabdd4b6ec6f9d93de1b deps/lager > -c0ec721428944787a9fc2b2b103e99b463da3d17 deps/webzmachine
> Andreas Stenius@NEO /c/Work/Mobitron/proj/zotonic (master) > $ git submodule update --init > Submodule 'deps/gen_smtp' (git://github.com/zotonic/gen_smtp.git > <http://github.com/zotonic/gen_smtp.git>) > registered for path 'deps/gen_smtp' > Submodule 'deps/lager' (https://github.com/basho/lager.git) > registered > for path 'deps/lager' > Submodule 'deps/webzmachine' > (git://github.com/zotonic/webzmachine.git > <http://github.com/zotonic/webzmachine.git>) registered for path > 'deps/webzmachine' > fatal: destination path 'deps/gen_smtp' already exists and is not an > empty directory. > Clone of 'git://github.com/zotonic/gen_smtp.git > <http://github.com/zotonic/gen_smtp.git>' into submodule path > 'deps/gen_smtp' failed
> Andreas Stenius@NEO /c/Work/Mobitron/proj/zotonic (master) > $ rm -rf deps/gen_smtp
> You could try to clone the lager repo manually into a tmp dir or > something to see if it works for you.
> //Andreas
> 2012/2/22 Simon Smithies <simon.smith...@gmail.com > <mailto:simon.smith...@gmail.com>>: > > Hi again all,
> > One day I'll contribute something other than problems and > questions > > here, promise ...
> > I am getting this error when I try to 'make' zotonic:
> > error: The requested URL returned error: 403 > > error: pathspec 'dc750f54173fc0f96a15dabdd4b6ec6f9d93de1b' did not > > match any file(s) known to git. > > Unable to checkout 'dc750f54173fc0f96a15dabdd4b6ec6f9d93de1b' in > > submodule path 'deps/lager'
> > The problem first occurred when I restarted my server following an > > authbind install (using these instructions:
> > Perhaps the problem is my authbind changes have prevented > access to > > git at some level -- but I had no problems with the clone > command. To > > be safe, I've removed authbind and ~zotonic/.profile.
> > I've previously had revision-related problems which were cured by > > deleting deps/lager. That doesn't help this time.