[issue2582] DLL load failed when using Mercurial 1.7.3/2 Python 2.6 package - x86 Windows

spaccabit bugs at mercurial.selenic.com
Sat Jan 8 14:44:00 UTC 2011


New submission from spaccabit <giuseppelippolis at libero.it>:

I have hosting mercutial in IIS 7.5 with using python-2.6.6,isapi_wsgi-0.4.2.
If using Mercurial 1.7.3/2 Python 2.6 package - x86 Windows for install,
when loaded in iis throw the next exception:

Collecting Python Trace Output...
Internal Extension Error: Failed to import callback module 'hgwebdir_wsgi'
Last Windows error: Can not find the specified module.
Traceback (most recent call last):
  File "C:\Python26\lib\site-packages\mercurial\demandimport.py", line 104, in _
demandimport
    return _origimport(name, globals, locals, fromlist, level)
  File "C:\inetpub\hg\hgwebdir_wsgi.py", line 73, in <module>
    application = hgwebdir(hgweb_config)
  File "C:\Python26\lib\site-packages\mercurial\hgweb\hgwebdir_mod.py", line 52,
 in __init__
    self.refresh()
  File "C:\Python26\lib\site-packages\mercurial\hgweb\hgwebdir_mod.py", line 61,
 in refresh
    u = ui.ui()
  File "C:\Python26\lib\site-packages\mercurial\ui.py", line 35, in __init__
    for f in util.rcpath():
  File "C:\Python26\lib\site-packages\mercurial\demandimport.py", line 75, in __
getattribute__
    self._load()
  File "C:\Python26\lib\site-packages\mercurial\demandimport.py", line 47, in _l
oad
    mod = _origimport(head, globals, locals)
  File "C:\Python26\lib\site-packages\mercurial\util.py", line 576, in <module>
    from windows import *
  File "C:\Python26\lib\site-packages\mercurial\demandimport.py", line 85, in _d
emandimport
    return _origimport(name, globals, locals, fromlist)
  File "C:\Python26\lib\site-packages\mercurial\windows.py", line 21, in <module
>
    posixfile.__doc__ = osutil.posixfile.__doc__
  File "C:\Python26\lib\site-packages\mercurial\demandimport.py", line 75, in __
getattribute__
    self._load()
  File "C:\Python26\lib\site-packages\mercurial\demandimport.py", line 47, in _l
oad
    mod = _origimport(head, globals, locals)
ImportError: DLL load failed: Can not find the specified module.

if using Mercurial 1.7.1 Python 2.6 package - x86 Windows and manually
update C:\python\site-packages\mercurial with 1.7.3 soruce code, mercurial
it works correctly.

----------
messages: 14848
nosy: spaccabit
priority: bug
status: unread
title: DLL load failed when using Mercurial 1.7.3/2 Python 2.6 package - x86 Windows
topic: 1.7, windows

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


More information about the Mercurial-devel mailing list