kgschlosser wrote: ↑Thu Jun 22, 2017 7:20 pm
well people you can give this version of the system plugin a go... it is goin to require you to have EG 0.5 RC2 installed. this will not work with any versions before that
when I added and installed the plugin into the plugins>System folder (by either adding it or replacing the previous files) or a new subfolder I created in the plugins folder I got the error:
Code: Select all
Exception in thread WMI Thread:
Traceback (most recent call last):
File "threading.pyc", line 801, in __bootstrap_inner
File "C:\ProgramData\EventGhost\plugins\System\Device\Notifier.py", line 1105, in run
**dev
File "C:\ProgramData\EventGhost\plugins\System\Device\Notifier.py", line 711, in _create_event
if name.endswith('.'):
AttributeError: 'NoneType' object has no attribute 'endswith'
causing eventghost to freeze when I try to eg delete an event
I'm not getting the error on a fresh EG 0.5 RC6 without any settings. But once I load my previous tree, I'm getting it.
EG 0.5 RC6
Windows 10 64bit
edit: I'm not getting the error on the 2nd version of the plugin you posted. But the events created only contain either generic information like:
Code: Select all
System.Device.Removed.Keyboard.Erweitert (101 oder 102 Tasten) <dynamic-device 'Keyboard'>
or an event that is formatted in a way that you can't put it into a macro like:
Code: Select all
System.Device.Attached [u'\\\\?\\HID#VID_045E&PID_0750&MI_00#7&1624bf4f&0&0000#{884b96c3-56ef-11d1-bc8c-00a0c91405dd}']
had this issue with 2 non-bluetooth keyboards I connected
In addition to that, eventghosts' tray icon is red and I can't run any Actions unless it's an action that runs by itself at the very moment eventghost starts.
On EG0.5 RC2, it works when I use it with an empty configuration. But once I load up the old one, the arrow turns red again and restarting EG causes it to freeze.
edit2: Apparently, I'm getting a lot more errors upon checking the "Log Debug Info" option when loading up an empty configuration with the System plugin installed:
Code: Select all
16:47:15: 0 MainThread: PluginManager.ScanAllPlugins :0.12538039999999998
16:47:15: 0 MainThread: SendKeysParser.__init__()
16:47:15: 0 MainThread: Document.ShowFrame()
16:47:15: 0 MainThread: Document.ShowFrame => None
---> Willkommen beim EventGhost <---
16:47:16: 0 EventThread: EventThread.StartSession(filename=None)
16:47:16: 0 ActionThread: ActionThread.StartSession(filename=None)
16:47:16: 1 MainThread: OSDFrame.__init__(parent=None)
16:47:16: 0 ActionThread: Document.Load(filePath=None)
16:47:16: 0 MouseThread: MouseThread.run()
16:47:16: 0 ActionThread: Document.LoadEmpty()
16:47:16: 0 MainMessageReceiver: BroadcastNotifier.OnPowerBroadcast(hwnd=397924, uMsg=536L, wParam=32787L, lParam=8213888)
16:47:16: 0 MainMessageReceiver: BroadcastNotifier.OnPowerBroadcast(hwnd=397924, uMsg=536L, wParam=32787L, lParam=8213952)
16:47:16: 0 MainMessageReceiver: BroadcastNotifier.OnPowerBroadcast(hwnd=397924, uMsg=536L, wParam=32787L, lParam=8213984)
16:47:16: 0 MainMessageReceiver: BroadcastNotifier.OnPowerBroadcast(hwnd=397924, uMsg=536L, wParam=32787L, lParam=8209232)
16:47:16: 0 ActionThread: StartLoad(cls=<class 'eg.Classes.TreeLink.TreeLink'>)
16:47:16: 0 WMI Thread: WMI.MountDrive()
16:47:16: 0 ActionThread: XML loaded in 0.009035 seconds.
16:47:16: 1 MainThread: TreeCtrl.OnItemCollapsingEvent(event=<wx.TreeEvent>)
Autostart
16:47:16: 0 ActionThread: ActionThread.StartSession => None
System.PowerProfile.HighPerformance
Main.OnInit
System.PowerSaving.Off
System.PowerSource.Line
System.Monitor.On
Exception in thread WMI Thread:
Traceback (most recent call last):
File "threading.pyc", line 801, in __bootstrap_inner
File "C:\ProgramData\EventGhost\plugins\System\Device\Notifier.py", line 1105, in run
**dev
File "C:\ProgramData\EventGhost\plugins\System\Device\Notifier.py", line 711, in _create_event
if name.endswith('.'):
AttributeError: 'NoneType' object has no attribute 'endswith'
Okay, I tried to reinstall a fresh, plugin-less 0.5 RC2 after uninstalling the previous instance, rebooting and clearing all contents of C:/user/me/appdata/ that contained the name "eventghost" to confirm that the logs are error-free there but I'm already getting an error file upon installation:
https://pastebin.com/yNqypn5k and loading up my configuration makes it behave the same way it did when the System 1.2.0 plugin was installed
now even 0.4.1 gave me errors until I uninstalled, deleted everything inside c:/PROGRAMdata/eventghost folder mentioned in its error, rebooted and reinstalled.
edit3: when trying to do the same before installing 0.5 RC2, activating "Log Debug Info" there and restarting, I'm getting an error similar to the one that started with
Code: Select all
16:47:15: 0 MainThread: PluginManager.ScanAllPlugins :0.12538039999999998
, minus the part that references the System plugin.
I then installed the System plugin on an empty configuration and that caused red log entries:
Code: Select all
18:48:20: 1 MainThread: PluginInstall.Import(filepath=u'c:\\users\\arsi\\downloads\\install\\system-1.2.0.egplugin')
18:48:27: 1 MainThread: PluginOverviewDialog.Destroy()
18:48:28: 1 MainThread: PluginInstall.Import => None
And upon restart, the errors mentioning the System plugin reappear again.
I tried reinstalling 0.5 RC6 again with deleting the ProgramData subfolder again and running an empty configuration with "Log Debug Info". That didn't cause any errors (except the one with the X10 remote).
adding the second iteration of your System plugin didn't cause an error.
but adding my configuration file causes the error that references the System folder again.
now it's working error-free because I loaded the configuration up via a .egtree file instead of a .xml
I then saved the config as a new .egtree file, reloaded and voilla, still no errors.
edit4: system plugin not working anymore. It believe it may be because I moved it to another location.^
reinstalled with all the steps I mentioned earlier.
works with the System Plugin as long as I don't load up my configuration. But as soon as I do that, I'm getting the error that references the system plugin folder.
Apparently it works on an empty config file for the first couple of seconds or before the first restart and then it produces the error
_______
Any updates on that other way you wanted to implement the feature?
_______