Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 05-09-2012, 09:47 AM   #1
Senior Member
Registered: Apr 2003
Location: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,092
Blog Entries: 1

Rep: Reputation: 90
bzr / precise - how to override plugins path for an alternate installation of bzr?


I'm having a problem with bzr as comming from ubuntu (I already reported the bug I want to give a try with an older version of bzr (2.4.2) that I installed from scratch. Now, I've been able to make this bzr see the right version of bzrlib by setting PYTHONPATH:

Now the next problem is that when I ask for the plugins (I haven't installed any on this alternate bzr), I see the ones of 2.5.0:

$ /usr/local/bzr/bin/bzr plugins
cannot import name BzrFormat
bash_completion 2.4.2
  Generate a shell function for bash command line completion.

bzrtools 2.5.0
  Various useful commands for working with bzr.

changelog_merge 2.4.2
  Merge hook for GNU-format ChangeLog files

git (failed to load)
  ** Unable to load plugin 'git'. It requested API version (2, 5, 0) of module <module 'bzrlib' from '/usr/local/bzr/lib/python2.7/site-packages/bzrlib/__init__.pyc'> but the minimum exported version is (2, 4, 0), and the maximum is (2, 4, 2)

launchpad 2.4.2 integration plugin for Bazaar.

netrc_credential_store 2.4.2
  Use ~/.netrc as a credential store for authentication.conf.

news_merge 2.4.2
  Merge hook for bzr's NEWS file.

po_merge 2.4.2
  Merge hook for ``.po`` files.

qbzr 0.22.2
  QBzr - Qt-based frontend for Bazaar

rewrite (failed to load)
  ** Unable to load plugin 'rewrite' from '/usr/lib/python2.7/dist-packages/bzrlib/plugins'

svn (failed to load)
  ** Unable to load plugin 'svn'. It requested API version (2, 5, 0) of module <module 'bzrlib' from '/usr/local/bzr/lib/python2.7/site-packages/bzrlib/__init__.pyc'> but the minimum exported version is (2, 4, 0), and the maximum is (2, 4, 2)

weave_fmt 2.4.2
  Weave formats.

xmloutput 0.8.8
  This plugin adds an option (--xml) to log and provides an xml version of some builtin commands.
I saw around there that BZR_PLUGIN_PATH can be used to change this path:

Even then I'm seeing the 2.5 plugins. What can I try next?


alternate version, bzr, hack, path, plugins

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
bzr-svn problem RudraB Linux - Software 1 01-20-2011 02:40 AM
Initializing a Bzr branch on multiple computers Kenny_Strawn Programming 1 04-03-2010 05:21 AM
setting path for plugins richard158 Linux - Newbie 2 10-20-2009 06:00 AM
How to override the default 'ld' search path Ravi_ Linux - Newbie 1 04-08-2009 10:48 PM
bzr: Merging a project into another eantoranz Linux - Software 0 07-21-2008 10:24 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:12 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration