svn-import error

Asked by Paul Spain

Hi there,

Encountering problems when running the svn-import command...

Commands:
H:\bzr\demo>bzr svn-import http://opdmssvn/sftwg/demo/ .
bzr: ERROR: Invalid http response for http://opdmssvn/sftwg/demo/info/refs?service=git-upload-pack: Unable to handle htt
p code 502: notresolvable

H:\bzr\demo>bzr --version
Bazaar (bzr) 2.5.0
  Python interpreter: C:\Program Files\Bazaar\python26.dll 2.6.6
  Python standard library: C:\Program Files\Bazaar\lib\library.zip
  Platform: Windows-XP-5.1.2600-SP3
  bzrlib: C:\Program Files\Bazaar\lib\library.zip\bzrlib
  Bazaar configuration: C:/Documents and Settings/PaulS/Application Data/bazaar/2.0
  Bazaar log file: C:\Documents and Settings\PaulS\My Documents\.bzr.log

Extras:
1) The subversion repository uses Windows domain authentication via the mod_auth_sspi plugin
2) The command-line svn client works fine on another sandbox on the same drive

Any pointers greatly appreciated. I have to demo Bazaar tomorrow and one of the requirements is an svn import

Cheers, Paul.

Question information

Language:
English Edit question
Status:
Answered
For:
Bazaar Subversion Plugin Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Jelmer Vernooij (jelmer) said :
#1

On Tue, Jun 26, 2012 at 01:35:59PM -0000, Paul Spain wrote:
> Question #201496 on Bazaar Subversion Plugin changed:
> https://answers.launchpad.net/bzr-svn/+question/201496

> Description changed to:
> Hi there,

> Encountering problems when running the svn-import command...

> Commands:
> H:\bzr\demo>bzr svn-import http://opdmssvn/sftwg/demo/ .
> bzr: ERROR: Invalid http response for http://opdmssvn/sftwg/demo/info/refs?service=git-upload-pack: Unable to handle htt
> p code 502: notresolvable

> H:\bzr\demo>bzr --version
> Bazaar (bzr) 2.5.0
> Python interpreter: C:\Program Files\Bazaar\python26.dll 2.6.6
> Python standard library: C:\Program Files\Bazaar\lib\library.zip
> Platform: Windows-XP-5.1.2600-SP3
> bzrlib: C:\Program Files\Bazaar\lib\library.zip\bzrlib
> Bazaar configuration: C:/Documents and Settings/PaulS/Application Data/bazaar/2.0
> Bazaar log file: C:\Documents and Settings\PaulS\My Documents\.bzr.log

> Extras:
> 1) The subversion repository uses Windows domain authentication via the mod_auth_sspi plugin
> 2) The command-line svn client works fine on another sandbox on the same drive

> Any pointers greatly appreciated. I have to demo Bazaar tomorrow and one
> of the requirements is an svn import
Can you try running this with the git plugin disabled? That should get
you a slightly better error message. E.g.:

$ BZR_DISABLE_PLUGINS=git bzr svn-import http://opdmssvn/sftwg/demo/ .

I'm not sure if bzr-svn supports SSPI authentication; it's never bene
tested with that as far as I know.

Cheers,

Jelmer

Revision history for this message
Paul Spain (pvspain) said :
#2

Hi Jelmer,

Thanks for getting back so quickly. I tried your suggestion with the
same result:

H:\bzr\demo>set BZR_DISABLED_PLUGINS=git

H:\bzr\demo>set BZR_DISABLED_PLUGINS
BZR_DISABLED_PLUGINS=git

H:\bzr\demo>bzr svn-import http://opdmssvn/sftwg/demo/ .
bzr: ERROR: Invalid http response for
http://opdmssvn/sftwg/demo/info/refs?service=git-upload-pack: Unable
to handle http code 502: notresolvable

H:\bzr\demo>

I'm going to try a local "file://" based import for the demo today.
That should be painless.

Cheers, Paul.

