Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AN ERROR HAS OCCURED [the index 'SketchesDir' does not exist] #9

Open
JWindy opened this issue Dec 25, 2014 · 2 comments
Open

AN ERROR HAS OCCURED [the index 'SketchesDir' does not exist] #9

JWindy opened this issue Dec 25, 2014 · 2 comments

Comments

@JWindy
Copy link

JWindy commented Dec 25, 2014

Hi there,

i just tried to set up code::blocks for arduino and got the following error, when creating a new project:

SquirrelFunction<> call failed
AN ERROR HAS OCCURED [the index 'SketchesDir' does not exist]

CALLSTACK
*FUNCTION [CreateTarget()] /home/name/.codeblocks/share/codeblocks/templates/wizard/arduino/
wizard.script line [282]
*FUNCTION [SetupProject()] /home/name/.codeblocks/share/codeblocks/templates/wizard/arduino/
wizard.script line [454]

It seems to me that in wizard.script the variable SketchDir <- _T("$(HOME)/.codeblocks/sketches"); is initialised in line 63, however in line 282 SketchesDir is called. Removing the typo solves the error. Would you please change it in the next release?

Thanks alot for the IDE!
Windy

@jastorgalj
Copy link

I have same problem.

SquirrelFunction<> call failed
AN ERROR HAS OCCURED [the index 'SketchesDir' does not exist]

CALLSTACK
*FUNCTION [CreateTarget()] /home/jastorga/.codeblocks/share/codeblocks/templates/wizard/arduino/wizard.script line [282]
*FUNCTION [SetupProject()] /home/jastorga/.codeblocks/share/codeblocks/templates/wizard/arduino/wizard.script line [454]

@ghost
Copy link

ghost commented Oct 31, 2016

same issue here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants