[issue1815] Non-functioning install

george mercurial-bugs at selenic.com
Wed Aug 26 19:33:22 UTC 2009


New submission from george <air-services at sbcglobal.net>:

I installed Mercurial 1.3.1 for OS X 10.5 from a binary at 
http://mercurial.berkwood.com/.  It 
seems to have been an incomplete install.

$ hg --help
Traceback (most recent call last):
  File "/usr/local/bin/hg", line 27, in <module>
    mercurial.dispatch.run()
  File "/Library/Python/2.5/site-packages/mercurial/dispatch.py", line 16, 
in run
    sys.exit(dispatch(sys.argv[1:]))
  File "/Library/Python/2.5/site-packages/mercurial/dispatch.py", line 21, 
in dispatch
    u = _ui.ui()
  File "/Library/Python/2.5/site-packages/mercurial/ui.py", line 35, in 
__init__
    for f in util.rcpath():
  File "/Library/Python/2.5/site-packages/mercurial/util.py", line 1217, in 
rcpath
    _rcpath = os_rcpath()
  File "/Library/Python/2.5/site-packages/mercurial/util.py", line 1193, in 
os_rcpath
    path = system_rcpath()
  File "/Library/Python/2.5/site-packages/mercurial/posix.py", line 41, in 
system_rcpath
    '/../etc/mercurial'))
  File "/Library/Python/2.5/site-packages/mercurial/posix.py", line 30, in 
rcfiles
    for f, kind in osutil.listdir(rcdir)
  File "/Library/Python/2.5/site-packages/mercurial/demandimport.py", line 
75, in __getattribute__
    self._load()
  File "/Library/Python/2.5/site-packages/mercurial/demandimport.py", line 
47, in _load
    mod = _origimport(head, globals, locals)
ImportError: dynamic module does not define init function (initosutil)

How/where do I find that 'init' function.

----------
messages: 10430
nosy: Geepers
priority: bug
status: unread
title: Non-functioning install

____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://mercurial.selenic.com/bts/issue1815>
____________________________________________________



More information about the Mercurial-devel mailing list