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.

Startup errors

If you have a question or need help, this is the place to be.
Post Reply
User avatar
Pako
Plugin Developer
Posts: 2294
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: Startup errors

Post by Pako »

It seems that the problem is in some action "Python Script":

Code: Select all

09:42:03     File "C:\Program Files (x86)\EventGhost\plugins\EventGhost\PythonScript.py", line 71, in __init__
I do not have it available, so I can not help more.

Pako
User avatar
Pako
Plugin Developer
Posts: 2294
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: Startup errors

Post by Pako »

EventGhost is a built-in plugin.
Python Script is a part of it.
A in your configuration tree is (as is obvious) used some Python Script action.
But you still hiding it from us, so we can not help.

Pako
User avatar
Pako
Plugin Developer
Posts: 2294
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: Startup errors

Post by Pako »

phil wrote:is that useful?
No, I do not need this.
I'm the same.
But you have somewhere ACTION Python Script ...
PS.png
PS.png (1.04 KiB) Viewed 1661 times
Pako
krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: Startup errors

Post by krambriw »

@phil,

To help analyzing your problem, please make a complete screen shot of you configuration tree fully expanded (the tree structure on the right side) and upload your xml file (you find the name of it in the window frame on top)

The actual xml file is in the eg working directory, this could vary depending on what windows version you are using. If you do "Save As" you will find the working directory where the xml file is stored.

Best regards
krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: Startup errors

Post by krambriw »

should a disabled script be processed on startup?
It can be discussed but personally I think this is a good behavior. The same happens also for all plugins that you have in your system even if they are not used, the correctness of the code syntax will be checked at startup when the python source (.py) is compiled into byte code (.pyc).

The discipline you should have is to keep unfinished or faulty code belonging to scripts or plugins separated until they are done. This actually works out pretty well in the long run

BestR Walter
User avatar
Pako
Plugin Developer
Posts: 2294
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: Startup errors

Post by Pako »

I agree with Walter and I consider this behavior to be completely correct and desirable.

Pako
Post Reply