On Wed, Jun 27, 2012 at 12:11 AM, Jelmer Vernooij
<email address hidden> wrote:
> Your question #201496 on Bazaar Subversion Plugin changed:
> https://answers.launchpad.net/bzr-svn/+question/201496
>
>    Status: Open => Answered
>
> Jelmer Vernooij proposed the following answer:
> On Tue, Jun 26, 2012 at 01:35:59PM -0000, Paul Spain wrote:
>> Question #201496 on Bazaar Subversion Plugin changed:
>> https://answers.launchpad.net/bzr-svn/+question/201496
>
>> Description changed to:
>> Hi there,
>
>> Encountering problems when running the svn-import command...
>
>> Commands:
>> H:\bzr\demo>bzr svn-import http://opdmssvn/sftwg/demo/ .
>> bzr: ERROR: Invalid http response for http://opdmssvn/sftwg/demo/info/refs?service=git-upload-pack: Unable to handle htt
>> p code 502: notresolvable
>
>> H:\bzr\demo>bzr --version
>> Bazaar (bzr) 2.5.0
>>   Python interpreter: C:\Program Files\Bazaar\python26.dll 2.6.6
>>   Python standard library: C:\Program Files\Bazaar\lib\library.zip
>>   Platform: Windows-XP-5.1.2600-SP3
>>   bzrlib: C:\Program Files\Bazaar\lib\library.zip\bzrlib
>>   Bazaar configuration: C:/Documents and Settings/PaulS/Application Data/bazaar/2.0
>>   Bazaar log file: C:\Documents and Settings\PaulS\My Documents\.bzr.log
>
>> Extras:
>> 1) The subversion repository uses Windows domain authentication via the mod_auth_sspi plugin
>> 2) The command-line svn client works fine on another sandbox on the same drive
>
>> Any pointers greatly appreciated. I have to demo Bazaar tomorrow and one
>> of the requirements is an svn import
> Can you try running this with the git plugin disabled? That should get
> you a slightly better error message. E.g.:
>
> $ BZR_DISABLE_PLUGINS=git bzr svn-import http://opdmssvn/sftwg/demo/ .
>
> I'm not sure if bzr-svn supports SSPI authentication; it's never bene
> tested with that as far as I know.
>
> Cheers,
>
> Jelmer
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/bzr-svn/+question/201496/+confirm?answer_id=0
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/bzr-svn/+question/201496
>
> You received this question notification because you asked the question.

Revision history for this message
Paul Spain (pvspain) said :
#3

Just saw my typo after I pressed send....

Different error:
H:\bzr\demo>set BZR_DISABLE_PLUGINS=git

H:\bzr\demo>set BZR_DISABLE_PLUGINS
BZR_DISABLE_PLUGINS=git

H:\bzr\demo>bzr svn-import http://opdmssvn/sftwg/demo/ .
bzr: ERROR: Invalid http response for
http://opdmssvn/sftwg/demo/.bzr/branch-format: Unable to handle http
code 502: not resolvable

H:\bzr\demo>

On Wed, Jun 27, 2012 at 8:48 AM, Paul Spain <email address hidden> wrote:
> Hi Jelmer,
>
> Thanks for getting back so quickly. I tried your suggestion with the
> same result:
>
> H:\bzr\demo>set BZR_DISABLED_PLUGINS=git
>
> H:\bzr\demo>set BZR_DISABLED_PLUGINS
> BZR_DISABLED_PLUGINS=git
>
> H:\bzr\demo>bzr svn-import http://opdmssvn/sftwg/demo/ .
> bzr: ERROR: Invalid http response for
> http://opdmssvn/sftwg/demo/info/refs?service=git-upload-pack: Unable
> to handle http code 502: notresolvable
>
> H:\bzr\demo>
>
> I'm going to try a local "file://" based import for the demo today.
> That should be painless.
>
> Cheers, Paul.
>
> On Wed, Jun 27, 2012 at 12:11 AM, Jelmer Vernooij
> <email address hidden> wrote:
>> Your question #201496 on Bazaar Subversion Plugin changed:
>> https://answers.launchpad.net/bzr-svn/+question/201496
>>
>>    Status: Open => Answered
>>
>> Jelmer Vernooij proposed the following answer:
>> On Tue, Jun 26, 2012 at 01:35:59PM -0000, Paul Spain wrote:
>>> Question #201496 on Bazaar Subversion Plugin changed:
>>> https://answers.launchpad.net/bzr-svn/+question/201496
>>
>>> Description changed to:
>>> Hi there,
>>
>>> Encountering problems when running the svn-import command...
>>
>>> Commands:
>>> H:\bzr\demo>bzr svn-import http://opdmssvn/sftwg/demo/ .
>>> bzr: ERROR: Invalid http response for http://opdmssvn/sftwg/demo/info/refs?service=git-upload-pack: Unable to handle htt
>>> p code 502: notresolvable
>>
>>> H:\bzr\demo>bzr --version
>>> Bazaar (bzr) 2.5.0
>>>   Python interpreter: C:\Program Files\Bazaar\python26.dll 2.6.6
>>>   Python standard library: C:\Program Files\Bazaar\lib\library.zip
>>>   Platform: Windows-XP-5.1.2600-SP3
>>>   bzrlib: C:\Program Files\Bazaar\lib\library.zip\bzrlib
>>>   Bazaar configuration: C:/Documents and Settings/PaulS/Application Data/bazaar/2.0
>>>   Bazaar log file: C:\Documents and Settings\PaulS\My Documents\.bzr.log
>>
>>> Extras:
>>> 1) The subversion repository uses Windows domain authentication via the mod_auth_sspi plugin
>>> 2) The command-line svn client works fine on another sandbox on the same drive
>>
>>> Any pointers greatly appreciated. I have to demo Bazaar tomorrow and one
>>> of the requirements is an svn import
>> Can you try running this with the git plugin disabled? That should get
>> you a slightly better error message. E.g.:
>>
>> $ BZR_DISABLE_PLUGINS=git bzr svn-import http://opdmssvn/sftwg/demo/ .
>>
>> I'm not sure if bzr-svn supports SSPI authentication; it's never bene
>> tested with that as far as I know.
>>
>> Cheers,
>>
>> Jelmer
>>
>> --
>> If this answers your question, please go to the following page to let us
>> know that it is solved:
>> https://answers.launchpad.net/bzr-svn/+question/201496/+confirm?answer_id=0
>>
>> If you still need help, you can reply to this email or go to the
>> following page to enter your feedback:
>> https://answers.launchpad.net/bzr-svn/+question/201496
>>
>> You received this question notification because you asked the question.

