"'module' object has no attribute 'command'" on launch
Created originally on Bitbucket by Russell Warren
I am unable to start the current tip of thg (df6058f7ef02). Log and environment shown below...
$ python2 --version
Python 2.7.9
$ hg summary
parent: 18449:df6058f7ef02 tip
editor: delegate to Mercurial to determine the fallback CLI editor
branch: stable
commit: (clean)
update: (current)
$ python2 ./thg
Traceback (most recent call last):
File "./thg", line 100, in <module>
from tortoisehg.hgqt.run import qtrun
File "/usr/local/lib/python2.7/dist-packages/mercurial/demandimport.py", line 257, in _demandimport
mod = _hgextimport(_origimport, name, globals, locals)
File "/usr/local/lib/python2.7/dist-packages/mercurial/demandimport.py", line 53, in _hgextimport
return importfunc(name, globals, *args, **kwargs)
File "/home/russ/code/bitbucket/thg/tortoisehg/hgqt/run.py", line 394, in <module>
command = registrar.command(table)
File "/usr/local/lib/python2.7/dist-packages/mercurial/demandimport.py", line 153, in __getattribute__
return getattr(self._module, attr)
AttributeError: 'module' object has no attribute 'command'