Comment 2 for bug 1169368

Revision history for this message
Brian Ealdwine (eode) wrote : Re: [Bug 1169368] [NEW] Invalid literal for int() with base 16: 'Inva'

Ok, I did a little research for you..

1) yes, the problem still exists if I use dulwich directly.

2) It looks like the problem is in the URL structure (or how a URL is
interpreted)

Apparently, when git goes to ssh://foo.bar.com/baz, it goes to:
foo.bar.com
baz

..but when dulwich goes to ssh://foo.bar.com/baz, it goes to:
foo.bar.com
/baz

I can actually get a nearly identical message from git by altering the URL:
$ git clone ssh://foo.bar.com//baz
Cloning into 'baz'...
fatal: protocol error: bad line length character: Inva

..hope this helps.

On Tue, Apr 16, 2013 at 4:28 AM, Jelmer Vernooij <<email address hidden>
> wrote:

> On Tue, Apr 16, 2013 at 12:18:24AM -0000, Brian Visel wrote:
> > A stack trace occurs, ending in the error written in the title.
> >
> > This occurs with the following command (private names obscured):
> > hg clone ssh://<email address hidden>/~/git/my_project.git
> >
> > SSHing into the host works fine.
> > Doing a git clone works fine.
> >
> > To recreate:
> > go to www.openshift.redhat.com
> > ..acquire a free account
> > ..create an app
> > ..post your ssh pubkey
> > ..ssh into the host to check that ssh is working properly
> > ..attempt to clone with hg-git.
> >
> > I am using:
> > dulwich 0.8.7
> > hg-git (most recent from <email address hidden>/durin42/hg-git)
> > hg 2.2.2
> Can you reproduce this with "dulwich clone ssh://" and perhaps with a
> public URL (i.e. non-ssh)?
>
> Cheers,
>
> Jelmer
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1169368
>
> Title:
> Invalid literal for int() with base 16: 'Inva'
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/dulwich/+bug/1169368/+subscriptions
>