Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

EventGhost on Windows 2000

If you have a question or need help, this is the place to be.
Post Reply
sparhawk
Posts: 31
Joined: Tue Jun 02, 2009 9:30 am

EventGhost on Windows 2000

Post by sparhawk »

My livingroom PC is running Windows 2000 SP4. At first I configured everything on my work machine which runs XP and there everything worked. Then I installed EG and the X10 receiver on my W2k machine, but EG doesn't start there. I get no errormessage or any other indication. When it starts the taskbar icon appears, but EG seems to close immediately leaving the icon just there. When I move the mouse over it it vanishes which indicates a crashed process.

I looked into the FAQ it only said to install the GDI+ DLL, so I downloaded two versions. One form 2007 and the other from 2008. Since there was no installation process, I just copied the gdiplus.dll into the system32 folder, which was also mentioned on the MS page.
Still there is no difference when I try to run EG.

Do I have to install something else? Switching to XP on that machine is not really an option, because it's quite old and slow, and I can't really afford to buy a faster machine right now. It's planned, because it also can not run HD movies as it's to slow, but 99% of the time that's not a problem right now.

Edit: I'm running EG 0.3.7.r1030
sparhawk
Posts: 31
Joined: Tue Jun 02, 2009 9:30 am

Re: EventGhost on Windows 2000

Post by sparhawk »

I just installed EG on another machine also with W2000 and there it works. So the question is, why does it work on one but not on the other?

The only difference, that I noted was, that on my first machine, EG didn't tell me to install GDI+ when I ran the setup. On the other machine it did. So I assume that GDI+ was already installed on the first machine, but maybe there is something wrong with it?

Any ideas what I can do to find out what's wrong? I'm reinstalling the SP4 now again and see if that helps, but somehow I doubt it.
sparhawk
Posts: 31
Joined: Tue Jun 02, 2009 9:30 am

Re: EventGhost on Windows 2000

Post by sparhawk »

