[Sugar-devel] Cannot sugar-jhbuild update

2009-02-05 Thread Alex Holkner
Hi

I'm following the instructions at
http://wiki.laptop.org/go/Sugar_with_sugar-jhbuild to checkout sugar
for the first time.

git-clone and git-pull worked fine, but now I get this error consistently:

~/foreign/sugar-jhbuild% ./sugar-jhbuild update
Initialized empty Git repository in
/home/alex/foreign/sugar-jhbuild/jhbuild/.git/
fatal: The remote end hung up unexpectedly
fetch-pack from 'git://git.gnome.org/jhbuild' failed.
Failed to clone sugar-jhbuild.
Traceback (most recent call last):
  File "./sugar-jhbuild", line 46, in 
import main
  File "/home/alex/foreign/sugar-jhbuild/sjhbuild/main.py", line 31, in 
import jhbuild.commands
ImportError: No module named jhbuild.commands

I'm not behind a proxy or any serious kind of firewall.  Thanks for any help.

Alex.
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Cannot sugar-jhbuild update

2009-02-06 Thread Tomeu Vizoso
2009/2/6 Alex Holkner :
>  File "/home/alex/foreign/sugar-jhbuild/sjhbuild/main.py", line 31, in 
> 
>import jhbuild.commands
> ImportError: No module named jhbuild.commands

This happened to me some days ago, it was caused because the
sugar-jhbuild/jhbuild submodule was pointing to the old location.
Deleting that directory and updating sugar-jhbuild solved the issue.

HTH,

Tomeu
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Cannot sugar-jhbuild update

2009-02-07 Thread Ties Stuij
On Fri, Feb 6, 2009 at 5:06 PM, Tomeu Vizoso  wrote:
> 2009/2/6 Alex Holkner :
>>  File "/home/alex/foreign/sugar-jhbuild/sjhbuild/main.py", line 31, in 
>> 
>>import jhbuild.commands
>> ImportError: No module named jhbuild.commands
>
> This happened to me some days ago, it was caused because the
> sugar-jhbuild/jhbuild submodule was pointing to the old location.
> Deleting that directory and updating sugar-jhbuild solved the issue.

I think the problem here is that the path to the gnome git repo is
wrong in the sugar-jhbuild script.
It's git://git.gnome.org/preview/jhbuild, not git://git.gnome.org/jhbuild.

/Ties

On Fri, Feb 6, 2009 at 5:06 PM, Tomeu Vizoso  wrote:
> 2009/2/6 Alex Holkner :
>>  File "/home/alex/foreign/sugar-jhbuild/sjhbuild/main.py", line 31, in 
>> 
>>import jhbuild.commands
>> ImportError: No module named jhbuild.commands
>
> This happened to me some days ago, it was caused because the
> sugar-jhbuild/jhbuild submodule was pointing to the old location.
> Deleting that directory and updating sugar-jhbuild solved the issue.
>
> HTH,
>
> Tomeu
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Cannot sugar-jhbuild update

2009-02-07 Thread Ties Stuij
On Sun, Feb 8, 2009 at 11:41 AM, Ties Stuij  wrote:
> On Fri, Feb 6, 2009 at 5:06 PM, Tomeu Vizoso  wrote:
>> 2009/2/6 Alex Holkner :
>>>  File "/home/alex/foreign/sugar-jhbuild/sjhbuild/main.py", line 31, in 
>>> 
>>>import jhbuild.commands
>>> ImportError: No module named jhbuild.commands
>>
>> This happened to me some days ago, it was caused because the
>> sugar-jhbuild/jhbuild submodule was pointing to the old location.
>> Deleting that directory and updating sugar-jhbuild solved the issue.
>
> I think the problem here is that the path to the gnome git repo is
> wrong in the sugar-jhbuild script.
> It's git://git.gnome.org/preview/jhbuild, not git://git.gnome.org/jhbuild.

s/think/know/, since I had the same problem with a clean checkout.

