Codelite doesn't run/start Win7

CodeLite installation/troubleshooting forum
Sidar
CodeLite Enthusiast
Posts: 13
Joined: Fri May 04, 2012 6:37 am
Genuine User: Yes
IDE Question: C++
Contact:

Codelite doesn't run/start Win7

Post by Sidar »

Hi there,

This happened to me several times now and I can't figure out why this would happen.
When I execute Codelite. Nothing happens. No error, nothing. I tried running it with the commandline. Still nothing.

Codelite pops up for a second in the taskmanager and then kills itself.

Anyone know why this would happen? My hunch is that either one configuration file has gone bad. Or a Registry key is at fault.

Greetings,

Sidar
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Codelite doesn't run/start Win7

Post by eranif »

First, a guideline for posting on this forum:
HOW TO POST

Try deleting your codelite's user folder from:

Code: Select all

%appdata%\CodeLite
Sidar wrote:Or a Registry key is at fault.
codelite does not use the registry

Eran
Make sure you have read the HOW TO POST thread
Sidar
CodeLite Enthusiast
Posts: 13
Joined: Fri May 04, 2012 6:37 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: Codelite doesn't run/start Win7

Post by Sidar »

I found this though in appdata/codelite:
[ 20:31:27:702 ERR ] Failed to load configuration file: C:\Program Files (x86)\CodeLite/config/codelite.xml

Removed the codelite.xml in %appdata%/codelite/config.
It Starts now. Some settings are gone though. The library paths are still in tact.

Thanks!

Any idea why the XML would fail to load?
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Codelite doesn't run/start Win7

Post by eranif »

Sidar wrote:Any idea why the XML would fail to load?
Probably corrupted XML
Try open it in an text editor and see if it is intact. I would check that end of the file to see if it cut in the middle

Eran
Make sure you have read the HOW TO POST thread
Sidar
CodeLite Enthusiast
Posts: 13
Joined: Fri May 04, 2012 6:37 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: Codelite doesn't run/start Win7

Post by Sidar »

Should have done that first. Deleted it already. But thanks again!
Gibbon1
CodeLite Expert
Posts: 167
Joined: Fri Jul 22, 2011 5:32 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: Codelite doesn't run/start Win7

Post by Gibbon1 »

I had the same problem today. Left codelite running over night and Windows did some updates and rebooted. I think the file was corrupted when windows shut down codelite

codelite.log had this entry.

[ 15:03:15:620 ERR ] Failed to load configuration file: C:\Program Files (x86)\CodeLite/config/codelite.xml

Looking at the file under programmers note pad, looks corrupted. Renamed it codelite.bad.xml and codelight starts again.

Suggestions:

Might make sense to save a back up of codelite.xml and use that if codelite.xml is corrupt.
And or put up a pop up window with a more detailed error.
You do not have the required permissions to view the files attached to this post.
Post Reply