Page 1 of 1

BUG or a weird syntax error? PLEASE HELP

Posted: Wed Dec 03, 2008 1:16 am
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?

Re: BUG or a weird syntax error? PLEASE HELP

Posted: Wed Dec 03, 2008 9:10 pm
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.

Re: BUG or a weird syntax error? PLEASE HELP

Posted: Thu Dec 04, 2008 2:53 am
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?

Re: BUG or a weird syntax error? PLEASE HELP

Posted: Fri Dec 05, 2008 3:36 pm
by Bitmonster
Seldom used function. Was broken somewhere. Try 0.3.6.1487

Re: BUG or a weird syntax error? PLEASE HELP

Posted: Fri Dec 05, 2008 5:51 pm
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 ??