[FIXED] Bug mouse movement out of standby...?

Found a bug in EventGhost? Report it here.
Post Reply
thug
Plugin Developer
Posts: 64
Joined: Sat Jul 22, 2006 2:37 pm
Location: Australia

[FIXED] Bug mouse movement out of standby...?

Post by thug » Tue Jan 16, 2007 11:28 pm

Hi,

My setup :-
A remote control to move mouse using tira

Scenario #1
run EG
I place my machine in standby
Bring it out of standby (login window waits for my login)
Press remote buttons to move mouse - Nothing
I login
Press remote buttons to move mouse - Nothing
EG shows all events and action firing perfectly.

Scenario #2
exit EG
run EG
I place my machine in standby
Bring it out of standby (login window waits for my login)
I login
Press remote buttons to move mouse - works fine

:?: :o

Cheers,

User avatar
Bitmonster
Site Admin
Posts: 2239
Joined: Mon Feb 06, 2006 10:28 pm

Post by Bitmonster » Wed Jan 17, 2007 12:13 am

You mean the only difference was, that you executed a mouse function before you logged in?
And there are no errors/tracebacks in the logger?

thug
Plugin Developer
Posts: 64
Joined: Sat Jul 22, 2006 2:37 pm
Location: Australia

Post by thug » Wed Jan 17, 2007 1:28 pm

Yes there was an error (must have missed it the first, second, third time) :oops:

Code: Select all

Tira.2B84F5D5DD55
Start mouse movement in direction 0.00°
Tira.2B84F5D5DD55
Start mouse movement in direction 0.00°
Exception in thread MouseThread:
Traceback (most recent call last):
  File "threading.pyc", line 460, in __bootstrap
  File "eg/CorePlugins/Mouse/__init__.py", line 88, in run
error: (0, 'GetCursorPos', 'No error message is available')

Tira.2B84F5D5DD55
Start mouse movement in direction 0.00°
any help?

User avatar
Bitmonster
Site Admin
Posts: 2239
Joined: Mon Feb 06, 2006 10:28 pm

Post by Bitmonster » Wed Jan 17, 2007 1:53 pm

Yes, this helps. The problem arises, because without an user beeing active logged in, EG has no access to many desktop properties. One of them is the ability to get the current mouse position. So as soon as it tries, the code crashes and terminates the "MouseThread" that does the smooth mouse movement. The only real fix would be, if EG could run as a service but this is far away in the future. In the meantime I will just catch this error and let EG ignore it, so the MouseThread survives.

Post Reply