Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Need Help!Fail to "python client.py checkout"

21 views
Skip to first unread message

she...@gmail.com

unread,
Apr 21, 2013, 11:01:15 PM4/21/13
to
Hi all,
I want to get Thunderbird resoure and build it by myself.
I can get some codes by "hg clone <location of repository> src".
By When I get other codes of mozilla by "python client.py checkout",it fail again and again.
There is the callstack:
$ python client.py checkout
Executing command: ['hg', 'pull', '-R', '.\\.']
pulling from http://hg.mozilla.org/releases/comm-esr17
searching for changes
no changes found
Executing command: ['hg', 'update', '-r', 'default', '-R', '.\\.']
0 files updated, 0 files merged, 0 files removed, 0 files unresolved
Updated to revision 17a3b0e4c833d3dc6ae23522295d34214e196886.
Executing command:
['hg', 'clone', 'http://hg.mozilla.org/releases/mozilla-esr17
/', '.\\mozilla']
requesting all changes
adding changesets
adding manifests
adding file changes
transaction abort!
rollback completed
abort: connection ended unexpectedly
The exception was:
subprocess.CalledProcessError:
Command '['hg', 'clone', 'http://hg.mozilla.org/releases/
mozilla-esr17/', '.\\mozilla']' returned non-zero exit status -1
Sometimes,It aborts after "adding file changes".And some after "adding manifests".
How can I fix it?Or is there any other way to download mozilla codes?

Need your help!Please!THX

BR,
Mike

ishikawa

unread,
Apr 22, 2013, 3:40:18 AM4/22/13
to
Hi, similar problems happened to me several times in the past.
But they invariably disappeared over time, and so the root cause was never
determined.
If you can hook up your computer to a different network (different ISP,
different router, etc.), that may be worth trying.

Or you can use a bundle (see below) and hope that the future upgrade
works as expected.

The following is quoted from a post I wrote on May 30, 2011, with the
subject line of :
Re: Anyone seeing the similar problem: Re: mozilla checkout problem? :
"python client.py checkout" error after cloning comm-central.

> Hi,
>
> the problem has persisted for months, but I found a possible solution in the
> form of a recent posting to a different newsgroup/mailing list.
>
> I am trying the suggestion to use the bundle. Stay tuned.
>
> I should have searched using google with "hg clone failure" since the search
> using this phrse
> shows this relevant post on the first page.
> (I was looking for checkout failure for a while, and then gave up.)
>
> I was thinking that this problem I was seeing could be a bug of hg command
> with a deep cause or something, and thus bit the bullet and was ready to
> debug hg command itself. But from what I saw in the post, it is indeed
> network-related issue.
>
> TIA
>
> PS: it is still funny that a particular computer I was trying to set up the
> environment experienced this issue. Other PCs I could get my hands on didn't
> show this problem.
>
> Quoting from:
> http://osdir.com/ml/dev-apps-firefox/2011-03/msg00229.html
>> On 22/03/11 6:01 PM, JJ wrote:
>> Hello,
>>
>> Trying to build FF from source for first time. Everytime I do hg clone
>> http://hg.mozilla.org/mozilla-central/ , it fails midway with
>> following message
>>
>> abort: premature EOF reading chunk (got 278631 bytes, expected 723413)
>>
>> Any idea what's wrong here?
>>
>> Cheers
>> -JJ
>>
>> We provide pre-packaged bundles for just this kind of network problem. You can get it here:
>> http://ftp.mozilla.org/pub/mozilla.org/firefox/bundles/mozilla-central.hg
>>
>> If the transfer is interrupted then using wget -c will continue where it was interrupted.
>>
>> Unpack the bundle by going
>> hg unbundle mozilla-central.hg
>> That will give you a full clone that can be updated from hg.mozilla.org.
>>
>> Cheers,
>> Nick Thomas
>> _______________________________________________
>> dev-apps-firefox mailing list
>> dev-apps-firefox@xxxxxxxxxxxxxxxxx
>> https://lists.mozilla.org/listinfo/dev-apps-firefox
>


0 new messages