/Ties
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Cannot sugar-jhbuild update

2009-02-08 Thread Tomeu Vizoso
2009/2/8 Ties Stuij :
> On Sun, Feb 8, 2009 at 11:41 AM, Ties Stuij  wrote:
>> On Fri, Feb 6, 2009 at 5:06 PM, Tomeu Vizoso  wrote:
>>> 2009/2/6 Alex Holkner :
  File "/home/alex/foreign/sugar-jhbuild/sjhbuild/main.py", line 31, in 
 
import jhbuild.commands
 ImportError: No module named jhbuild.commands
>>>
>>> This happened to me some days ago, it was caused because the
>>> sugar-jhbuild/jhbuild submodule was pointing to the old location.
>>> Deleting that directory and updating sugar-jhbuild solved the issue.
>>
>> I think the problem here is that the path to the gnome git repo is
>> wrong in the sugar-jhbuild script.
>> It's git://git.gnome.org/preview/jhbuild, not git://git.gnome.org/jhbuild.
>
> s/think/know/, since I had the same problem with a clean checkout.

But see

http://git.sugarlabs.org/projects/sugar-jhbuild/repos/mainline/blobs/master/sugar-jhbuild#line39

That code will git-pull an existing jhbuild dir or git-clone from
git://git.gnome.org/jhbuild .

So maybe the jhbuild dir needs to be deleted first, then git-pull in
the sugar-jhbuild dir and then ./sugar-jhbuild update?

Regards,

Tomeu
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Cannot sugar-jhbuild update

2009-02-08 Thread Ties Stuij
On Sun, Feb 8, 2009 at 1:44 PM, Tomeu Vizoso  wrote:
> 2009/2/8 Ties Stuij :
>> On Sun, Feb 8, 2009 at 11:41 AM, Ties Stuij  wrote:
>>> On Fri, Feb 6, 2009 at 5:06 PM, Tomeu Vizoso  wrote:
 2009/2/6 Alex Holkner :
>  File "/home/alex/foreign/sugar-jhbuild/sjhbuild/main.py", line 31, in 
> 
>import jhbuild.commands
> ImportError: No module named jhbuild.commands

 This happened to me some days ago, it was caused because the
 sugar-jhbuild/jhbuild submodule was pointing to the old location.
 Deleting that directory and updating sugar-jhbuild solved the issue.
>>>
>>> I think the problem here is that the path to the gnome git repo is
>>> wrong in the sugar-jhbuild script.
>>> It's git://git.gnome.org/preview/jhbuild, not git://git.gnome.org/jhbuild.
>>
>> s/think/know/, since I had the same problem with a clean checkout.
>
> But see
>
> http://git.sugarlabs.org/projects/sugar-jhbuild/repos/mainline/blobs/master/sugar-jhbuild#line39
>
> That code will git-pull an existing jhbuild dir or git-clone from
> git://git.gnome.org/jhbuild .
>
> So maybe the jhbuild dir needs to be deleted first, then git-pull in
> the sugar-jhbuild dir and then ./sugar-jhbuild update?

On a clean sugar-jhbuild there isn't even a jhbuild dir. And indeed
then git tries to pull in jhbuild. As you can see from Alex's post,
git can't. Again, there is no git.gnome.org/jhbuild. The path is wrong
(changed perhaps recently?). See http://git.gnome.org/cgit/. The right
path is (now) git.gnome.org/preview/jhbuild. Worked for me in any
case.

/Ties
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Cannot sugar-jhbuild update

2009-02-08 Thread Tomeu Vizoso
On Sun, Feb 8, 2009 at 09:10, Ties Stuij  wrote:
> On Sun, Feb 8, 2009 at 1:44 PM, Tomeu Vizoso  wrote:
>> 2009/2/8 Ties Stuij :
>>> On Sun, Feb 8, 2009 at 11:41 AM, Ties Stuij  wrote:
 On Fri, Feb 6, 2009 at 5:06 PM, Tomeu Vizoso  wrote:
