LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 05-09-2012, 09:47 AM   #1
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Colombia
Distribution: Kubuntu, Debian, Knoppix
Posts: 1,982
Blog Entries: 1

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


Hi!

I'm having a problem with bzr as comming from ubuntu (I already reported the bug https://bugs.launchpad.net/ubuntu/+s...vn/+bug/996747). 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:

Code:
$ echo $PYTHONPATH
/usr/local/bzr/lib/python2.7/site-packages/
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:

Code:
$ /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
  Launchpad.net 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:

Code:
$ echo $BZR_PLUGIN_PATH
/usr/local/bzr/lib/python2.7/site-packages/bzrlib/plugins
Even then I'm seeing the 2.5 plugins. What can I try next?
 
  


Reply

Tags
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


All times are GMT -5. The time now is 08:45 PM.

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