-
Notifications
You must be signed in to change notification settings - Fork 132
Create new sketch fails for ESP8266 with version 4 #1090
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
Comments
Same here. I have tested with WEMOS D1 R2 mini and several others, but the same problem persist. It breaks when I try to use 2.5.1 or 2.5.2 - but 2.5.0 and earlier seem to be working. I'd say it's a Java Regex Pattern related problem. And here's the entire log of the event. Just fast forward to the end and you'll see a StackOverflowError caused by an internal Java regex Pattern resolution error. I've seen it happen before on several occasions in other Java apps, so my solution was to rephrase a problematic regex pattern. Another test that proves that something about 2.5.1 and 2.5.2 platform setup is bad:
|
Same issue here, would love to use 2.5.2! |
I couldn't find any, so I'm stuck on 2.5.0. |
"Latest" nightly build works ok but does not compile due to some empty parameters it tries to pass to the esptool.py. Tried to modify ExternalCommandLauncher constructor that does String#split with regex, but cannot build it. So I changed upload.py to eliminatine empty args:
But looks like nobody maintains Sloeber now. It's sad. Probably it's time to move to the PlatformIO ( |
Tried increasing stack size of JVM via -Xss512m but even that won't help. What happend to the guys who maintained this? |
There is a recursive loop that Regex parser falls into. Increasing memory won't help, the Regex has to be rephrased.
I guess that Life is what happened. ;) Maintaining an open source is OK when you are young and you don't have any other worries, but later on in life all these things fall down on your list of priorities, especially if they don't pay, even more if they require additional investments on your behalf. |
I tried to debug the problem. It is in The problem happens when variables are used twice in a recipe. I will try to provide a patch but meanwhile you may work around the problem by changing
to
(i.e. remove the second "{upload.verbose}") in platform.txt. |
The latest activity in the repository was the removal of requests for donations. Go figure. |
Fixed in #1073 |
Ok, seems to be working now.
Should be working fine when done. |
Still failing on Mac OSX using latest Eclipse CDT Version: 2019-06 (4.12.0) and the latest nightly plugin build version 4.3.1.201902260606. Note: I am trying to create a project for a different platform than mentioned here (ESP32). |
Describe the bug
Installed latest V4.3.1_win64.2018-10-10_08-21-58.tar.gz.
Creation of a new ESP8266 sketch failed after a few seconds with
To Reproduce
Steps to reproduce the behavior:
Go to Arduino Creat new Sketch and click on it
Configure like screenshot

Wait a few seconds
See error (sreen shot and logging)

Logging.txt
Expected behavior
A simple empty sketch to be created
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: