Page 1 of 1
Bug??
Posted: Thu Aug 31, 2017 1:38 pm
by jachin99
http://eventghost.net/forum/viewtopic.p ... 3&start=45 on page four towards the bottom of the page, fuqit3 is saying after launching EG as admin, and saving your tree, the saved profile will not load on the next startup, and EG instead loads the default profile. I'm not sure if this is a common problem, but I've had scenarios where EG loaded the default profile (I can't remember the circumstances) and tzr is reporting a similar problem.
Re: Bug??
Posted: Thu Aug 31, 2017 1:55 pm
by Luca Brasi
+1
Happened to me as well a few times. Can't tell anything about when and why but I'll come back here with some infos the next time it happens.
Re: Bug??
Posted: Mon Sep 04, 2017 8:43 pm
by topix
hmm, what comes to my mind is, if started as admin and then saved the config to the admins user folder and on next start as 'normal' user EG can't load the file because the user has no permission for the admins folder.

Re: Bug??
Posted: Mon Sep 04, 2017 9:47 pm
by kgschlosser
OK.. let you in on something... it is getting saved. just not where you think it is supposed to be..
think about it.. if you launch a program as Administrator what is it doing?
it is making a new session and running the program in that session. with that user account.. and where does eg save the config file to?
c:\users\USERNAME_THAT_IS_LOGGED_IN\appdata\roaming\eventghost\
so when you "run as administrator" it is making a session. logging into it as the user Administrator and then running EG. so that running EG. so the pointer to that directory is not the one that you think it is.
You can test this tidbit out if you open a python script up and key in
Code: Select all
print eg.folderPath.RoamingAppData
this will tell you where the config file is getting saved to.
also if you save a tree located anywhere in the user profile path this is also not going to be where you think it is,
Re: Bug??
Posted: Tue Sep 05, 2017 2:21 am
by kgschlosser
Oh. if this can be confirmed that would be a huge help. see if that path is to a user other then the one you logged in with. It should be c:\users\Administrator\appdata\roaming. if it is I have to try to brain storm a way around this. I am not sure if there is a way to grab the "parent" logged in user name or not