[issue1815] Non-functioning install

george mercurial-bugs at selenic.com
Wed Aug 26 14:33:22 CDT 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>
  File "/Library/Python/2.5/site-packages/mercurial/dispatch.py", line 16, 
in run
  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 
    for f in util.rcpath():
  File "/Library/Python/2.5/site-packages/mercurial/util.py", line 1217, in 
    _rcpath = os_rcpath()
  File "/Library/Python/2.5/site-packages/mercurial/util.py", line 1193, in 
    path = system_rcpath()
  File "/Library/Python/2.5/site-packages/mercurial/posix.py", line 41, in 
  File "/Library/Python/2.5/site-packages/mercurial/posix.py", line 30, in 
    for f, kind in osutil.listdir(rcdir)
  File "/Library/Python/2.5/site-packages/mercurial/demandimport.py", line 
75, in __getattribute__
  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>

More information about the Mercurial-devel mailing list