bzr: ERROR: exceptions.ImportError: ('Unable to load subvertpy extensions: %s', 'No module named client')

Bug #504739 reported by Russel Winder
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar Subversion Plugin
Invalid
Undecided
Unassigned

Bug Description

Working on a Mac OS X machine using MacPorts Python 2.6 I get the following:

|> bzr co --lightweight bzr+ssh://dimen.russel.org.uk/home/Checkouts/Bazaar/Unison_Trunk
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/subvertpy/__init__.py:111: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
bzr: ERROR: exceptions.ImportError: ('Unable to load subvertpy extensions: %s', 'No module named client')

Traceback (most recent call last):
  File "/home/Checkouts/Bazaar/Bazaar/Mainline_Working/bzrlib/commands.py", line 826, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/home/Checkouts/Bazaar/Bazaar/Mainline_Working/bzrlib/commands.py", line 1027, in run_bzr
    ret = run(*run_argv)
  File "/home/Checkouts/Bazaar/Bazaar/Mainline_Working/bzrlib/commands.py", line 638, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/home/Checkouts/Bazaar/Bazaar/Mainline_Working/bzrlib/builtins.py", line 1321, in run
    branch_location)
  File "/home/Checkouts/Bazaar/Bazaar/Mainline_Working/bzrlib/bzrdir.py", line 958, in open_tree_or_branch
    bzrdir = klass.open(location)
  File "/home/Checkouts/Bazaar/Bazaar/Mainline_Working/bzrlib/bzrdir.py", line 842, in open
    t = get_transport(base, possible_transports=possible_transports)
  File "/home/Checkouts/Bazaar/Bazaar/Mainline_Working/bzrlib/lazy_import.py", line 125, in __call__
    return obj(*args, **kwargs)
  File "/home/Checkouts/Bazaar/Bazaar/Mainline_Working/bzrlib/transport/__init__.py", line 1589, in get_transport
    transport, last_err = _try_transport_factories(base, factory_list)
  File "/home/Checkouts/Bazaar/Bazaar/Mainline_Working/bzrlib/transport/__init__.py", line 1612, in _try_transport_factories
    return factory.get_obj()(base), None
  File "/home/Checkouts/Bazaar/Bazaar/Mainline_Working/bzrlib/transport/remote.py", line 110, in __init__
    medium, credentials = self._build_medium()
  File "/home/Checkouts/Bazaar/Bazaar/Mainline_Working/bzrlib/transport/remote.py", line 516, in _build_medium
    user = auth.get_user('ssh', self._host, self._port)
  File "/home/Checkouts/Bazaar/Bazaar/Mainline_Working/bzrlib/config.py", line 1228, in get_user
    path=path, realm=realm)
  File "/home/Checkouts/Bazaar/Bazaar/Mainline_Working/bzrlib/config.py", line 1157, in get_credentials
    scheme, host, port, user, path, realm)
  File "/home/Checkouts/Bazaar/Bazaar/Mainline_Working/bzrlib/config.py", line 1335, in get_fallback_credentials
    cs = self.get_credential_store(name)
  File "/home/Checkouts/Bazaar/Bazaar/Mainline_Working/bzrlib/config.py", line 1316, in get_credential_store
    cs = self.get(encoding)
  File "/home/Checkouts/Bazaar/Bazaar/Mainline_Working/bzrlib/registry.py", line 173, in get
    return self._dict[self._get_key_or_default(key)].get_obj()
  File "/home/Checkouts/Bazaar/Bazaar/Mainline_Working/bzrlib/registry.py", line 61, in get_obj
    self._do_import()
  File "/home/Checkouts/Bazaar/Bazaar/Mainline_Working/bzrlib/registry.py", line 70, in _do_import
    obj = __import__(self._module_name, globals(), locals(), names)
  File "/Users/russel/.bazaar/plugins/svn/auth.py", line 20, in <module>
    import subvertpy
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/subvertpy/__init__.py", line 111, in <module>
ImportError: ('Unable to load subvertpy extensions: %s', 'No module named client')