I have reinstalled W2k from scratch but EG is still not working there. The taskbaricon is showing up and then it crashes silently without any hint. Any ideas? :(
stottle
Plugin Developer
Posts: 636
Joined: Sun Apr 26, 2009 10:59 pm

Re: EventGhost on Windows 2000

Post by stottle »

Try making a shortcut to EG and adding -debug to the end of the target line (in properties for the shortcut). Alternatively, you can start EG from the command line and add -debug as a command line parameter. This should add additional information to the log. The log is called log.txt, and is stored with the EG config info. In XP, that's "C:\Documents and Settings\<USER>\Application Data\EventGhost\log.txt". On Vista I forget where it is, but it includes Roaming as a directory.

See if the log helps.

Brett
sparhawk
Posts: 31
Joined: Tue Jun 02, 2009 9:30 am

Re: EventGhost on Windows 2000

Post by sparhawk »

Thanks! I will try that tomorrow. I was hoping that EG had such a thing, but I havent found it anywhere. I almost considered to install a compiler and debug it, but that would be pretty cumbersome.
sparhawk
Posts: 31
Joined: Tue Jun 02, 2009 9:30 am

Re: EventGhost on Windows 2000

Post by sparhawk »

14:12:36: 0 MainThread: ----------------------------------------
14:12:36: 0 MainThread: EventGhost started
14:12:36: 0 MainThread: ----------------------------------------
14:12:36: 0 MainThread: Version: 0.3.7.r1030
14:12:36: 0 MainThread: File "C:\Dokumente und Einstellungen\Administrator\Anwendungsdaten\EventGhost\config.py" does not exist.
14:12:38: 0 MainThread: PluginManager.Save()
14:12:38: 0 MainThread: PluginManager.Refresh :1.9880649635638048
14:12:39: 0 MainThread: SendKeysParser.__init__()
Traceback (most recent call last):
File "EventGhost.pyw", line 30, in <module>
File "d:\Programme\EventGhost\eg\__init__.py", line 80, in <module>
import Core
File "d:\Programme\EventGhost\eg\Core.py", line 316, in <module>
eg.Init.Init()
File "d:\Programme\EventGhost\eg\Init.py", line 75, in Init
import WinApi.COMServer
File "d:\Programme\EventGhost\eg\WinApi\COMServer.py", line 27, in <module>
import pythoncom
File "pythoncom.pyc", line 3, in <module>
File "pywintypes.pyc", line 111, in __import_pywin32_system_module__
ImportError: DLL load failed: Die angegebene Prozedur wurde nicht gefunden.


It seems that some DLL for python is missing. But which one?
Prinz
Plugin Developer
Posts: 194
Joined: Mon Apr 07, 2008 4:58 am

Re: EventGhost on Windows 2000

Post by Prinz »

Hi,
sparhawk wrote: File "pywintypes.pyc", line 111, in __import_pywin32_system_module__
ImportError: DLL load failed: Die angegebene Prozedur wurde nicht gefunden.


It seems that some DLL for python is missing. But which one?
Could it be that the file "lib26\pywintypes26.dll" is missing?

Regards
Prinz
Mein HTPC:
Mainboard: Gigabyte GA-G33M-DS2R
CPU: Intel E5200
OS: WinXP SP3
Graphic card: NVIDIA GeForce 210 512MB
TV-Cards: 2 * Digital Everywhere FloppyDTV-C, Terratec Cinergy 1200 DVB-C
HTPC software: DVB Viewer / EventGhost
sparhawk
Posts: 31
Joined: Tue Jun 02, 2009 9:30 am

Re: EventGhost on Windows 2000

Post by sparhawk »

The library is there. I just installed a seperate edition of Python 2.6.2 and the appropriate win32 libs. When I open the new python.exe and import pyhtoncom it works. When I run py.exe from the EG installation and import pythoncom I get the above error message that the module is missing.

When I do a print sys.path I can see that the EG distribution points only to itself, while the public installtion shows me a lot og other paths. So I tried to set PYTHONPATH to all the directories from the public install plus the path that EG points to, but apparently the EG installation seems to ignore PYTHONPATH, because it only shows me the same path as before, while my other installation showed what I typed into PYTHONPATH. :(

I also compared the installations of EG on the different machines and they appear to be exactly the same.
stottle
Plugin Developer
Posts: 636
Joined: Sun Apr 26, 2009 10:59 pm

Re: EventGhost on Windows 2000

Post by stottle »

This is a shot in the dark, but does it work after a reboot?

Brett
sparhawk
Posts: 31
Joined: Tue Jun 02, 2009 9:30 am

Re: EventGhost on Windows 2000

Post by sparhawk »

Well, obviously I tried this first. The answer is no.
sparhawk
Posts: 31
Joined: Tue Jun 02, 2009 9:30 am

Re: EventGhost on Windows 2000

Post by sparhawk »

I just copied over the pythoncom26.dll and pywintypes26.dll from the original python to the EG directory, overwriting the ones from EG.

No when I run py.exe andimport pythoncom it works. But I get a different error when starting up EG:

20:53:24: 0 MainThread: ----------------------------------------
20:53:24: 0 MainThread: EventGhost started
20:53:24: 0 MainThread: ----------------------------------------
20:53:24: 0 MainThread: Version: 0.3.7.r1030
20:53:24: 0 MainThread: File "C:\Dokumente und Einstellungen\Administrator\Anwendungsdaten\EventGhost\config.py" does not exist.
20:53:24: 0 MainThread: PluginManager.Save()
20:53:24: 0 MainThread: PluginManager.Refresh :0.28368912808750835
20:53:24: 0 MainThread: SendKeysParser.__init__()
Traceback (most recent call last):
File "EventGhost.pyw", line 30, in <module>
File "D:\Programme\EventGhost\eg\__init__.py", line 80, in <module>
import Core
File "D:\Programme\EventGhost\eg\Core.py", line 316, in <module>
eg.Init.Init()
File "D:\Programme\EventGhost\eg\Init.py", line 75, in Init
import WinApi.COMServer
File "D:\Programme\EventGhost\eg\WinApi\COMServer.py", line 49, in <module>
import win32com
File "win32com\__init__.pyc", line 5, in <module>
File "win32api.pyc", line 12, in <module>
File "win32api.pyc", line 10, in __load
ImportError: DLL load failed: Die angegebene Prozedur wurde nicht gefunden.

DLL Load Failed. Procedure not found.

When I import win32com in py.exe it's the same error.Which DLL's does it need? I tried to find out via google but no success so far. :(
sparhawk
Posts: 31
Joined: Tue Jun 02, 2009 9:30 am

Re: EventGhost on Windows 2000

Post by sparhawk »

Via google I found this link which describes exactly the samer problem. Doesn't help me though, because it would mean that Iwould have tocreate EG from source. But maybe it gives somebody an idea?

http://www.nabble.com/Probelm-with-win3 ... 78150.html

I'm a bit desperate, because I feel that it should work and only a small thing seems to be missing. :(
sparhawk
Posts: 31
Joined: Tue Jun 02, 2009 9:30 am

Re: EventGhost on Windows 2000

Post by sparhawk »

Post Reply