bzr 1.12rc1 on python 2.5.2 (win32) - unable to find subvertpy.

Bug #327966 reported by David Roberts
6
Affects Status Importance Assigned to Milestone
Bazaar
New
Undecided
Unassigned

Bug Description

Installed bzr-setup-1.12rc1-1.exe

Checking installation with > bzr version results in -

C:\Added Program Files\Bazaar>bzr version
Bazaar (bzr) 1.12rc1
bzr: ERROR: exceptions.ImportError: bzr-svn: unable to find subvertpy. Please i
stall from http://launchpad.net/subvertpy.

Traceback (most recent call last):
  File "bzrlib\commands.pyo", line 893, in run_bzr_catch_errors
  File "bzrlib\commands.pyo", line 839, in run_bzr
  File "bzrlib\commands.pyo", line 539, in run_argv_aliases
  File "bzrlib\commands.pyo", line 853, in ignore_pipe
  File "bzrlib\builtins.pyo", line 2989, in run
  File "bzrlib\version.pyo", line 38, in show_version
  File "bzrlib\version.pyo", line 96, in _get_bzr_source_tree
  File "bzrlib\bzrdir.pyo", line 844, in open_containing
  File "bzrlib\bzrdir.pyo", line 865, in open_containing_from_transport
  File "bzrlib\bzrdir.pyo", line 819, in open_from_transport
  File "bzrlib\lazy_import.pyo", line 125, in __call__
  File "bzrlib\transport\__init__.pyo", line 1680, in do_catching_redirections
  File "bzrlib\bzrdir.pyo", line 806, in find_format
  File "bzrlib\bzrdir.pyo", line 1645, in find_format
  File "C:/Added Program Files/Bazaar/plugins\svn\format.py", line 86, in probe
transport
  File "C:/Added Program Files/Bazaar/plugins\svn\format.py", line 56, in _chec
_versions
  File "C:/Added Program Files/Bazaar/plugins\svn\__init__.py", line 103, in la
y_check_versions
  File "C:/Added Program Files/Bazaar/plugins\svn\__init__.py", line 86, in ini
_subvertpy
ImportError: bzr-svn: unable to find subvertpy. Please install from http://laun
hpad.net/subvertpy.

bzr 1.12rc1 on python 2.5.2 (win32)
arguments: ['bzr', 'version']
encoding: 'cp1252', fsenc: 'mbcs', lang: None
plugins:
  bzrtools C:\Added Program Files\Bazaar\plugins\bzrtools [1.12]
  launchpad C:\Added Program Files\Bazaar\plugins\launchpad [unknown

  netrc_credential_store C:\Added Program Files\Bazaar\plugins\netrc_credential
store [unknown]
  qbzr C:\Added Program Files\Bazaar\plugins\qbzr [0.9.7]
  svn C:\Added Program Files\Bazaar\plugins\svn [0.5]
*** Bazaar has encountered an internal error.
    Please report a bug at https://bugs.launchpad.net/bzr/+filebug
    including this traceback, and a description of what you
    were doing when the error occurred.

C:\Added Program Files\Bazaar>

Revision history for this message
David Roberts (smartgpx) wrote :

Update as of 11th Feb 2009

Just retried using bzr-setup-1.12rc1-2.exe

Different, but still broken.

The 'bzr version' command now pops up a Windows error box headed "bzr.exe - Entry Point Not Found"
The text in the box reads "The procedure entry point __lc_collate_cp_func could not be located in the dynamic link library msvcrt.dll" Once this is acknowledged the bzr command produces a traceback as follows

C:\Documents and Settings\David>bzr version
Bazaar (bzr) 1.12rc1
bzr: ERROR: exceptions.ImportError: bzr-svn: unable to find subvertpy. Please in
stall from http://launchpad.net/subvertpy.

Traceback (most recent call last):
  File "bzrlib\commands.pyo", line 893, in run_bzr_catch_errors
  File "bzrlib\commands.pyo", line 839, in run_bzr
  File "bzrlib\commands.pyo", line 539, in run_argv_aliases
  File "bzrlib\commands.pyo", line 853, in ignore_pipe
  File "bzrlib\builtins.pyo", line 2989, in run
  File "bzrlib\version.pyo", line 38, in show_version
  File "bzrlib\version.pyo", line 96, in _get_bzr_source_tree
  File "bzrlib\bzrdir.pyo", line 844, in open_containing
  File "bzrlib\bzrdir.pyo", line 865, in open_containing_from_transport
  File "bzrlib\bzrdir.pyo", line 819, in open_from_transport
  File "bzrlib\lazy_import.pyo", line 125, in __call__
  File "bzrlib\transport\__init__.pyo", line 1680, in do_catching_redirections
  File "bzrlib\bzrdir.pyo", line 806, in find_format
  File "bzrlib\bzrdir.pyo", line 1645, in find_format
  File "C:/Added Program Files/Bazaar/plugins\svn\format.py", line 86, in probe_
transport
  File "C:/Added Program Files/Bazaar/plugins\svn\format.py", line 56, in _check
_versions
  File "C:/Added Program Files/Bazaar/plugins\svn\__init__.py", line 103, in laz
y_check_versions
  File "C:/Added Program Files/Bazaar/plugins\svn\__init__.py", line 86, in init
_subvertpy
ImportError: bzr-svn: unable to find subvertpy. Please install from http://launc
hpad.net/subvertpy.

bzr 1.12rc1 on python 2.5.2 (win32)
arguments: ['bzr', 'version']
encoding: 'cp1252', fsenc: 'mbcs', lang: None
plugins:
  bzrtools C:\Added Program Files\Bazaar\plugins\bzrtools [1.12]
  launchpad C:\Added Program Files\Bazaar\plugins\launchpad [unknown]

  netrc_credential_store C:\Added Program Files\Bazaar\plugins\netrc_credential_
store [unknown]
  qbzr C:\Added Program Files\Bazaar\plugins\qbzr [0.9.7]
  svn C:\Added Program Files\Bazaar\plugins\svn [0.5]
*** Bazaar has encountered an internal error.
    Please report a bug at https://bugs.launchpad.net/bzr/+filebug
    including this traceback, and a description of what you
    were doing when the error occurred.

C:\Documents and Settings\David>

Revision history for this message
David Roberts (smartgpx) wrote :

To confirm feedback via ML -

1] problem not apparent when installing bzr-setup-1.10-1.exe

