Page 1 of 1

Installation: Umgebungsvariable falsch gesetzt

Posted: Sun 2. Apr 2017, 09:07
by fab
Es ist nach der Installation nicht möglich als Nicht-Administrator zu spielen.
Egal ob mit Admin-Account oder "als Administrator" das Setup ausgeführt wird,
mit einem "normalen" User stürzt das Spiel ab (auch wenn man es "als Administrator" ausführt).

Version: 2017.2
OS: Windows 7 64bit

Workaround:
Über die Systemeigenschaften (Erweitert) die Umgebungsvariablen anpassen.
Den Inhalt der Variable "Path" (;C:\Unknown-Horizons\python\Lib\site-packages\fife) von Benutzervariablen für Administrator an die Variable "Path" der Systemvariablen anhängen.
Dann startet das Spiel auch mit "normalen" Usern.

Logausgabe des Fehlers:

Unknown Horizons has crashed.

We are very sorry for this and want to fix the underlying error.
In order to do this, we need the information from the logfile:
C:\Users\NAME\Documents\My Games\unknown-horizons\log\unknown-horizons-2017-04-01_19-41-17.log
Please give it to us via IRC or our forum, for both see http://unknown-horizons.org .
C:\\Unknown-Horizons\\python\\lib\\lib-tk', 'C:\\Unknown-Horizons\\python', 'C:\\Unknown-Horizons\\python\\lib\\site-packages']
PATHSEP: ";" SEP: "\"
LD_LIBRARY_PATH: <undefined>
PATH: C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Skype\Phone\;C:\Program Files (x86)\ATI\ATI.ACE\Core-Static
PYTHONPATH <undefined>
Python version: sys.version_info(major=2, minor=7, micro=13, releaselevel='final', serial=0)
Platform: Windows-7-6.1.7601-SP1
Using fife version 0.4.1, at least 0.4.0 required
Traceback (most recent call last):
File "run_uh.py", line 380, in <module>
main()
File "run_uh.py", line 190, in main
ret = horizons.main.start(options)
File "C:\Unknown-Horizons\unknown-horizons\horizons\main.py", line 163, in start
horizons.globals.fife.init()
File "C:\Unknown-Horizons\unknown-horizons\horizons\engine\engine.py", line 171, in init
self.cursor_images = dict((k, self.imagemanager.load(v)) for k, v in cursor_images.iteritems())
File "C:\Unknown-Horizons\unknown-horizons\horizons\engine\engine.py", line 171, in <genexpr>
self.cursor_images = dict((k, self.imagemanager.load(v)) for k, v in cursor_images.iteritems())
File "C:\Unknown-Horizons\python\lib\site-packages\fife\fife.py", line 5719, in load
return _fife.ImageManager_load(self, name, loader)
SDLException: _[SDLException]_ , SDL reported something bad :: Fatal Error when loading image into a SDL_Surface: Failed loading libpng16-16.dll: Das angegebene Modul wurde nicht gefunden.

Re: Installation: Umgebungsvariable falsch gesetzt

Posted: Mon 3. Apr 2017, 13:03
by LinuxDonald
Danke für den hinweis :)