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.

A few Plug-ins have mysteriously stopped working...

If you have a question or need help, this is the place to be.
Post Reply
dt1000
Posts: 27
Joined: Thu Apr 01, 2010 5:46 am

A few Plug-ins have mysteriously stopped working...

Post by dt1000 »

Hi there,
I have been using EventGhost for a few years now without issue.
However, this week, after rebooting my PC, a few of the plug-ins (SchedulGhost & Serial Port) no longer worked.
I got the latest version of EG and the plug-ins, but the error persists.
Here is the info from the log:

07:41:31 Plugin: SchedulGhost
07:41:31 Error starting plugin: SchedulGhost
07:41:31 Traceback (most recent call last) (0.5.0-rc2):
07:41:31 File "C:\Program Files (x86)\EventGhost\eg\Classes\PluginInstanceInfo.py", line 192, in Start
07:41:31 self.instance.__start__(*self.args)
07:41:31 File "C:\Program Files (x86)\EventGhost\plugins\SchedulGhost\__init__.py", line 1735, in __start__
07:41:31 self.data = self.xmlToData()
07:41:31 File "C:\Program Files (x86)\EventGhost\plugins\SchedulGhost\__init__.py", line 2559, in xmlToData
07:41:31 xmldoc = miniDom.parse(xmlfile)
07:41:31 File "xml\dom\minidom.pyc", line 1918, in parse
07:41:31 File "xml\dom\expatbuilder.pyc", line 924, in parse
07:41:31 File "xml\dom\expatbuilder.pyc", line 211, in parseFile
07:41:31 ExpatError: no element found: line 1, column 4096

07:41:31 Plugin: Speech
07:41:31 Plugin: SunTracker
07:41:31 Plugin started
07:41:31 Plugin: USB-UIRT
07:41:31 Plugin: NMA (Notify My Android)
07:41:31 Plugin: TouchControl
07:41:31 Plugin: Serial Port
07:41:31 Error starting plugin: Serial Port
07:41:31 Can't open serial port!


My guess is that a Windows update has broken something.

Is anyone else experiencing the same issue?

Is there a way to fix this?

Thanks,
Dan
User avatar
kgschlosser
Site Admin
Posts: 5190
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: A few Plug-ins have mysteriously stopped working...

Post by kgschlosser »

it looks as tho you could possibly have some bad spots on your HDD the reason i state this is because of the traceback for schedulghost.

go and check and make sure the serial port exists in your device manager.

and if it does go and grab a terminal emulator like putty and see if you can get putty to attach to the port.

you should also consider running chkdsk from a command line.
make sure you specify the /f for fixing the problem.


also run sfc /scannow

sfc will take a really really long time and will slow your machine down a lot. sfc does integrity checks of all of the windows os files. and if one is messed up it will attempt to fix it.

after you run the sfc.. immediately after run this command from a command prompt as well

findstr /c:"[SR]" %windir%\logs\cbs\cbs.log >%userprofile%\Desktop\sfcdetails.txt

this will parse the CBS.log file from the windows\logs directory and place a new file called sfcdetails.txt on your desktop. in here it will tell you what files are broken and if they have been repaired.

this is a good place to start.
If you like the work I have been doing then feel free to Image
dt1000
Posts: 27
Joined: Thu Apr 01, 2010 5:46 am

Re: A few Plug-ins have mysteriously stopped working...

Post by dt1000 »

Thanks for the tips!

I managed to fix the com port issue - as you suspected, for some reason my driver had become corrupted. A quick re-install fixed it right up.

I'll try your other suggestions to see if that fixes the other error!
Thanks!
Dan
dt1000
Posts: 27
Joined: Thu Apr 01, 2010 5:46 am

Re: A few Plug-ins have mysteriously stopped working...

Post by dt1000 »

OK.
Did both of those things - chkdsk & sfc - no errors found.
Issue still persists.

Any other things I could investigate?
dt1000
Posts: 27
Joined: Thu Apr 01, 2010 5:46 am

Re: A few Plug-ins have mysteriously stopped working...

Post by dt1000 »

Found the culprit - for some reason my schedulGhost XML settings file had become truncated. Maybe it was being written to when my computer crashed... All sorted now - thanks for the assist!
User avatar
kgschlosser
Site Admin
Posts: 5190
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: A few Plug-ins have mysteriously stopped working...

Post by kgschlosser »

No worries. The good thing is ya have it sorted. Sucks to end up with a corrupted settings file. I hope ya had a backup I am happy just a suggestion led ya to find the issues
If you like the work I have been doing then feel free to Image
Post Reply