2] problem not apparent if present RC (bzr-setup-1.12rc1-2.exe) is installed as base product only, with no plugins or tbzr. (So deduce that problem is related to the packaging of the svn plugin for the Windows installer.)

DJ

Revision history for this message
David Roberts (smartgpx) wrote :

Original problem still present with bzr-setup-1.12-1.exe [ie. bzr 1.12 final]

(Windows command 'bzr version' throws a dialog box and generates bzr traceback.)

Revision history for this message
David Roberts (smartgpx) wrote :

The work-around suggested in the duplicate report #328181, of moving the svn subdirectory out of the plugins directory is effective, and further confirms this plugin (or its packaging for Win32) as the source of the error being generated.

Revision history for this message
John A Meinel (jameinel) wrote :

This brings up a possible source of the conflict.

Do you have "subversion" installed separately on your machine?

IIRC subversion supplies 2 versions of their libraries, one built against different versions of the apache runtime.

As such it would be possible that when trying to import subvertpy, it goes to load the subversion bindings, but is finding your other install, rather than the ones bundled with it. And since they conflict, it fails to load, which then causes bzr-svn to fail to load, and triggers this bug.

Revision history for this message
baxissimo (wbaxter) wrote :

> The work-around suggested in the duplicate report #328181, of moving the svn subdirectory out of the plugins directory is effective

Just to be clear, this work-around completely disables svn integration right? I just mention this so no one gets the wrong idea when you say it is "effective". It is "effective" in the sense that it makes the error go away, not in the sense that it actually fixes the problem.

I found if I rebooted the problem actually went away.
More details on the other bug report:
   https://bugs.launchpad.net/bugs/328181

Revision history for this message
David Roberts (smartgpx) wrote : Re: [Bug 327966] Re: bzr 1.12rc1 on python 2.5.2 (win32) - unable to find subvertpy.

2009/2/18 John A Meinel <email address hidden>:
> This brings up a possible source of the conflict.
>
> Do you have "subversion" installed separately on your machine?

Yes.

"C:\Documents and Settings\David>svn --version
svn, version 1.3.0 (r17949)
   compiled Jan 15 2006, 23:18:48

Copyright (C) 2000-2005 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet (http://www.Collab.Net/)."

Hope that helps a little. I've also got GIT.

bzr is what I would prefer for my own projects, but within reason I'll
install anything I have to in order to get the source of other
projects I have an interest in.

David

>
> IIRC subversion supplies 2 versions of their libraries, one built
> against different versions of the apache runtime.
>
> As such it would be possible that when trying to import subvertpy, it
> goes to load the subversion bindings, but is finding your other install,
> rather than the ones bundled with it. And since they conflict, it fails
> to load, which then causes bzr-svn to fail to load, and triggers this
> bug.
>
> --
> bzr 1.12rc1 on python 2.5.2 (win32) - unable to find subvertpy.
> https://bugs.launchpad.net/bugs/327966
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
David Roberts (smartgpx) wrote :

2009/2/19 baxissimo <email address hidden>:
>> The work-around suggested in the duplicate report #328181, of moving
> the svn subdirectory out of the plugins directory is effective
>
> Just to be clear, this work-around completely disables svn integration
> right? I just mention this so no one gets the wrong idea when you say
> it is "effective". It is "effective" in the sense that it makes the
> error go away, not in the sense that it actually fixes the problem.
>

That's absolutely my understanding. It's a work-around in the sense
that it allows commands apparently unrelated to svn to run to
completion without error. In no way does it solve the underlying
problem. j.a.m. has suggested to me privately that this might be a
clash with an installation of the 'real' svn client on my machine.

> I found if I rebooted the problem actually went away.
> More details on the other bug report:
> https://bugs.launchpad.net/bugs/328181
>
> --
> bzr 1.12rc1 on python 2.5.2 (win32) - unable to find subvertpy.
> https://bugs.launchpad.net/bugs/327966
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
David Roberts (smartgpx) wrote :

Just to report/confirm that removing \lib\MSVCP60.dll, as suggested in #328181, is also effective for me running WinXP Home with a local svn client installed. 'bzr version' and bzr help commands' now run to completion without error. This is after re-instating the svn plugin directory. Good work Dan, thanks!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.