Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Error 403 on make
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Simon Smithies  
View profile  
 More options Feb 22 2012, 4:08 am
From: Simon Smithies <simon.smith...@gmail.com>
Date: Wed, 22 Feb 2012 01:08:33 -0800 (PST)
Local: Wed, Feb 22 2012 4:08 am
Subject: Error 403 on make
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:
http://zotonic.com/documentation/871/running-on-port-80-and-port-443)
but I can repro the error on a clean install.

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.

Any ideas?

- Simon


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andreas Stenius  
View profile  
 More options Feb 22 2012, 7:06 am
From: Andreas Stenius <andreas.sten...@astekk.se>
Date: Wed, 22 Feb 2012 13:06:55 +0100
Local: Wed, Feb 22 2012 7:06 am
Subject: Re: [Zotonic-Usr] Error 403 on make
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

Andreas Stenius@NEO /c/Work/Mobitron/proj/zotonic (master)
$ git submodule update --init
Submodule 'deps/gen_smtp' () registered for path 'deps/gen_smtp'
Submodule 'deps/lager' () registered for path 'deps/lager'
Submodule 'deps/webzmachine' () registered for path 'deps/webzmachine'
Cloning into 'deps/gen_smtp'...
remote: Counting objects: 1612, done.
remote: Compressing objects: 100% (488/488), done.
Receiving objects:  68% (1097/1612), 852.00 KiB | 105 KiB/s
Receiving objects: 100% (1612/1612), 888.66 KiB | 91 KiB/s, done.
Resolving deltas: 100% (1161/1161), done.
Submodule path 'deps/gen_smtp': checked out
'816af03ec05ff257214f7e95de77d433565d8504'
Cloning into 'deps/lager'...
remote: Counting objects: 958, done.
remote: Compressing objects: 100% (377/377), done.
remote: Total 958 (delta 674), reused 853 (delta 570)
Receiving objects: 100% (958/958), 450.99 KiB | 69 KiB/s, done.
Resolving deltas: 100% (674/674), done.
Submodule path 'deps/lager': checked out
'dc750f54173fc0f96a15dabdd4b6ec6f9d93de1b'
Cloning into 'deps/webzmachine'...
remote: Counting objects: 497, done.
remote: Compressing objects: 100% (236/236), done.

Receiving objects: 100% (497/497), 1.03 MiB | 55 KiB/s, done.
Resolving deltas: 100% (324/324), done.
Submodule path 'deps/webzmachine': checked out
'c0ec721428944787a9fc2b2b103e99b463da3d17'

Andreas Stenius@NEO /c/Work/Mobitron/proj/zotonic (master)
$ git submodule status
 816af03ec05ff257214f7e95de77d433565d8504 deps/gen_smtp (heads/master)
 dc750f54173fc0f96a15dabdd4b6ec6f9d93de1b deps/lager (0.9.4-37-gdc750f5)
 c0ec721428944787a9fc2b2b103e99b463da3d17 deps/webzmachine
(remotes/origin/zotonic-0.8)

Andreas Stenius@NEO /c/Work/Mobitron/proj/zotonic (master)
$ cat .gitmodules
[submodule "deps/webzmachine"]
        path = deps/webzmachine
        url = git://github.com/zotonic/webzmachine.git
[submodule "deps/gen_smtp"]
        path = deps/gen_smtp
        url = git://github.com/zotonic/gen_smtp.git
[submodule "deps/lager"]
        path = deps/lager
        url = https://github.com/basho/lager.git

Note: I had some issues with the https of the lager module on my Mac,
and checked in a fix for it (using git:// instead). But that was on
the zynamo branch, apparently.
[https://github.com/zotonic/zotonic/commit/4c74c2a490ed78c8bcf4a256ac4...]

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>:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Simon Smithies  
View profile  
 More options Feb 22 2012, 1:05 pm
From: Simon Smithies <simon.smith...@gmail.com>
Date: Thu, 23 Feb 2012 07:05:21 +1300
Local: Wed, Feb 22 2012 1:05 pm
Subject: Re: [Zotonic-Usr] Error 403 on make

Hi Andreas,

$ git submodule status
 816af03ec05ff257214f7e95de77d433565d8504 deps/gen_smtp (heads/master)
 dc750f54173fc0f96a15dabdd4b6ec6f9d93de1b deps/lager
-c0ec721428944787a9fc2b2b103e99b463da3d17 deps/webzmachine

$ cat .gitmodules
[submodule "deps/webzmachine"]
path = deps/webzmachine
url = git://github.com/zotonic/webzmachine.git
[submodule "deps/gen_smtp"]
path = deps/gen_smtp
url = git://github.com/zotonic/gen_smtp.git
[submodule "deps/lager"]
path = deps/lager
url = https://github.com/basho/lager.git

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$ rm -rf 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.

tmp$ cd ..
zotonic@vps200:~/zotonic-0.8$ rm -rf tmp/
zotonic@vps200:~/zotonic-0.8$ mkdir tmp
zotonic@vps200:~/zotonic-0.8$ cd tmp
zotonic@vps200:~/zotonic-0.8/tmp$ git clone git://github.com/basho/lager.git
Initialized empty Git repository in
/home/zotonic/zotonic-0.8/tmp/lager/.git/
remote: Counting objects: 1003, done.
remote: Compressing objects: 100% (405/405), done.
remote: Total 1003 (delta 690), reused 897 (delta 586)
Receiving objects: 100% (1003/1003), 464.72 KiB | 311 KiB/s, done.
Resolving deltas: 100% (690/690), done.

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:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Simon Smithies  
View profile  
 More options Feb 22 2012, 1:36 pm
From: Simon Smithies <simon.smith...@gmail.com>
Date: Thu, 23 Feb 2012 07:36:25 +1300
Local: Wed, Feb 22 2012 1:36 pm
Subject: Re: [Zotonic-Usr] Error 403 on make

Got it running again. Deleted and manually cloned deps/lager from git://
github.com/basho/lager.git, did a make clean, and rebuilt.

Seems there is a problem with https://github.com/basho/lager.git.

Thanks Andreas for getting me on track with this. Will log a case to copy
your zynamo fix to zotonic.

- Simon

On Thu, Feb 23, 2012 at 7:05 AM, Simon Smithies <simon.smith...@gmail.com>wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Arjan Scherpenisse  
View profile  
 More options Feb 22 2012, 3:12 pm
From: Arjan Scherpenisse <ar...@scherpenisse.net>
Date: Wed, 22 Feb 2012 21:12:24 +0100
Local: Wed, Feb 22 2012 3:12 pm
Subject: Re: [Zotonic-Usr] Error 403 on make
On 02/22/2012 07:36 PM, Simon Smithies wrote:

> 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.

> Seems there is a problem with https://github.com/basho/lager.git.

> Thanks Andreas for getting me on track with this. Will log a case to
> copy your zynamo fix to zotonic.

Noted, and fixed :)

Arjan


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »