EventGhost wont start (tried several releases)

If you have a question or need help, this is the place to be.

EventGhost wont start (tried several releases)

Postby JelloMan » Wed Aug 15, 2007 5:51 pm

Hi,

I really hope that someone can help we with this problem, maybe it should be posted in the "Bug reports" section, but anyhow this is my problem.

I installed the latest official release and when I tried to start it I got an error and was presented with the errorlog. After that I´ve tried severeal of the nightly builds. With all the nightly builds nothing happens (no active process for EG). Then I tried to start EG with the command-line parameter -debug and then I got the errorlog again. Im running 32-bit Windows vista Home Premium (Swedish version).

This is the contents of the error-log, please help me I really like to try the application out.

19:23:34: MainThread: ----------------------------------------
19:23:34: MainThread: EventGhost started
19:23:34: MainThread: ----------------------------------------
19:23:34: MainThread: Version: 0.3.6.1097
19:23:34: MainThread: LoadStrings(language='en_EN')
19:23:34: MainThread: PluginDatabase.Save()
19:23:34: MainThread: PluginDatabase.__init__ :0.22429414911671738
19:23:34: MainThread: SendKeysParser.__init__()
Traceback (most recent call last):
File "EventGhost.pyw", line 34, in <module>
File "C:\Program\EventGhost\eg\Main.py", line 132, in <module>
eg.StartGui()
File "C:\Program\EventGhost\eg\Init.py", line 182, in StartGui
import WinAPI.COMServer
File "C:\Program\EventGhost\eg\WinAPI\COMServer.py", line 68, in <module>
__factory_infos = factory.RegisterClassFactories(["EventGhost"])
File "win32com\server\factory.pyc", line 15, in RegisterClassFactories
pywintypes.com_error: (-2147221005, 'Ogiltig klasstr\xe4ng', None, None)
JelloMan
 
Posts: 6
Joined: Wed Aug 15, 2007 5:38 pm

Re: EventGhost wont start (tried several releases)

Postby Bitmonster » Wed Aug 15, 2007 8:44 pm

I have seen this error before reported by someone, but no real clue why it happens. On Vista Ultimate I never have seen this. Anyhow I have modified the code in a way, that this error gets ignored and you simply get a small "RegisterClassFactories failed!" message in the logger. Most likely EG will then not be able to work as an COM/ActiveX object, but we will see later what can be done about it. So grab 0.3.6.1100 and try it out.
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!
User avatar
Bitmonster
Site Admin
 
Posts: 2239
Joined: Mon Feb 06, 2006 10:28 pm

Re: EventGhost wont start (tried several releases)

Postby JelloMan » Thu Aug 16, 2007 5:34 am

Still the same problem with the latest release, however the log looks like this now:

07:33:23: MainThread: ----------------------------------------
07:33:23: MainThread: EventGhost started
07:33:23: MainThread: ----------------------------------------
07:33:23: MainThread: Version: 0.3.6.1100
07:33:23: MainThread: LoadStrings(language='en_EN')
07:33:24: MainThread: PluginDatabase.Save()
07:33:24: MainThread: PluginDatabase.__init__ :0.34694605040584764
07:33:24: MainThread: SendKeysParser.__init__()
Traceback (most recent call last):
File "EventGhost.pyw", line 34, in <module>
File "C:\Program\EventGhost\eg\Main.py", line 132, in <module>
eg.StartGui()
File "C:\Program\EventGhost\eg\Init.py", line 182, in StartGui
import WinAPI.COMServer
File "C:\Program\EventGhost\eg\WinAPI\COMServer.py", line 77, in <module>
e = win32com.client.Dispatch("EventGhost")
File "win32com\client\__init__.pyc", line 95, in Dispatch
File "win32com\client\dynamic.pyc", line 98, in _GetGoodDispatchAndUserName
File "win32com\client\dynamic.pyc", line 78, in _GetGoodDispatch
pywintypes.com_error: (-2147221005, 'Ogiltig klasstr\xe4ng', None, None)
Exception in thread Thread-1 (most likely raised during interpreter shutdown):
Traceback (most recent call last):
File "threading.pyc", line 460, in __bootstrap
File "threading.pyc", line 440, in run
File "C:\Program\EventGhost\eg\Scheduler.py", line 132, in MainLoop
File "threading.pyc", line 364, in wait
File "threading.pyc", line 229, in wait
JelloMan
 
Posts: 6
Joined: Wed Aug 15, 2007 5:38 pm

Re: EventGhost wont start (tried several releases)

Postby Bitmonster » Thu Aug 16, 2007 12:29 pm

Try 0.3.6.1101...
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!
User avatar
Bitmonster
Site Admin
 
Posts: 2239
Joined: Mon Feb 06, 2006 10:28 pm

Re: EventGhost wont start (tried several releases)

Postby JelloMan » Thu Aug 16, 2007 1:26 pm

Bitmonster wrote:Try 0.3.6.1101...


I tried it and it worked, thanks! I get the message "unable to establish COM dispatch", I rekon that I will miss some functionality, or???
JelloMan
 
Posts: 6
Joined: Wed Aug 15, 2007 5:38 pm

Re: EventGhost wont start (tried several releases)

Postby Bitmonster » Thu Aug 16, 2007 1:29 pm

Yes, most likely the COM-Server won't work. You can try to use the -e command line switch while EG is already running.
http://www.eventghost.org/wiki/Command-line_reference
If you don't get an event inside EG, the COM-Server is non-functional.
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!
User avatar
Bitmonster
Site Admin
 
Posts: 2239
Joined: Mon Feb 06, 2006 10:28 pm

Re: EventGhost wont start (tried several releases)

Postby Bitmonster » Thu Aug 16, 2007 1:32 pm

1012 has a small modification. Please report if you still get the "Unable to establish COM disptach!" message.
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!
User avatar
Bitmonster
Site Admin
 
Posts: 2239
Joined: Mon Feb 06, 2006 10:28 pm

Re: EventGhost wont start (tried several releases)

Postby JelloMan » Thu Aug 16, 2007 1:39 pm

Bitmonster wrote:1012 has a small modification. Please report if you still get the "Unable to establish COM disptach!" message.

Ooops, this is what I get in the log collumn with 1012.

15:37:45 C:\Program\EventGhost\lib\python25.zip\win32com\server\policy.py:201: DeprecationWarning: raising a string exception is deprecated
15:37:45 pythoncom error: ERROR: server.policy could not create an instance.
15:37:45
15:37:45 Traceback (most recent call last):
15:37:45 File "win32com\server\policy.pyc", line 144, in CreateInstance
15:37:45 File "win32com\server\policy.pyc", line 201, in _CreateInstance_
15:37:45 win32com.server.policy error: The object is not correctly registered - CLSID\{7EB106DC-468D-4345-9CFE-B0021039114B}\PythonCOM key can not be read
15:37:45 pythoncom error: Unexpected gateway error
15:37:45
15:37:45 Traceback (most recent call last):
15:37:45 File "win32com\server\policy.pyc", line 144, in CreateInstance
15:37:45 File "win32com\server\policy.pyc", line 201, in _CreateInstance_
15:37:45 win32com.server.policy error: The object is not correctly registered - CLSID\{7EB106DC-468D-4345-9CFE-B0021039114B}\PythonCOM key can not be read
15:37:45 pythoncom error: CPyFactory::CreateInstance failed to create instance. (80004005)
15:37:45 Unable to establish COM disptach!
15:37:45 C:\Program\EventGhost\lib\python25.zip\win32com\server\policy.py:201: DeprecationWarning: raising a string exception is deprecated
15:37:45 pythoncom error: ERROR: server.policy could not create an instance.
15:37:45
15:37:45 Traceback (most recent call last):
15:37:45 File "win32com\server\policy.pyc", line 144, in CreateInstance
15:37:45 File "win32com\server\policy.pyc", line 201, in _CreateInstance_
15:37:45 win32com.server.policy error: The object is not correctly registered - CLSID\{7EB106DC-468D-4345-9CFE-B0021039114B}\PythonCOM key can not be read
15:37:45 pythoncom error: Unexpected gateway error
15:37:45
15:37:45 Traceback (most recent call last):
15:37:45 File "win32com\server\policy.pyc", line 144, in CreateInstance
15:37:45 File "win32com\server\policy.pyc", line 201, in _CreateInstance_
15:37:45 win32com.server.policy error: The object is not correctly registered - CLSID\{7EB106DC-468D-4345-9CFE-B0021039114B}\PythonCOM key can not be read
15:37:45 pythoncom error: CPyFactory::CreateInstance failed to create instance. (80004005)
15:37:45 Unable to establish COM disptach!
15:37:45 ---> Welcome to EventGhost <---
15:37:46 Autostart
15:37:46 Main.OnInit
JelloMan
 
Posts: 6
Joined: Wed Aug 15, 2007 5:38 pm

Re: EventGhost wont start (tried several releases)

Postby Bitmonster » Thu Aug 16, 2007 1:44 pm

Ok, please go back to 1101. Have you installed EG under an Administrator account and run it there at least one time?
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!
User avatar
Bitmonster
Site Admin
 
Posts: 2239
Joined: Mon Feb 06, 2006 10:28 pm

Re: EventGhost wont start (tried several releases)

Postby JelloMan » Thu Aug 16, 2007 2:14 pm

Bitmonster wrote:Ok, please go back to 1101. Have you installed EG under an Administrator account and run it there at least one time?

Yes it is installed and running under an Admin account. Wich is the correct method to revert to 1101?
JelloMan
 
Posts: 6
Joined: Wed Aug 15, 2007 5:38 pm

Re: EventGhost wont start (tried several releases)

Postby Bitmonster » Thu Aug 16, 2007 2:16 pm

Just install the 1101 update over your current 1102 installation.
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!
User avatar
Bitmonster
Site Admin
 
Posts: 2239
Joined: Mon Feb 06, 2006 10:28 pm

Re: EventGhost wont start (tried several releases)

Postby Bitmonster » Thu Aug 16, 2007 3:00 pm

I just installed Vista Home Premium 32bit on a fresh partition and tried it with EventGhost. It shows no sign of abnormality so far. :(
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!
User avatar
Bitmonster
Site Admin
 
Posts: 2239
Joined: Mon Feb 06, 2006 10:28 pm

Re: EventGhost wont start (tried several releases)

Postby JelloMan » Thu Aug 16, 2007 7:36 pm

Bitmonster wrote:I just installed Vista Home Premium 32bit on a fresh partition and tried it with EventGhost. It shows no sign of abnormality so far. :(

OK, so I reverted back to previous version with still the same result as before with that release. Anymore ideas?
JelloMan
 
Posts: 6
Joined: Wed Aug 15, 2007 5:38 pm

Re: EventGhost wont start (tried several releases)

Postby Bitmonster » Fri Aug 17, 2007 2:31 pm

JelloMan wrote: Anymore ideas?

Not really. If you are familiar with virtualization softwares (like VMWare), you could try to generate a fresh install with it and see if this error happens there also. If so, there is a chance I could reproduce it here.
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!
User avatar
Bitmonster
Site Admin
 
Posts: 2239
Joined: Mon Feb 06, 2006 10:28 pm


Return to General Support

Who is online

Users browsing this forum: Bing [Bot] and 3 guests