Skip to content

Arduino IDE 1.8.4 won't start after using keyboard shortcut to set font size to 0 #6708

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
720candy opened this issue Sep 8, 2017 · 3 comments
Labels
Type: Duplicate Another item already exists for this topic

Comments

@720candy
Copy link

720candy commented Sep 8, 2017

I can't install Arduino program in my MacBook....At first, I can use this program very well.... suddenly it doesn't work and it show its opening screen like this......then this screen disappear...

install Arduino --> pop up this screen --> disappear this screen --> doesn't work program...
pls help me.........
2017-09-08 9 14 50

@facchinm
Copy link
Member

facchinm commented Sep 8, 2017

Hi @720candy ,
can you try to check if the problem solves following these instructions? #6359 (comment) .
If it doesn't, try running it from the command line to get the whole output.

  • launch a terminal
  • drag the arduino app in it
  • add /Contents/MacOS/Arduino at the end (so you get something like /Users/yourname/Downloads/Arduino.app/Contents/MacOS/Arduino
  • press Enter to launch it
  • copy the error code here

@facchinm facchinm added the Waiting for feedback More information must be provided before we can proceed label Sep 8, 2017
@720candy
Copy link
Author

720candy commented Sep 8, 2017

Thank U command my script! @facchinm

my error code ------

Last login: Fri Sep 8 22:02:18 on ttys000
parkjungui-MacBook-Pro:~ parkjungyeon$ /Users/parkjungyeon/Desktop/Arduino.app/Contents/MacOS/Arduino ; exit;
java.lang.IllegalArgumentException: Font size must be > 0
at org.fife.ui.rtextarea.RTextAreaBase.setFont(RTextAreaBase.java:986)
at org.fife.ui.rsyntaxtextarea.RSyntaxTextArea.setFont(RSyntaxTextArea.java:2510)
at processing.app.EditorTab.applyPreferences(EditorTab.java:322)
at processing.app.EditorTab.(EditorTab.java:110)
at processing.app.Editor.addTab(Editor.java:1672)
at processing.app.Editor.createTabs(Editor.java:1645)
at processing.app.Editor.handleOpenInternal(Editor.java:1944)
at processing.app.Editor.(Editor.java:340)
at processing.app.Base.handleOpen(Base.java:833)
at processing.app.Base.handleOpen(Base.java:819)
at processing.app.Base.handleOpen(Base.java:815)
at processing.app.Base.handleNew(Base.java:754)
at processing.app.Base.(Base.java:460)
at processing.app.Base.main(Base.java:140)
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

@facchinm
Copy link
Member

facchinm commented Sep 8, 2017

Ok, so it's a duplicate of #6359 (comment) where you will find a fix described.

You can find the preferences.txt file in /Users/yourusername/Library/Arduino15 folder (Library is hidden, you can reach it by selecting Go to... on Finder and simply writing Library in there)

This issue has already been fixed(5427f94) in the hourly build and you can solve the problem by using that version of the Arduino IDE but please be aware that it is primarily intended for beta testing.

@facchinm facchinm closed this as completed Sep 8, 2017
@per1234 per1234 added Type: Duplicate Another item already exists for this topic and removed Waiting for feedback More information must be provided before we can proceed labels Sep 8, 2017
@per1234 per1234 changed the title Can't install Arduino program in Mac OS. Arduino IDE 1.8.4 won't start after using keyboard shortcut to set font size to 0 Sep 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Duplicate Another item already exists for this topic
Projects
None yet
Development

No branches or pull requests

3 participants