Another case of FreeImage library problems

Tournaments announces and results.

Moderators: FtXCommando, Stups

Another case of FreeImage library problems

Postby EnderC » 29 Jul 2013, 05:18

So only very recently, my FAF client decided to stop opening altogether. I get a simple dialog box with the title 'Errors occurred and the phrase:

"See the logfile at '\FAForever.exe.log' for details."

Code: Select all
(120 lines, all differing "FunctionNotFound" error messages, all FreeImage_XX as below)
E:\App Files\Forged Alliance Forever\FAForever.lib\FreeImagePy\library.py:90: FunctionNotFound: Error on bind FreeImage_IsLittleEndian.
Error in sys.excepthook:
Traceback (most recent call last):
  File "main.pyc", line 56, in excepthook
NameError: global name 'logger' is not defined

Original exception was:
Traceback (most recent call last):
  File "main.py", line 44, in <module>
  File "util\__init__.pyc", line 595, in <module>
  File "util\crash.pyc", line 24, in <module>
  File "fa\__init__.pyc", line 82, in <module>
  File "fa\maps.pyc", line 39, in <module>
  File "FreeImagePy\__init__.pyc", line 35, in <module>
  File "FreeImagePy\FreeImagePy.pyc", line 84, in __init__
  File "FreeImagePy\library.pyc", line 93, in __init__
AttributeError: 'internlLibrary' object has no attribute 'lib'


The FAForever.lb file exists in the location mentioned in the log. The client is freshly re-installed using FAForeverLobby-0.8.54.exe on Windows 8 64-bit. I had reinstalled in a new location after the client refused to open, with a different dialog box about its inability to write to log for I assume the same reasons. Repairing the installation didn't do anything.

I haven't installed any major updates to my system since the last time I was able to run the client, maybe 4 days ago.

Does anyone have experience with fixing this type of python library issue? I've seen in a similar problem pop up in the forums already, and I've seen mentions that FreeImagePy, or at least FAF's use of it, has problems using the new version of FreeImage (3.15.4). I've tried the earliest version of FreeImage.dll I could find, which was 3.13.0 but the same problem happened, with a similar log.

Another search I tried led to be some forum, when someone had a similar issue in FAF, that mentioned that FreeImagePy uses freeimage.dll v3.9.x but I could not find anything earlier than 3.13.0.
EnderC
 
Posts: 8
Joined: 01 Jul 2013, 16:27
Has liked: 0 time
Been liked: 0 time
FAF User Name: EnderC

Re: Another case of FreeImage library problems  Topic is solved

Postby EnderC » 30 Jul 2013, 00:23

Since I've seen this problem a few times in the forums, I'll share the solution I found.

I'd installed Console2.exe recently and it added its directory to my Environment Variables. Inside the directory? Freeimage.dll, but a different version than what FAF uses.

Since I need that path in my environment variables, I just upgraded console's version of freeimage.dll and everything seems to be running fine.

Consider this solved.
EnderC
 
Posts: 8
Joined: 01 Jul 2013, 16:27
Has liked: 0 time
Been liked: 0 time
FAF User Name: EnderC


Return to Tournaments

Who is online

Users browsing this forum: No registered users and 1 guest