ImportError: DLL load failed

Issue #4972 open
Eric Holt
created an issue

Hi,

I've tried installing tortoisehg-4.4.1-x64.msi on a clean Windows 7 x64 VM (with no previous installation of TortoiseHg) and I get the following error at startup which is logged in thgw.exe.log :

Traceback (most recent call last):
  File "thg", line 122, in <module>
  File "hgdemandimport\demandimportpy2.pyo", line 145, in __getattr__
  File "hgdemandimport\demandimportpy2.pyo", line 90, in _load
  File "hgdemandimport\demandimportpy2.pyo", line 41, in _hgextimport
  File "tortoisehg\hgqt\run.pyo", line 391, in <module>
  File "hgdemandimport\demandimportpy2.pyo", line 145, in __getattr__
  File "hgdemandimport\demandimportpy2.pyo", line 90, in _load
  File "hgdemandimport\demandimportpy2.pyo", line 41, in _hgextimport
  File "tortoisehg\hgqt\qtapp.pyo", line 18, in <module>
  File "hgdemandimport\demandimportpy2.pyo", line 167, in _demandimport
  File "hgdemandimport\demandimportpy2.pyo", line 41, in _hgextimport
  File "tortoisehg\hgqt\qtcore.pyo", line 53, in <module>
  File "hgdemandimport\demandimportpy2.pyo", line 167, in _demandimport
  File "hgdemandimport\demandimportpy2.pyo", line 41, in _hgextimport
  File "PyQt5\QtCore.pyo", line 12, in <module>
  File "PyQt5\QtCore.pyo", line 10, in __load
ImportError: DLL load failed: The specified module could not be found.

Comments (15)

  1. T.F. SEAK

    For my issue #5205 (on XP 64bit), installing VC++ 2015 didn't help. I have installed all the versions of VC++ but still doesn't work.

    xp-64-all-msvcpp.png No success

    I then tried the next two ideas but all failed. 1. I see that PyQt5 is used in this THg version. According to http://pyqt.sourceforge.net/Docs/PyQt5/pyqt4_differences.html, "versions of Python earlier than v2.6 are not supported". So, I installed Python 2.7.15. No success.

    1. Since "Python 3.5+ cannot be run in XP", I installed Python 3.4.4. Still a failure.

    I'm literally running out of ideas. On the other hand, maybe the problem is XP because this OS is no longer supported by many software. Maybe one of the components of THg does not support it? (Though that can't explain why THg 4.6.1 runs fine in XP 32bit).

    I'm totally fine with the idea that XP is no longer supported by THg. I used XP just because it starts up faster and runs faster. If I don't need new features in THg, I could very well use old versions of THg.

  2. Log in to comment