Revision history for this message
Jelmer Vernooij (jelmer) said :
#4

On Tue, Jun 26, 2012 at 10:51:00PM -0000, Paul Spain wrote:
> Question #201496 on Bazaar Subversion Plugin changed:
> https://answers.launchpad.net/bzr-svn/+question/201496

> Status: Answered => Open

> Paul Spain is still having a problem:
> Hi Jelmer,

> Thanks for getting back so quickly. I tried your suggestion with the
> same result:

> H:\bzr\demo>set BZR_DISABLED_PLUGINS=git

> H:\bzr\demo>set BZR_DISABLED_PLUGINS
> BZR_DISABLED_PLUGINS=git

This should BZR_DISABLE_PLUGINS rather than BZR_DISABLED_PLUGINS, see
below.

Cheers,

Jelmer

> H:\bzr\demo>bzr svn-import http://opdmssvn/sftwg/demo/ .
> bzr: ERROR: Invalid http response for
> http://opdmssvn/sftwg/demo/info/refs?service=git-upload-pack: Unable
> to handle http code 502: notresolvable

> H:\bzr\demo>

> I'm going to try a local "file://" based import for the demo today.
> That should be painless.

> Cheers, Paul.

> On Wed, Jun 27, 2012 at 12:11 AM, Jelmer Vernooij
> <email address hidden> wrote:
> > Your question #201496 on Bazaar Subversion Plugin changed:
> > https://answers.launchpad.net/bzr-svn/+question/201496

> >    Status: Open => Answered

> > Jelmer Vernooij proposed the following answer:
> > On Tue, Jun 26, 2012 at 01:35:59PM -0000, Paul Spain wrote:
> >> Question #201496 on Bazaar Subversion Plugin changed:
> >> https://answers.launchpad.net/bzr-svn/+question/201496

> >> Description changed to:
> >> Hi there,

> >> Encountering problems when running the svn-import command...

> >> Commands:
> >> H:\bzr\demo>bzr svn-import http://opdmssvn/sftwg/demo/ .
> >> bzr: ERROR: Invalid http response for http://opdmssvn/sftwg/demo/info/refs?service=git-upload-pack: Unable to handle htt
> >> p code 502: notresolvable

> >> H:\bzr\demo>bzr --version
> >> Bazaar (bzr) 2.5.0
> >>   Python interpreter: C:\Program Files\Bazaar\python26.dll 2.6.6
> >>   Python standard library: C:\Program Files\Bazaar\lib\library.zip
> >>   Platform: Windows-XP-5.1.2600-SP3
> >>   bzrlib: C:\Program Files\Bazaar\lib\library.zip\bzrlib
> >>   Bazaar configuration: C:/Documents and Settings/PaulS/Application Data/bazaar/2.0
> >>   Bazaar log file: C:\Documents and Settings\PaulS\My Documents\.bzr.log

> >> Extras:
> >> 1) The subversion repository uses Windows domain authentication via the mod_auth_sspi plugin
> >> 2) The command-line svn client works fine on another sandbox on the same drive

> >> Any pointers greatly appreciated. I have to demo Bazaar tomorrow and one
> >> of the requirements is an svn import
> > Can you try running this with the git plugin disabled? That should get
> > you a slightly better error message. E.g.:

> > $ BZR_DISABLE_PLUGINS=git bzr svn-import http://opdmssvn/sftwg/demo/ .

> > I'm not sure if bzr-svn supports SSPI authentication; it's never bene
> > tested with that as far as I know.

> > Cheers,

> > Jelmer

> > --
> > If this answers your question, please go to the following page to let us
> > know that it is solved:
> > https://answers.launchpad.net/bzr-svn/+question/201496/+confirm?answer_id=0

> > If you still need help, you can reply to this email or go to the
> > following page to enter your feedback:
> > https://answers.launchpad.net/bzr-svn/+question/201496

> > You received this question notification because you asked the question.

> --
> You received this question notification because you are an answer
> contact for Bazaar Subversion Plugin.

--

Can you help with this problem?

Provide an answer of your own, or ask Paul Spain for more information if necessary.

To post a message you must log in.