bzr 2.1.0dev5 on python 2.6.4 (Darwin-10.2.0-i386-64bit)
arguments: ['/Users/russel/bin/bzr', 'co', '--lightweight', 'bzr+ssh://dimen.russel.org.uk/home/Checkouts/Bazaar/Unison_Trunk']
encoding: 'UTF-8', fsenc: 'utf-8', lang: 'en_GB.UTF-8'
plugins:
  bookmarks /Users/russel/.bazaar/plugins/bookmarks [unknown]
  builddeb /Users/russel/.bazaar/plugins/builddeb [2.1.1dev]
  bzrtools /Users/russel/.bazaar/plugins/bzrtools [2.1.0b1]
  email /Users/russel/.bazaar/plugins/email [unknown]
  explorer /Users/russel/.bazaar/plugins/explorer [0.10.0dev]
  git /Users/russel/.bazaar/plugins/git [0.4.3dev]
  gtk /Users/russel/.bazaar/plugins/gtk [0.98.0dev1]
  launchpad /home/Checkouts/Bazaar/Bazaar/Mainline_Working/bzrlib/plugins/launchpad [2.1.0dev5]
  locksvncheckout /Users/russel/.bazaar/plugins/locksvncheckout [0.0.0dev]
  loggerhead /Users/russel/.bazaar/plugins/loggerhead [1.17.0]
  netrc_credential_store /home/Checkouts/Bazaar/Bazaar/Mainline_Working/bzrlib/plugins/netrc_credential_store [2.1.0dev5]
  pipeline /Users/russel/.bazaar/plugins/pipeline [unknown]
  qbzr /Users/russel/.bazaar/plugins/qbzr [0.17.0dev]
  rebase /Users/russel/.bazaar/plugins/rebase [0.5.4]
  scmproj /Users/russel/.bazaar/plugins/scmproj [0.5.0dev]
  svn /Users/russel/.bazaar/plugins/svn [1.0.2dev]
  upload /Users/russel/.bazaar/plugins/upload [1.0.0dev]
  xmloutput /Users/russel/.bazaar/plugins/xmloutput [0.8.6.dev]

*** Bazaar has encountered an internal error. This probably indicates a
    bug in Bazaar. You can help us fix it by filing a bug report at
        https://bugs.launchpad.net/bzr/+filebug
    including this traceback and a description of the problem.

|> ll /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/subvertpy
total 952
drwxr-xr-x 21 root wheel 714 15 Oct 12:35 ./
drwxr-xr-x 37 root wheel 1258 8 Jan 12:02 ../
-rw------- 2 root wheel 3432 18 Jun 2009 __init__.py
-rw-r--r-- 2 root wheel 3990 15 Oct 12:35 __init__.pyc
-rwx------ 2 root wheel 90624 15 Oct 12:35 _ra.so*
-rwx------ 2 root wheel 131376 15 Oct 12:35 client.so*
-rw------- 2 root wheel 6637 18 Jun 2009 delta.py
-rw-r--r-- 2 root wheel 7196 15 Oct 12:35 delta.pyc
-rw------- 2 root wheel 4185 18 Jun 2009 marshall.py
-rw-r--r-- 2 root wheel 4343 15 Oct 12:35 marshall.pyc
-rw------- 2 root wheel 9144 18 Jun 2009 properties.py
-rw-r--r-- 2 root wheel 10493 15 Oct 12:35 properties.pyc
-rw------- 2 root wheel 1614 18 Jun 2009 ra.py
-rw-r--r-- 2 root wheel 1137 15 Oct 12:35 ra.pyc
-rw------- 2 root wheel 35094 18 Jun 2009 ra_svn.py
-rw-r--r-- 2 root wheel 46318 15 Oct 12:35 ra_svn.pyc
-rwx------ 2 root wheel 26176 15 Oct 12:35 repos.so*
-rw------- 2 root wheel 2000 18 Jun 2009 server.py
-rw-r--r-- 2 root wheel 3516 15 Oct 12:35 server.pyc
drwxr-xr-x 22 root wheel 748 15 Oct 12:35 tests/
-rwx------ 2 root wheel 60176 15 Oct 12:35 wc.so*
504 alisander-w:~
|>

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

Please report this against MacPorts. I don't think this is an upstream bug.

Also, it looks like this is quite an old version of subvertpy.

Revision history for this message
Russel Winder (russel) wrote :

The MacPort package is py26-subvertpy@0.6.8 according to the listings.

I'll post a bug report and at the same time ask for an upgrade to 0.6.9.

Revision history for this message
Russel Winder (russel) wrote :

Sadly the package has no maintainer so there is no telling how long it will take :-((

Revision history for this message
Russel Winder (russel) wrote :
Jelmer Vernooij (jelmer)
Changed in bzr-svn:
status: New → Invalid
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.