Fails to start if bzr can't load all plugins
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar Explorer |
Confirmed
|
Low
|
Unassigned |
Bug Description
I recently upgraded this machine to bzr 2.1.0~rc2, and bzr-explorer fails to start since some of my plugins are out-dated and fail to load. As none of these plugins are essential to bzr-explorer (evidenced by the fact that bzr-explorer will start if I simply uninstall the plugins rather than upgrade them), I'd expect to be able to continue using it without them. The bzr command-line client continues to work, simply warning me that these plugins failed to load. bzr-explorer should do the same.
andrew@
Unable to load plugin 'svn'. It requested API version (2, 0, 0) of module <module 'bzrlib' from '/usr/lib/
Unable to load plugin 'git'. It requested API version (1, 18, 0) of module <module 'bzrlib' from '/usr/lib/
Unable to load plugin 'gtk'. It requested API version (1, 17, 0) of module <module 'bzrlib' from '/usr/lib/
Unable to load plugin 'rebase'. It requested API version (1, 17, 0) of module <module 'bzrlib' from '/usr/lib/
bzr: ERROR: The API for "<module 'bzrlib' from '/usr/lib/
Andrew Starr-Bochicchio пишет:
> Public bug reported:
>
> I recently upgraded this machine to bzr 2.1.0~rc2, and bzr-explorer
> fails to start since some of my plugins are out-dated and fail to load.
No, the real problem is that some bzrlib module around.
> andrew@ andrew- laptop: ~/Desktop$ bzr explorer python2. 6/dist- packages/ bzrlib/ __init_ _.pyc'> but the minimum exported version is (2, 1, 0), and the maximum is (2, 1, 0) python2. 6/dist- packages/ bzrlib/ __init_ _.pyc'> but the minimum exported version is (2, 1, 0), and the maximum is (2, 1, 0) python2. 6/dist- packages/ bzrlib/ __init_ _.pyc'> but the minimum exported version is (2, 1, 0), and the maximum is (2, 1, 0) python2. 6/dist- packages/ bzrlib/ __init_ _.pyc'> but the minimum exported version is (2, 1, 0), and the maximum is (2, 1, 0)
> Unable to load plugin 'svn'. It requested API version (2, 0, 0) of module <module 'bzrlib' from '/usr/lib/
> Unable to load plugin 'git'. It requested API version (1, 18, 0) of module <module 'bzrlib' from '/usr/lib/
> Unable to load plugin 'gtk'. It requested API version (1, 17, 0) of module <module 'bzrlib' from '/usr/lib/
> Unable to load plugin 'rebase'. It requested API version (1, 17, 0) of module <module 'bzrlib' from '/usr/lib/
Unable to load plugin is harmless.
> bzr: ERROR: The API for "<module 'bzrlib' from '/usr/lib/ python2. 6/dist- packages/ bzrlib/ __init_ _.pyc'> " is not compatible with "(1, 17, 0)". It supports versions "(2, 1, 0)" to "(2, 1, 0)".
This is real problem. Can you check your bzr script? Does it upgraded correctly?
Also please provides us traceback for this command from .bzr.log.