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

Inconsistent error dialogs "Ignoring sketch with bad name" #7794

Open
bwack opened this issue Jul 18, 2018 · 0 comments
Open

Inconsistent error dialogs "Ignoring sketch with bad name" #7794

bwack opened this issue Jul 18, 2018 · 0 comments
Labels
Component: IDE The Arduino IDE feature request A request to make an enhancement (not a bug fix)

Comments

@bwack
Copy link

bwack commented Jul 18, 2018

While helping a friend with little to no experience with arduino, he renamed his sketch and foldername using spaces and a dash. There was no error dialog. While compiling it seems that the arduino ide chose one of the other include files as ino sketch (renaming cpu.c to cpu.c.cpp). The arduino project normally compiles fine if we don't rename it.

Now that I try to recreate this problem I get the "Ignore sketch with bad name" dialog, like it should, but not before. Instead we could compile but it chose one of the include files as sketch instead and failed with no apparent reason.

We also see inconsistent dialog messages. For example, I have renamed the project folder to "KIMUNO ASAP" to recreate the problem, but I get a warning from earlier that says
skjermbilde 2018-07-18 19 42 26
That does not say "KIMUNO ASAP". Doesn't matter if I open it by double clicking the sketch icon or opening it from the IDE.

If I open arduino again by double clicking the desktop icon, it tries to open that KIMUNO - 3461AS.ino sketch again giving me the same error dialogs.. To get rid of that I need to open a working sketch, close arduino and then I can open it again.

Arduino IDE: 1.8.5
Related project link: http://obsolescence.wixsite.com/obsolescence/kim-uno-details (see downloads)

@facchinm facchinm added Component: IDE The Arduino IDE feature request A request to make an enhancement (not a bug fix) labels Jul 19, 2018
@facchinm facchinm added this to the Release 1.8.7 milestone Aug 28, 2018
@facchinm facchinm modified the milestones: Release 1.8.7, Release 1.8.8 Sep 17, 2018
@cmaglie cmaglie modified the milestones: Release 1.8.10, Release 1.8.11 Nov 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: IDE The Arduino IDE feature request A request to make an enhancement (not a bug fix)
Projects
None yet
Development

No branches or pull requests

3 participants