Launchpad plugin install is optional - but required for bzr-explorer to run

Bug #670903 reported by Ken Halprin
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Bazaar Explorer
Confirmed
Medium
Unassigned

Bug Description

The launchpad integration plugin appears to be required for bzrw to run.

On a machine without Bazaar installed.
1) Run setup (via windows installer)
2) De-select the launchpad integration plugin
3) After setup completes, run bzrw. The process starts and immediately exits. The following is in .bzr.log:

Wed 2010-11-03 12:15:36 -0500
0.453 bazaar version: 2.2.1
0.453 bzr arguments: [u'explorer']
0.453 looking for plugins in C:/Users/khalprin/AppData/Roaming/bazaar/2.0/plugins
0.453 looking for plugins in C:/Program Files (x86)/Bazaar/plugins
2.200 encoding stdout as osutils.get_user_encoding() 'cp1252'
2.855 Traceback (most recent call last):
  File "bzrlib\commands.pyo", line 912, in exception_to_return_code
  File "bzrlib\commands.pyo", line 1112, in run_bzr
  File "bzrlib\commands.pyo", line 690, in run_argv_aliases
  File "bzrlib\commands.pyo", line 705, in run
  File "bzrlib\cleanup.pyo", line 135, in run_simple
  File "bzrlib\cleanup.pyo", line 165, in _do_with_cleanups
  File "C:/Program Files (x86)/Bazaar/plugins\explorer\lib\commands.py", line 161, in run
  File "bzrlib\lazy_import.pyo", line 106, in __getattribute__
  File "bzrlib\lazy_import.pyo", line 89, in _replace
  File "bzrlib\lazy_import.pyo", line 192, in _import
  File "C:/Program Files (x86)/Bazaar/plugins\explorer\lib\explorer.py", line 31, in <module>
  File "C:/Program Files (x86)/Bazaar/plugins\explorer\lib\hosted_url_resolver.py", line 20, in <module>
ImportError: No module named launchpad

2.855 return code 3

Revision history for this message
Gary van der Merwe (garyvdm) wrote :

I think the best way to fix this, is to make BE fail gracefully when the launchpad integration plugin is not installed.

Changed in bzr-explorer:
importance: Undecided → Medium
status: New → Confirmed
Changed in bzr-explorer:
importance: Medium → High
milestone: none → 1.1.2
summary: - Launchpad plugin install is optional - but required for bzrw to run
+ Launchpad plugin install is optional - but required for bzr-explorer to
+ run
Changed in bzr-explorer:
milestone: 1.1.2 → none
Revision history for this message
Alexander Belchenko (bialix) wrote :

Workaround: install launchpad plugin.

Changed in bzr-explorer:
importance: High → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.