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.

BUG or a weird syntax error? PLEASE HELP

Found a bug in EventGhost? Report it here.
Post Reply
peterlloyd
Posts: 15
Joined: Fri Sep 26, 2008 4:45 pm

BUG or a weird syntax error? PLEASE HELP

Post by peterlloyd »

This bug report is a follow-on from the topic at http://www.eventghost.org/forum/viewtop ... f=2&t=1122.
I have simplified my Python script and checked the Python syntax as best I can. The script is attached and found in "PL Simplified.xml" as "IR CONTROLLER". As soon as I run the script without providing any input (the script should halt waiting user input) the log panel fills with red error messages and fills ad nauseam. I was able to capture the attached "EventGHost Window.JPG". This problem occurs for me with EventGhost_0.3.6.1486 and EventGhost_0.3.6.1484 but not with EventGhost_0.3.5c.
So have I made a weird error in the syntax of the script which is ignored in the earlier version or is there a BUG in the newer versions? Why the different compile outcomes anyway?
Attachments
EventGhost Window.JPG
PL Simplified.xml
(3.53 KiB) Downloaded 210 times
Bartman
Plugin Developer
Posts: 881
Joined: Sun Feb 12, 2006 9:03 am

Re: BUG or a weird syntax error? PLEASE HELP

Post by Bartman »

Does it work if you use the plugin code from the old version? (If this compiles at all)
Waiting for user input in a script is not really the way EG is intended to work.
peterlloyd
Posts: 15
Joined: Fri Sep 26, 2008 4:45 pm

Re: BUG or a weird syntax error? PLEASE HELP

Post by peterlloyd »

Bartman, I am using the Home Electronics Tira plugin as implemented in whatever EventGhost I have installed. The earlier version works fine both with and without remote desktop connection. I was misled into believing it did not because at the time the script configuration window was lost on a single monitor client- a problem I had forgotten about. While "Waiting for user input in a script is not really the way EG is intended to work", it does and it should. . Thanks for your help. I am very please with the earlier version Home Electronics Tira plugin, EventGhost and Python implementation it works just great for my application but I am concerned about backward compatability of these capabilities as they evolve. I have reproduced the "BUG" on another XP computer. I do know how to get at the plugin code so I can do as you suggest. I can only "copy" the added Tira plugin in the configuration tree in which case I get only-

<Plugin File="Tira" Identifier="Tira">
gAJLAoVxAC4=
</Plugin>
So, now what should I do since the plugin is buried in EventGhost?
User avatar
Bitmonster
Site Admin
Posts: 2239
Joined: Mon Feb 06, 2006 10:28 pm

Re: BUG or a weird syntax error? PLEASE HELP

Post by Bitmonster »

Seldom used function. Was broken somewhere. Try 0.3.6.1487
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!
peterlloyd
Posts: 15
Joined: Fri Sep 26, 2008 4:45 pm

Re: BUG or a weird syntax error? PLEASE HELP

Post by peterlloyd »

Thanks Bitmonster! Unfortunately the new version would not install initially - I got the attached error message half way through installation.
About an hour later I downloaded the latest installation file again and this time it completed and compiled and executed my code correctly!!

PS Please let me know what is the rarely used function I used? Was it the Home Electronics Tira Plugin ??
Attachments
EventGhost Installation error.JPG
Post Reply