← Back to team overview

dulwich-users team mailing list archive

Re: ValueError: invalid literal for int() with base 16: 'logi'

 

On Wed, Dec 18, 2013 at 02:36:54PM +0300, anatoly techtonik wrote:
> I try to clone my repository from GitHub with hg-git and it fails.
> Dulwich 1.9.4, Hg-Git 0.5.0, Windows.
> Please, CC.
> 
> destination directory: recordscreen
> ["git-upload-pack '/techtonik/recordscreen'"]
> ** Unknown exception encountered with possibly-broken third-party
> extension hggit
> ** which supports versions 2.2.3 of Mercurial.
> ** Please disable hggit and try your action again.
> ** If that fixes the bug please report it to
> https://bitbucket.org/durin42/hg-git/issues
> ** Python 2.7.5 (default, May 15 2013, 22:43:36) [MSC v.1500 32 bit (Intel)]
> ** Mercurial Distributed SCM (version 2.8)
> ** Extensions loaded: churn, color, convert, evolve, hggit, strip, mq,
> rebase, record
> Traceback (most recent call last):
>   File "hg", line 38, in <module>
>   File "mercurial\dispatch.pyc", line 28, in run
>   File "mercurial\dispatch.pyc", line 69, in dispatch
>   File "mercurial\dispatch.pyc", line 133, in _runcatch
>   File "mercurial\dispatch.pyc", line 806, in _dispatch
>   File "mercurial\dispatch.pyc", line 585, in runcommand
>   File "mercurial\extensions.pyc", line 196, in wrap
>   File "hgext\color.pyc", line 419, in colorcmd
>   File "mercurial\dispatch.pyc", line 897, in _runcommand
>   File "mercurial\dispatch.pyc", line 868, in checkargs
>   File "mercurial\dispatch.pyc", line 803, in <lambda>
>   File "mercurial\util.pyc", line 512, in check
>   File "mercurial\commands.pyc", line 1282, in clone
>   File "mercurial\hg.pyc", line 372, in clone
>   File "mercurial\localrepo.pyc", line 2431, in clone
>   File "C:\hg-git\hggit\hgrepo.py", line 14, in pull
>     return git.fetch(remote.path, heads)
>   File "C:\hg-git\hggit\git_handler.py", line 205, in fetch
>     refs = self.fetch_pack(remote, heads)
>   File "C:\hg-git\hggit\git_handler.py", line 1016, in fetch_pack
>     ret = client.fetch_pack(path, determine_wants, graphwalker,
> f.write, progress.progress)
>   File "dulwich\client.pyc", line 527, in fetch_pack
>   File "dulwich\client.pyc", line 144, in read_pkt_refs
>   File "dulwich\protocol.pyc", line 147, in read_pkt_seq
>   File "dulwich\protocol.pyc", line 104, in read_pkt_line
> ValueError: invalid literal for int() with base 16: 'logi'

Can you reproduce it with dulwich clone (without hg-git)? Is there an easy way
for us to reproduce this? 

Cheers,

Jelmer


Follow ups

References