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.

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 »

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 »

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 »

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 »

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 »

=> 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 »

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 »

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 »

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 »

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 »

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 »

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 »

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 »

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 »

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 »

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