> 2009/2/6 Alex Holkner :
>>  File "/home/alex/foreign/sugar-jhbuild/sjhbuild/main.py", line 31, in 
>> 
>>import jhbuild.commands
>> ImportError: No module named jhbuild.commands
>
> This happened to me some days ago, it was caused because the
> sugar-jhbuild/jhbuild submodule was pointing to the old location.
> Deleting that directory and updating sugar-jhbuild solved the issue.

 I think the problem here is that the path to the gnome git repo is
 wrong in the sugar-jhbuild script.
 It's git://git.gnome.org/preview/jhbuild, not git://git.gnome.org/jhbuild.
>>>
>>> s/think/know/, since I had the same problem with a clean checkout.
>>
>> But see
>>
>> http://git.sugarlabs.org/projects/sugar-jhbuild/repos/mainline/blobs/master/sugar-jhbuild#line39
>>
>> That code will git-pull an existing jhbuild dir or git-clone from
>> git://git.gnome.org/jhbuild .
>>
>> So maybe the jhbuild dir needs to be deleted first, then git-pull in
>> the sugar-jhbuild dir and then ./sugar-jhbuild update?
>
> On a clean sugar-jhbuild there isn't even a jhbuild dir. And indeed
> then git tries to pull in jhbuild. As you can see from Alex's post,
> git can't. Again, there is no git.gnome.org/jhbuild. The path is wrong
> (changed perhaps recently?). See http://git.gnome.org/cgit/. The right
> path is (now) git.gnome.org/preview/jhbuild. Worked for me in any
> case.

I see now, I understood the opposite.

Will change accordingly.

Thanks!

Tomeu
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Cannot sugar-jhbuild update

2009-02-08 Thread David Farning
Thanks for finding this.

Indeed, Gnome must have recently moved the location of jhbuild in
their git repo.  A couple of weeks ago there was a poll at Gnome about
changing their VCS to git.

The changes to the gnome git infrastructure have been fast and furious
since then.

david

On Mon, Feb 9, 2009 at 3:37 AM, Tomeu Vizoso  wrote:
> On Sun, Feb 8, 2009 at 09:10, Ties Stuij  wrote:
>> On Sun, Feb 8, 2009 at 1:44 PM, Tomeu Vizoso  wrote:
>>> 2009/2/8 Ties Stuij :
 On Sun, Feb 8, 2009 at 11:41 AM, Ties Stuij  wrote:
> On Fri, Feb 6, 2009 at 5:06 PM, Tomeu Vizoso  wrote:
>> 2009/2/6 Alex Holkner :
>>>  File "/home/alex/foreign/sugar-jhbuild/sjhbuild/main.py", line 31, in 
>>> 
>>>import jhbuild.commands
>>> ImportError: No module named jhbuild.commands
>>
>> This happened to me some days ago, it was caused because the
>> sugar-jhbuild/jhbuild submodule was pointing to the old location.
>> Deleting that directory and updating sugar-jhbuild solved the issue.
>
> I think the problem here is that the path to the gnome git repo is
> wrong in the sugar-jhbuild script.
> It's git://git.gnome.org/preview/jhbuild, not git://git.gnome.org/jhbuild.

 s/think/know/, since I had the same problem with a clean checkout.
>>>
>>> But see
>>>
>>> http://git.sugarlabs.org/projects/sugar-jhbuild/repos/mainline/blobs/master/sugar-jhbuild#line39
>>>
>>> That code will git-pull an existing jhbuild dir or git-clone from
>>> git://git.gnome.org/jhbuild .
>>>
>>> So maybe the jhbuild dir needs to be deleted first, then git-pull in
>>> the sugar-jhbuild dir and then ./sugar-jhbuild update?
>>
>> On a clean sugar-jhbuild there isn't even a jhbuild dir. And indeed
>> then git tries to pull in jhbuild. As you can see from Alex's post,
>> git can't. Again, there is no git.gnome.org/jhbuild. The path is wrong
>> (changed perhaps recently?). See http://git.gnome.org/cgit/. The right
>> path is (now) git.gnome.org/preview/jhbuild. Worked for me in any
>> case.
>
> I see now, I understood the opposite.
>
> Will change accordingly.
>
> Thanks!
>
> Tomeu
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Cannot sugar-jhbuild update

