EventGhost 0.4.0 beta test

Do you have questions about writing plugins or scripts in Python? Meet the coders here.
User avatar
Bitmonster
Site Admin
Posts: 2239
Joined: Mon Feb 06, 2006 10:28 pm

Re: EventGhost 0.4.0 beta test

Post by Bitmonster » Wed Jan 20, 2010 5:42 pm

Bartman wrote:All of the plugins I use are from svn. But I can try to find the plugin responsible.
The error will happen, regardless if you use the plugin. Simply its existence in the plugin folder triggers this error.
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!

Bartman
Plugin Developer
Posts: 881
Joined: Sun Feb 12, 2006 9:03 am

Re: EventGhost 0.4.0 beta test

Post by Bartman » Wed Jan 20, 2010 8:34 pm

It seems to be the FS20 PCS plugin. I still don't understand why the name is recognized as str instead of unicode.
If I write the following it works

Code: Select all

eg.RegisterPlugin(
    name = unicode("ELV FS20 PCS"),
    author = "Bartman",

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

Re: EventGhost 0.4.0 beta test

Post by Bitmonster » Wed Jan 20, 2010 8:44 pm

Ok, I see the problem. It is not related to the plugin. It is related to the german language file, because there no plugin name is defined for the FS 20 PCS.
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!

Bartman
Plugin Developer
Posts: 881
Joined: Sun Feb 12, 2006 9:03 am

Re: EventGhost 0.4.0 beta test

Post by Bartman » Wed Jan 20, 2010 8:52 pm

I intentionally did not translate the name as it is the same in all languages.

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

Re: EventGhost 0.4.0 beta test

Post by Bitmonster » Wed Jan 20, 2010 8:57 pm

=> 0.4.0.r1390
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!

Bartman
Plugin Developer
Posts: 881
Joined: Sun Feb 12, 2006 9:03 am

Re: EventGhost 0.4.0 beta test

Post by Bartman » Sun Jan 31, 2010 8:17 pm

What the settings tab for I found in the recent version?

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

Re: EventGhost 0.4.0 beta test

Post by Bitmonster » Thu Feb 04, 2010 5:57 am

Bartman wrote:What the settings tab for I found in the recent version?
It prepares EG to use more than one notebook page for the dialog. For example the "Help" is now displayed as a tab, if it exists. And I might introduce a generic error handling tab in the future.
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!

Bartman
Plugin Developer
Posts: 881
Joined: Sun Feb 12, 2006 9:03 am

Re: EventGhost 0.4.0 beta test

Post by Bartman » Thu Feb 04, 2010 10:30 pm

I get the following error when changing the config.xml

Code: Select all

Traceback (most recent call last) (0):
  File "C:\Program Files (x86)\EventGhost\eg\Classes\EventGhostEvent.py", line 172, in Execute
    RunProgram()
  File "C:\Program Files (x86)\EventGhost\eg\Core.py", line 211, in RunProgram
    item.Execute()
  File "C:\Program Files (x86)\EventGhost\eg\Classes\ActionItem.py", line 228, in Execute
    self.Print(self.GetLabel())
  File "C:\Program Files (x86)\EventGhost\eg\Classes\ActionItem.py", line 176, in GetLabel
    pluginInfo = executable.plugin.info
AttributeError: 'NoneType' object has no attribute 'info'
This seems to be an error of one of the plugins I use. Any clue on whats wrong?

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

Re: EventGhost 0.4.0 beta test

Post by Bitmonster » Sat Feb 06, 2010 7:34 am

Depends on the plugin that is issuing the error. Identify it first.
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!

Bartman
Plugin Developer
Posts: 881
Joined: Sun Feb 12, 2006 9:03 am

Re: EventGhost 0.4.0 beta test

Post by Bartman » Sat Feb 06, 2010 1:15 pm

After some debugging and trying to reproduce the issue it seems to be related to a "Comment" action which has no plugin property assigned. It also happens with the python command and possible some more actions.

Some of my plugins trigger an event, when the device gets disconnected. This event is also triggered when the plugin is stopped because of changing a file. EG however still processes the event and runs into an error, because the other plugin is already unloaded.

stottle
Plugin Developer
Posts: 636
Joined: Sun Apr 26, 2009 10:59 pm

Re: EventGhost 0.4.0 beta test

Post by stottle » Wed Mar 03, 2010 10:06 pm

I know the MCE Remote doesn't show up as a HID device, and I doubt the USB-UIRT does. So what other categories are there for IR? I know Bitmonster mentioned enumerating the HID devices, and comparing against a list of known IR devices that already have plugins/drivers created. It would be great to recognize non-HID devices as well, but I'm not sure how to go about it. Any suggestions?

Brett

Bartman
Plugin Developer
Posts: 881
Joined: Sun Feb 12, 2006 9:03 am

Re: EventGhost 0.4.0 beta test

Post by Bartman » Wed Mar 03, 2010 10:07 pm

Although the USB-UIRT is not an HID EG shows a message, that it has a suitable plugin.
So I guess it not limit to HID.

brand10
Experienced User
Posts: 62
Joined: Mon Mar 29, 2010 10:31 am

Re: EventGhost 0.4.0 beta test

Post by brand10 » Mon Apr 12, 2010 12:34 am

How can i test the new WinUSB functionality of EG? I want to find out if it helps with my disconnect/connect problem of my Soundgrap iMON Device...

Bartman
Plugin Developer
Posts: 881
Joined: Sun Feb 12, 2006 9:03 am

Re: EventGhost 0.4.0 beta test

Post by Bartman » Tue Apr 13, 2010 7:12 pm

You can install the 0.4 version and write a simple plugin that specifies the pid and vid.

User avatar
Livin
Experienced User
Posts: 792
Joined: Wed Oct 08, 2008 4:56 am

Re: EventGhost 0.4.0 beta test

Post by Livin » Wed Apr 21, 2010 6:20 am

Since BM left, is anyone coding .4 ?

Is there any reason to move from 0.3.7 to 0.4.0?
setup... XBMC, W7MC for DVR & Live OTA TV, JRMC for multi-zone audio, EG, MiCasaVerde Vera3, USB-UIRT IR receiver, Harmony remote, 5.2 home theater system

Post Reply