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.

error in log for version 0.3.6.1151

If you have a question or need help, this is the place to be.
Post Reply
kricker
Experienced User
Posts: 147
Joined: Thu Oct 12, 2006 5:49 am
Contact:

error in log for version 0.3.6.1151

Post by kricker »

I just upgraded from a perfectly running 0.3.6.964. I thought I'd check out the new features. Upon launching the new version I get this in the log now:

Code: Select all

Traceback (most recent call last):
  Python script "0", line 1, in <module>
    eg.plugins.Mouse.thread.maxSpeed = 7 
  File "C:\Program Files\EventGhost\eg\PluginProxy.py", line 33, in __getattr__
KeyError: 'thread'
Any idea what is causing this? Has the code for controlling mouse speed changed? My python script in the autoload currently contains:

Code: Select all

eg.plugins.Mouse.thread.maxSpeed = 7 
eg.plugins.Mouse.thread.accelerationFactor = 0.005 
eg.plugins.Mouse.thread.accelerationStopFactor = 0.05
User avatar
Bitmonster
Site Admin
Posts: 2239
Joined: Mon Feb 06, 2006 10:28 pm

Re: error in log for version 0.3.6.1151

Post by Bitmonster »

Yes there has been made a change for all plugins. You can't directly access member variables of plugins this way anymore. You have to rewrite it to:

Code: Select all

eg.plugins.Mouse.plugin.thread.maxSpeed = 7
eg.plugins.Mouse.plugin.thread.accelerationFactor = 0.005
eg.plugins.Mouse.plugin.thread.accelerationStopFactor = 0.05
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!
kricker
Experienced User
Posts: 147
Joined: Thu Oct 12, 2006 5:49 am
Contact:

Re: error in log for version 0.3.6.1151

Post by kricker »

Sorry, forgot to post back. That worked. Thank you very much!
Post Reply