bzr: ERROR: 'module' object has no attribute '__path__'

Matthieu Moy Matthieu.Moy at imag.fr
Sat Aug 27 23:24:09 BST 2005


Hi,

I get the following when running "bzr plugins":

bzr: ERROR: 'module' object has no attribute '__path__'
  at /usr/lib/python2.4/site-packages/bzrlib/commands.py line 1672, in run()
  see ~/.bzr.log for debug information

with bzr 0.0.6+20050827-0 (snapshot Debian package).

~/.bzr.log says

[10135] Sun 00:07:00.847 ERROR: 'module' object has no attribute '__path__'
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 1983, in main
    return run_bzr(argv[1:])
  File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 1971, in run_bzr
    return cmd_class(cmdopts, cmdargs).status
  File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 247, in __init__
    self.status = self.run(**cmdargs)
  File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 1672, in run
    print plugin.__path__[0]
AttributeError: 'module' object has no attribute '__path__'


I'm getting the same error with "python2.4 ./bzr plugins".

Same error with the latest revision got from bzr itself. That's
probably a trivial error, but I'm still a beginner in Python,
sorry ;-).

-- 
Matthieu




More information about the bazaar mailing list