Code::Blocks Forums

User forums => Help => Topic started by: DeathByChocolate on February 24, 2009, 12:07:13 am

Title: "Scripts that failed to load" spurious error messages
Post by: DeathByChocolate on February 24, 2009, 12:07:13 am
I always get this script error message --- I don't know how to get rid of it:

" Scripts that failed to load either because they don't exist or because they contain syntax errors:
 /home/mypath//lib_finder.script
"

Note there is a double slash before the script name.  What is CB looking for?  How can I satisfy it?  I do not intend to use any scripts; my list of scripts is empty.

The error box appears three times whenever I start a compilation, and three times whenever I run the program in the debugger.  It's greatly reducing my productivity.
 
Title: Re: "Scripts that failed to load" spurious error messages
Post by: Jenna on February 24, 2009, 07:12:33 am
I do not intend to use any scripts; my list of scripts is empty.

There should be an entry in the projects properties.

Right click your project in the management pane or activate it and click "Project -> Properties".
Switch to the "scripts" tab and make sure that there is no entry left.

The script is an autogenerated one.
You most likely have clicked (accidently) on "Add manual build script" in the "Libraries" tab of the properties dialog.
And later removed the "lib_finder.script".
Title: Re: "Scripts that failed to load" spurious error messages
Post by: DeathByChocolate on February 24, 2009, 01:34:21 pm
Thank you very much; that solved the problem!