2009-02-08 Thread Alex Holkner
On Sun, Feb 8, 2009 at 4:56 PM, Ties Stuij  wrote:
> On Fri, Feb 6, 2009 at 5:06 PM, Tomeu Vizoso  wrote:
>> 2009/2/6 Alex Holkner :
>>>  File "/home/alex/foreign/sugar-jhbuild/sjhbuild/main.py", line 31, in 
>>> 
>>>import jhbuild.commands
>>> ImportError: No module named jhbuild.commands
>>
>> This happened to me some days ago, it was caused because the
>> sugar-jhbuild/jhbuild submodule was pointing to the old location.
>> Deleting that directory and updating sugar-jhbuild solved the issue.
>
> I think the problem here is that the path to the gnome git repo is
> wrong in the sugar-jhbuild script.
> It's git://git.gnome.org/preview/jhbuild, not git://git.gnome.org/jhbuild.

Thank you, appears to be working now.

Alex.
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Cannot sugar-jhbuild update

2009-02-08 Thread Marco Pesenti Gritti
On Sun, Feb 8, 2009 at 1:47 PM, David Farning  wrote:
> Thanks for finding this.
>
> Indeed, Gnome must have recently moved the location of jhbuild in
> their git repo.  A couple of weeks ago there was a poll at Gnome about
> changing their VCS to git.
>
> The changes to the gnome git infrastructure have been fast and furious
> since then.

afaik GNOME git is experimental for now (their official repos are on
svn and it has not yet been decided if they will be actually migrated
to git, flamewars still going on about it). Perhaps it would be better
to do our clone of jhbuild on git.sugarlabs.org and pull from there
for now.

Marco
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Cannot sugar-jhbuild update

2009-02-09 Thread David Farning
On Tue, Feb 10, 2009 at 1:14 AM, Marco Pesenti Gritti
 wrote:
> On Sun, Feb 8, 2009 at 1:47 PM, David Farning  wrote:
>> Thanks for finding this.
>>
>> Indeed, Gnome must have recently moved the location of jhbuild in
>> their git repo.  A couple of weeks ago there was a poll at Gnome about
>> changing their VCS to git.
>>
>> The changes to the gnome git infrastructure have been fast and furious
>> since then.
>
> afaik GNOME git is experimental for now (their official repos are on
> svn and it has not yet been decided if they will be actually migrated
> to git, flamewars still going on about it). Perhaps it would be better
> to do our clone of jhbuild on git.sugarlabs.org and pull from there
> for now.
>
Good idea, I'll add a clone of the upstream jhbuild onto git.sl.o

david
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Cannot sugar-jhbuild update

2009-02-09 Thread David Farning
On Tue, Feb 10, 2009 at 6:48 AM, David Farning  wrote:
> On Tue, Feb 10, 2009 at 1:14 AM, Marco Pesenti Gritti
>  wrote:
>> On Sun, Feb 8, 2009 at 1:47 PM, David Farning  wrote:
>>> Thanks for finding this.
>>>
>>> Indeed, Gnome must have recently moved the location of jhbuild in
>>> their git repo.  A couple of weeks ago there was a poll at Gnome about
>>> changing their VCS to git.
>>>
>>> The changes to the gnome git infrastructure have been fast and furious
>>> since then.
>>
>> afaik GNOME git is experimental for now (their official repos are on
>> svn and it has not yet been decided if they will be actually migrated
>> to git, flamewars still going on about it). Perhaps it would be better
>> to do our clone of jhbuild on git.sugarlabs.org and pull from there
>> for now.
>>
> Good idea, I'll add a clone of the upstream jhbuild onto git.sl.o
>
Done
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel