No module named lib.commands

John Arbash Meinel john at arbash-meinel.com
Tue Jan 26 09:52:12 GMT 2010


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


...

>>> When I enter "bzr init" in a command prompt, I get the following message:
>>>
>>> No module named lib.commands
>>> Unable to load plugin u'explorer' from u'C:/Program Files/Bazaar/plugins'
>> Maybe it's a packaging issue.
> 
>> Can you check the presence of the file C:/Program
>> Files/Bazaar/plugins/explorer/lib/commands.py ?
> 
>> Does this file is readable?
> 
> 
> 
> 
> Is it supposed to find "explorer/lib/commands.py" or is it supposed to
> find "qbzr/lib/commands.py".
> 
> I can certainly say that there isn't an explorer/lib/commands.py in the
> 2.0.4-1 installer.
> 
> John
> =:->
> 

Note that bzr 2.0.4-2 should be bundling bzr-explorer 0.8.3 which does
not have lib/commands.py. (It seems to have lib/__init__.py which was
later renamed to commands.py)

I'm wondering why explorer/__init__.py is trying to import lib.commands
(if it isn't trying to import qbzr.lib.commands).

Can you try running:
  bzr init -Derror

Which should give a better traceback about why bzr-explorer is failing
to load. (I currently suspect something about having a newer explorer in
your path, but I don't really know.)

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

iEYEARECAAYFAkteu0wACgkQJdeBCYSNAAMsvACfcsijJCqc13+rc2rhFmyRIrsU
ChYAn1kcWvL4KEgM7rCXmug/UDkoyabE
=Ep2a
-----END PGP SIGNATURE-----



More information about the bazaar mailing list