Hi,
I was wondering if anyone knows why I'm having the below issue after rebooting my machine, I can't seem to load any eventghost xml files, all I receive are the errors below. I'm running the latest release on Windows 7 Ultimate SP1.
Attached is my config.
Thanks
Traceback (most recent call last) (1600):
File "C:\Program Files (x86)\EventGhost\eg\Classes\MainFrame\__init__.py", line 345, in FuncWrapper
func()
File "C:\Program Files (x86)\EventGhost\eg\Classes\MainFrame\__init__.py", line 828, in OnCmdOpen
self.document.Open()
File "C:\Program Files (x86)\EventGhost\eg\Classes\Document.py", line 353, in Open
self.StartSession(filePath)
File "C:\Program Files (x86)\EventGhost\eg\Classes\Document.py", line 157, in StartSession
eg.eventThread.Func(eg.eventThread.StopSession)()
File "C:\Program Files (x86)\EventGhost\eg\Classes\ThreadWorker.py", line 62, in __call__
self.returnValue = self.func(*self.args, **self.kwargs)
File "C:\Program Files (x86)\EventGhost\eg\Classes\EventThread.py", line 151, in StopSession
actionThread.Func(actionThread.StopSession, 120)()
File "C:\Program Files (x86)\EventGhost\eg\Classes\ThreadWorker.py", line 62, in __call__
self.returnValue = self.func(*self.args, **self.kwargs)
File "C:\Program Files (x86)\EventGhost\eg\Classes\ActionThread.py", line 76, in StopSession
eg.document.autostartMacro.UnloadPlugins()
AttributeError: 'Document' object has no attribute 'autostartMacro'
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.
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.
Error Loading Config
Re: Error Loading Config
Anyone run into this problem?
Re: Error Loading Config
I'd suggest reinstalling EG and see if that helps. Make sure you make a copy of any *.xml files you need first.
Re: Error Loading Config
Thanks for the reply.
That was actually the first thing I tried. The strange part is I don't even see anything load in my tree on the right hand panel.
That was actually the first thing I tried. The strange part is I don't even see anything load in my tree on the right hand panel.
Re: Error Loading Config
You can try to rename "EventGhost" subdir in the "Application Data" dir. (To EventGhost.old, for example, just for test.) That dir should be in your windows user profile. Before doing that, unload Eventghost, and after renaming, run it again.
I'm on WindowsXP. Directory paths are differs on modern OSes like Vista-Seven, but it should be there anyway.
I'm on WindowsXP. Directory paths are differs on modern OSes like Vista-Seven, but it should be there anyway.
-
krambriw
- Plugin Developer
- Posts: 2570
- Joined: Sat Jun 30, 2007 2:51 pm
- Location: Stockholm, Sweden
- Contact:
Re: Error Loading Config
Before you destroy too much, here are my advices:
1) Try to locate your config.py file (on XP in folder ...C:\Users\...\AppData\Roaming\EventGhost)
Edit the first line,
set the name of the xml to "empty.xml", save and restart EG, now EG should start with an empty configuration.
2) Use a good editor and open your old faulty xml configuration, try to repair manually, eventually delete plugin and macro sections, try to open the file after changes, try again and hopefully you will be able to restore most of your work
Best regards, Walter
1) Try to locate your config.py file (on XP in folder ...C:\Users\...\AppData\Roaming\EventGhost)
Edit the first line,
Code: Select all
autoloadFilePath = u'C:\\Program Files\\EventGhost\\empty.xml'
2) Use a good editor and open your old faulty xml configuration, try to repair manually, eventually delete plugin and macro sections, try to open the file after changes, try again and hopefully you will be able to restore most of your work
Best regards, Walter
My released plugins
https://drive.google.com/drive/folders/ ... y01eVBKeHM
https://drive.google.com/drive/folders/ ... y01eVBKeHM
Re: Error Loading Config
Just to correct your typo, path you mentioned, not for XP, it's exactly for Kalease's Windows 7 OS.krambriw wrote:Before you destroy too much, here are my advices:
1) Try to locate your config.py file (on XP in folder ...C:\Users\...\AppData\Roaming\EventGhost)
Edit the first line,set the name of the xml to "empty.xml", save and restart EG, now EG should start with an empty configuration.Code: Select all
autoloadFilePath = u'C:\\Program Files\\EventGhost\\empty.xml'
2) Use a good editor and open your old faulty xml configuration, try to repair manually, eventually delete plugin and macro sections, try to open the file after changes, try again and hopefully you will be able to restore most of your work
Best regards, Walter
-
krambriw
- Plugin Developer
- Posts: 2570
- Joined: Sat Jun 30, 2007 2:51 pm
- Location: Stockholm, Sweden
- Contact:
Re: Error Loading Config
Thanks, even better (I was mistakenly looking into the wrong computer
but at the end, this was not too bad)
My released plugins
https://drive.google.com/drive/folders/ ... y01eVBKeHM
https://drive.google.com/drive/folders/ ... y01eVBKeHM
-
loveleejohn
- Experienced User
- Posts: 133
- Joined: Thu Dec 10, 2015 12:09 am
Re: Error Loading Config
Resurrecting an ancient post to say thank you Walter! Just ran into a similar issue and changing this config file resolved it! I hope this isn't a normal occurrence but for now I am going to be backing up my XML's ever few minutes! Lol. Thanks.Before you destroy too much, here are my advices:
1) Try to locate your config.py file (on XP in folder ...C:\Users\...\AppData\Roaming\EventGhost)
Edit the first line,
Code: Select all
autoloadFilePath = u'C:\\Program Files\\EventGhost\\empty.xml'
set the name of the xml to "empty.xml", save and restart EG, now EG should start with an empty configuration.