Vague error on dependency missing

Bug #460952 reported by cpf
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar Explorer
Fix Released
Low
Ian Clatworthy

Bug Description

When the bzr explorer was installed but qbzr wasn't, executing 'bzr explorer' ended horribly in:
12897 cpf@nickel ~ % bzr explorer
Unable to load plugin 'explorer' from '/usr/lib/python2.5/site-packages/bzrlib/plugins'
bzr: ERROR: unknown command "explorer"
zsh: exit 3 bzr explorer

It'd be nice to say something related no: "Is qbzr installed?"

Revision history for this message
John A Meinel (jameinel) wrote : Re: [Bug 460952] [NEW] Vague error on dependency missing

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

cpf wrote:
> Public bug reported:
>
> When the bzr explorer was installed but qbzr wasn't, executing 'bzr explorer' ended horribly in:
> 12897 cpf@nickel ~ % bzr explorer
> Unable to load plugin 'explorer' from '/usr/lib/python2.5/site-packages/bzrlib/plugins'
> bzr: ERROR: unknown command "explorer"
> zsh: exit 3 bzr explorer
>
> It'd be nice to say something related no: "Is qbzr installed?"

Yeah, right at the beginning of 'explorer/__init__.py' we have:

# These can't be lazily imported currently
from bzrlib.plugins.qbzr.lib.commands import (
    simple_revision_option,
    )

This just needs a try/except sort of thing around it. Though how to
report it to the user may be tricky.

John
=:->

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkrlrloACgkQJdeBCYSNAAOTkgCeMmNa3zr4IedaEfwIQsexrW5v
7RQAn1fuStF6SW5L5aTh/B+d/R8gzULD
=tD7B
-----END PGP SIGNATURE-----

Changed in bzr-explorer:
assignee: nobody → Ian Clatworthy (ian-clatworthy)
importance: Undecided → Low
milestone: none → 0.9.0
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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