On Thu, Mar 03, 2011 at 09:22:09PM +0100, Anders Sneckenborg wrote:
> I managed to install the software but when I try to use it I get error
> messages. Maybe I still need to install something?
> 
> 
> C:\temp\testbzrbe>be init
> Traceback (most recent call last):
>   ...
>   File "c:\be-1.0.0\libbe\storage\vcs\bzr.py", line 136, in _vcs_root
>     cmd = bzrlib.builtins.cmd_root()
> AttributeError: 'NoneType' object has no attribute 'builtins'

Hmm, looks like you've managed to install Bazaar but leave bzrlib out
of your Python path ;).  What version of Bazaar are you using and how
did you install it?

The error comes from the way BE tries to import bzrlib in
libbe.storage.vcs.bzr:

  try:
      import bzrlib
      ...
  except ImportError:
      bzrlib = None

This allows us to detect if Bazaar is installed (bzrlib references a
module) or not (bzrlib is None).  The other Python-based backends
(Mercurial) is similar.  Perhaps we should be raising a more
descriptive error message in these cases?  I hadn't expected users to
be using the Bazaar or Mercurial plugins without installing the
respective Python libraries when I wrote the backends.  I'm surprised
it is even possible.

-- 
This email may be signed or encrypted with GPG (http://www.gnupg.org).
The GPG signature (if present) will be attached as 'signature.asc'.
For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy

My public key is at http://www.physics.drexel.edu/~wking/pubkey.txt

Attachment: pgpv3XkAHpj2j.pgp
Description: PGP signature

_______________________________________________
Be-devel mailing list
[email protected]
http://void.printf.net/cgi-bin/mailman/listinfo/be-devel

Reply via email to