Page 1 of 1

Configuration and Log window are not visible

Posted: Mon Nov 10, 2008 6:41 am
by yogendra.acharya
Hi All,
I have a strange problem where in the Eventghost main UI 'Configuration window and Log window" are not visible.
Eventghost main window is simply empty.
The windows are there as pressing ENTER or adding a Macro works. But the windows are not visible.

I am using latest beta 0.3.6.1484. OS is vista ultimate 32bit with SP1.

Earlier I was using stable o.3.5c version it was working fine. Then I tried 0.3.6.1482 and the problem started.
I tried installing latest beta (0.3.6.1483 as well as 0.3.6.1484) as well as going back to stable 0.3.5c but nothing works. Every time I get blank
main window of eventghost UI. The problem is persistant even if I uninstall and reinstall the different versions.

I have another machine with vista home premium 32bit with SP1 and all the above versions work fine. No problems
with any version. Only the vista Ultimate 32bit with SP1 has this problem.

Any help is appreciated.

Regards
yogendra

Re: Configuration and Log window are not visible

Posted: Mon Nov 10, 2008 7:15 am
by Bitmonster
Close EG and open in explorer:
C:\Documents and Settings\[Username]\Application Data\EventGhost

Move the file config.py to the desktop or some other location. Restart EG and if everything is fine, attach the old config.py here so I can see what was wrong.

Re: Configuration and Log window are not visible

Posted: Tue Nov 11, 2008 4:32 am
by yogendra.acharya
Thanks for this solution. deleting/moving the config.py did the trick for me.
I am posting a old config.py here so you can try to find out source of the problem.

On my machine under vista the config.py resides in c:\users\[username]\App Data\Roming\EventGhost\
[NOTE: vista does not have "Documents and Settings" folder but its equivalent is "Users" folder]
and after uninstalling eventghost, the ....\appdata\Roming\EventGhost folder and at least some files in the folder are not getting removed. This happens on Vista ultimate as well as home premium 32bit edition with SP1 machine. Is there any specific reason why these files are not removed by uninstall program?
I have following contents in this folder even after uninstall:
sub-folders cgen_py, gen_py
files: config.py, MyConfig.xml, PluginManager.
Out of this MyConfig.xml is my personal configuration tree file. But why other files are still there?

-----------Old config.py-----------

Code: Select all

autoloadFilePath = u'C:\\Program Files\\EventGhost\\temp.xml'
buildNum = 1484
checkUpdate = False
confirmDelete = True
hideOnStartup = True
language = 'en_EN'
limitMemory = True
limitMemorySize = 8
logActions = True
logMacros = True
onlyLogAssigned = False
startWithWindows = False
storedBootTime = 1225778254.552
useAutoloadFile = True
class AddActionDialog:
    position = (440, 275)
    size = (550, 400)
    splitPosition = 210
class AddPluginDialog:
    expandDict = {'program': True, 'other': True, 'remote': True, 'external': True}
    lastSelection = None
    position = (327, 122)
    size = (552, 382)
    splitPosition = 216
class HTMLDialog:
    position = None
    size = (400, 300)
class mainFrame:
    expandOnEvents = True
    expandTillMacro = False
    hideOnClose = True
    logTime = False
    perspective = u'layout2|name=logger;caption= Log;state=4196348;dir=4;layer=0;row=0;pos=0;prop=100000;bestw=280;besth=300;minw=100;minh=100;maxw=-1;maxh=-1;floatx=-1;floaty=-1;floatw=-1;floath=-1|name=tree;caption= Configuration;state=4196348;dir=5;layer=0;row=0;pos=0;prop=100000;bestw=100;besth=100;minw=100;minh=100;maxw=-1;maxh=-1;floatx=-1;floaty=-1;floatw=-1;floath=-1|dock_size(4,0,0)=282|dock_size(5,0,0)=102|'
    perspective2 = u'layout2|name=logger;caption= Log;state=4196348;dir=4;layer=1;row=0;pos=0;prop=100000;bestw=280;besth=300;minw=100;minh=100;maxw=-1;maxh=-1;floatx=341;floaty=191;floatw=400;floath=250|name=tree;caption= Configuration;state=4196348;dir=5;layer=0;row=0;pos=0;prop=100000;bestw=100;besth=100;minw=100;minh=100;maxw=-1;maxh=-1;floatx=-1;floaty=-1;floatw=-1;floath=-1|dock_size(5,0,0)=100|dock_size(4,1,0)=514|'
    position = (85, 122)
    showToolbar = True
    size = (742, 513)
    class treeStateData:
        first = []
        guid = '{4D9B88E5-2798-46B6-80C2-D1734711C4DE}'
        selected = [0, 4]
        state = [0, 1]
        time = '1224753520.13'
class plugins:
    class EventGhost:
        class PythonScript:
            position = (10, 10)
            size = (400, 300)
    class System:
        class RegistryGroup:
            lastKeySelected = 2147483649L
            lastSubkeySelected = 'Software'
            lastValueNameSelected = None
    class Window:
        class FindWindow:
            hideOnDrag = False
class treeStateData:
    expandState = [0, 1]
    firstVisibleItem = []
    guid = '{9FF06AAC-A5C4-4710-BA9B-2A1576F31EBC}'
    selection = [0, 1]
    time = '1225076530.54'
Thanks
yogendra

Re: Configuration and Log window are not visible

Posted: Tue Nov 11, 2008 11:35 am
by Bitmonster
The Inno Setup installer simply has no function to remove the files in a generic and safe way (it would kill the user's .XML also) and I was to lazy to write my own routine, so I simply left it out. Actually the .XML should be stored somewhere else, but I don't like it if programs mess with the "My Documents" folder without asking the user. But I have an idea how to improve this...

Re: Configuration and Log window are not visible

Posted: Wed Nov 12, 2008 7:54 pm
by Bitmonster
Your config shows no unusualness on my machine. Can you reproduce the problem, if you copy the old config.py back?

For the uninstall problem I just released this fix:
- The installer will no longer copy the Example.xml to the {UserAppData}\EventGhost directory.
- If the Example.xml is modified, EG will initiate a SaveAs instead of a normal save to avoid overwriting the Example.xml in the program directory. Important since installing a new version will overwrite the Example.xml in the program directory and therefor would otherwise overwrite all user changes.
- The uninstaller will remove the {UserAppData}\EventGhost directory completely.

Re: Configuration and Log window are not visible

Posted: Wed Nov 12, 2008 8:53 pm
by jinxdone
Hi.

Just as a sidenote.. You have checked that you aren't having an issue with the desktop heap running out, right? That would cause missing ui elements and generally programs acting up.

Re: Configuration and Log window are not visible

Posted: Thu Nov 13, 2008 4:44 am
by yogendra.acharya
Hi All,
Thanks for the dessicussion regarding uninstaller and the fix. (Earlier in my job I also had encountered similar problems using
innosetup to remove files).

I will try to reproduce the problem with old config.py and then post the results.

Regarding heap problem I do not think so as I have 2gb ram in the system, no other applications were running
and the problem persisted across reboots, reinstallation cycles. I had also tried increasing the default 8MB heap to
15MB and then 32MB using the eventghost's file->options dialog where there is a setting for limiting memory/heap use.
I will try to see if there is any heap related problem using task/resource manager's performance counters and
If i notice anything unusual will definitely post here.
Thanks.
yogendra.acharya