Skip to content

"The sketch name had to be modified" grammar #1767

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

Closed
gregdeon opened this issue Dec 27, 2013 · 5 comments
Closed

"The sketch name had to be modified" grammar #1767

gregdeon opened this issue Dec 27, 2013 · 5 comments

Comments

@gregdeon
Copy link

'Save as' with an invalid file name reports a few things about files, saying that "They should also be less less than 64 characters long."

@ankitdaf
Copy link
Contributor

ankitdaf commented Jan 8, 2014

Can you specify how to replicate this ? I tried a 70character long name and I can't seem to be able to open the file at all.

@ankitdaf
Copy link
Contributor

ankitdaf commented Jan 9, 2014

That is correct, The Arduino IDE uses Processing as the base, and that sets the file limit at 63 characters to be precise, and here's the relevant code for it : https://github.com/processing/processing/blob/33e361b13f490562fa39f7241164885cbc169a70/app/src/processing/app/Sketch.java Line 1492

I still can't replicate the issue though

@gregdeon
Copy link
Author

Hmm. That's bizarre.

@h2g2guy
Copy link
Contributor

h2g2guy commented Feb 19, 2014

Just submitted a fix to the grammar at #1879.

@cmaglie
Copy link
Member

cmaglie commented Feb 19, 2014

Closed with #1879. I don't know the exact reason for the 64 char limit, it may be due to file-system constraints on some old OSs.

@cmaglie cmaglie closed this as completed Feb 19, 2014
@per1234 per1234 removed the Component: Documentation Related to Arduino's documentation content label Nov 9, 2017
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

5 participants