Comment 2 for bug 252259

Revision history for this message
Robert Collins (lifeless) wrote : Re: [Bug 252259] [NEW] SystemError: Parent module 'bzrlib.plugins.search' not loaded

On Sun, 2008-07-27 at 06:34 +0000, Eduardo de Oliveira Padoan wrote:
> Public bug reported:
>
> When trying to use the plugin, I get this exception:
> """
> bzr: ERROR: exceptions.SystemError: Parent module
> 'bzrlib.plugins.search' not loaded
> ...

> File "/home/edcrypt/.bazaar/plugins/search/index.py", line 154, in
> open_index_branch
> from bzrlib.plugins.svn.branch import SvnBranch
> SystemError: Parent module 'bzrlib.plugins.search' not loaded

This is strange - my line 154 with context is:

    try:
        from bzrlib.plugins.svn.branch import SvnBranch
    except ImportError:
        SvnBranch = None

So this should be catching an svn import error. It looks like some
*other* error is being raised from the import of bzr-svn (which you do
have installed), so I'm opening a task on bzr-svn. Lets hope
launchpad-bugs understands what I want it to do :)

 status invalid
 affects bzr-svn

--
GPG key available at: <http://www.robertcollins.net/keys.txt>.