[Resolved] Cannot start UH (old fifengine)

[Resolved] Cannot start UH (old fifengine)

Postby forum » 12 Aug 2020, 06:12

Hello,

Whereas I can start & play UH (old fifengine) on Windows 10 Pro 64bit on a laptop, the same (under the same OS) game fails to start on a PC:
{l Code}: {l Select All Code}
Starting Unknown Horizons
output will be written to logfile "unknownhorizons-DATETIME.log"
Traceback (most recent call last):
  File "C:\Unknown-Horizons\python\lib\site-packages\fife\fife.py", line 18, in swig_import_helper
    return importlib.import_module(mname)
  File "C:\Unknown-Horizons\python\lib\importlib\__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 670, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 583, in module_from_spec
  File "<frozen importlib._bootstrap_external>", line 1043, in create_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
ImportError: DLL load failed: %1 ist keine zulässige Win32-Anwendung.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Unknown-Horizons\unknown-horizons\run_uh.py", line 381, in <module>
    main()
  File "C:\Unknown-Horizons\unknown-horizons\run_uh.py", line 109, in main
    import horizons.main
  File "C:\Unknown-Horizons\unknown-horizons\horizons\main.py", line 41, in <module>
    from fife import fife as fife_module
  File "C:\Unknown-Horizons\python\lib\site-packages\fife\fife.py", line 21, in <module>
    _fife = swig_import_helper()
  File "C:\Unknown-Horizons\python\lib\site-packages\fife\fife.py", line 20, in swig_import_helper
    return importlib.import_module('_fife')
  File "C:\Unknown-Horizons\python\lib\importlib\__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
ModuleNotFoundError: No module named '_fife'
Last edited by forum on 23 Aug 2020, 06:54, edited 1 time in total.
Best regards, 7wells
forum
 
Posts: 143
Joined: 04 May 2020, 12:29

Re: [Resolved] Cannot start UH (old fifengine)

Postby forum » 23 Aug 2020, 06:54

It helped to deinstall the included (and older) VCRedist2015 x86 and to install the latest versions from MS:
https://aka.ms/vs/16/release/vc_redist.x86.exe
https://aka.ms/vs/16/release/vc_redist.x64.exe
Best regards, 7wells
forum
 
Posts: 143
Joined: 04 May 2020, 12:29

Who is online

Users browsing this forum: No registered users and 1 guest