Comments (43)
Hi All, I need help in verifying this fix with my local build zip file.
How to verify?
- Download https://github.com/kolipakakondal/idf-eclipse-plugin-dev/raw/master/com.espressif.idf.update-1.0.0-SNAPSHOT.zip
- In Eclipse, choose Help -> Install New Software
- Click Add… button
- Select Archive from Add repository dialog and select the file com.espressif.idf.update-1.0.0-SNAPSHOT.zip
- Click Add
- Select Espressif IDF from the list and proceed with the installation
- Restart the Eclipse
Now, verify if you're able to launch sdkconfig editor for your project. If see any issues, check the "JSON Configuration Server Console" which is added newly with this fix.
Based on the feedback, I'll update the plugins update site URL.
from idf-eclipse-plugin.
How do you update? I tried updating and even uninstalling the plugin and then installing it again. However, when I then click "Help/Espressif IDF Tools Manager/Install Tools" it pretty much skips everything as it's already installed.
To update IDF Eclipse Plugins:
- Help > Check for Updates
- If updates are found, select
Espressif IDF Plugins for Eclipse
and deselect all other items and proceed with the installation.
@FilipNevezi - Are you having issues with the Tools installation or sdkconfig editor launch?
If you're having issues with the tools installation, please provide the console message error which is appearing in the 'IDF Tools Console'. You can access the IDF Tools console if it's not active https://github.com/espressif/idf-eclipse-plugin#espressif-idf-tools-console
If you're having editor launch issue, please provide the error log https://github.com/espressif/idf-eclipse-plugin#error-log
from idf-eclipse-plugin.
@kolipakakondal following your instructions it seems to be working now for me. Good job!
from idf-eclipse-plugin.
Okay, let's do this.
Here is the new build which increases the timeout to 120sec
https://github.com/kolipakakondal/idf-eclipse-plugin-dev/raw/master/com.espressif.idf.update-1.0.0.201911060844.zip
If you still see any issue, set this "-Dsdkconfig.timeout" vm property in the eclipse.ini file with a value
-Dsdkconfig.timeout=200
https://wiki.eclipse.org/Eclipse.ini#-vm_value
from idf-eclipse-plugin.
@kolipakakondal your build fixed it for me as well, thanks!
from idf-eclipse-plugin.
As @serenagrl said, same here. The Icon for sdconfig is not the same as shown in the description.
Maybe the wrong editor is linked? No output to Console either.
The Editor is called "SDK Configuration"...
from idf-eclipse-plugin.
I have the same issues, I tried to manually select SDK Configuration then I face the same error.
from idf-eclipse-plugin.
I've same issue with eclipse 2019-09 on windows 64-bits.
from idf-eclipse-plugin.
I'v been solved this issue by install java 11
from idf-eclipse-plugin.
The issue got fixed with v1.0.0-beta - https://github.com/espressif/idf-eclipse-plugin/releases/tag/v1.0.0-beta
Please use the update site to get the latest.
from idf-eclipse-plugin.
The issue got fixed with v1.0.0-beta - https://github.com/espressif/idf-eclipse-plugin/releases/tag/v1.0.0-beta
Please use the update site to get the latest.
How do you update? I tried updating and even uninstalling the plugin and then installing it again. However, when I then click "Help/Espressif IDF Tools Manager/Install Tools" it pretty much skips everything as it's already installed.
from idf-eclipse-plugin.
Hi, I have the same problem
from idf-eclipse-plugin.
Hi All,
I just tested the updated version, looks like there are some minor error:
`
!ENTRY com.espressif.idf.core 4 0 2019-10-14 08:38:48.574
!MESSAGE Illegal char <
at index 49: C:\esp-idf.espressif\python_env\idf4.1_py3.7_env
/Scripts\python
!STACK 0
java.nio.file.InvalidPathException: Illegal char <
at index 49: C:\esp-idf.espressif\python_env\idf4.1_py3.7_env
/Scripts\python
at sun.nio.fs.WindowsPathParser.normalize(Unknown Source)
at sun.nio.fs.WindowsPathParser.parse(Unknown Source)
at sun.nio.fs.WindowsPathParser.parse(Unknown Source)
at sun.nio.fs.WindowsPath.parse(Unknown Source)
at sun.nio.fs.WindowsFileSystem.getPath(Unknown Source)
at java.nio.file.Paths.get(Unknown Source)
at com.espressif.idf.core.util.IDFUtil.findCommand(IDFUtil.java:154)
at com.espressif.idf.core.util.IDFUtil.getIDFPythonEnvPath(IDFUtil.java:106)
at com.espressif.idf.sdk.config.core.server.JsonConfigServer.start(JsonConfigServer.java:89)
at com.espressif.idf.sdk.config.core.server.ConfigServerManager.getServer(ConfigServerManager.java:42)
at com.espressif.idf.sdk.config.ui.SDKConfigurationEditor.initConfigServer(SDKConfigurationEditor.java:338)
at com.espressif.idf.sdk.config.ui.SDKConfigurationEditor.lambda$0(SDKConfigurationEditor.java:150)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
!ENTRY com.espressif.idf.core 1 0 2019-10-14 08:38:48.578
!MESSAGE [C:\esp-idf.espressif\python_env\idf4.1_py3.7_env\Scripts\python.exe, D:\esp-idf\esp-idf\tools\idf.py, confserver]
`
from idf-eclipse-plugin.
!MESSAGE Illegal char <
at index 49: C:\esp-idf.espressif\python_env\idf4.1_py3.7_env
/Scripts\python
!STACK 0
java.nio.file.InvalidPathException: Illegal char <
at index 49: C:\esp-idf.espressif\python_env\idf4.1_py3.7_env
/Scripts\python
It seems to be Illegal char < is inserted in the PATH. Can you verify PATH from the build preferences? https://github.com/espressif/idf-eclipse-plugin#configuring-environment-variables
from idf-eclipse-plugin.
hi, I think the problem is with this dash "/" before the "Scripts", but i don't now how to change it.
from idf-eclipse-plugin.
hi, I think the problem is with this dash "/" before the "Scripts", but i don't now how to change it.
Understood the problem. \r character in front of /Scripts\python is causing the issue(Specific to Windows OS). We will fix it soon.
As a workaround:
- Go to preferences https://github.com/espressif/idf-eclipse-plugin#configureEnvironmentVariables
- Copy the value of IDF_PYTHON_ENV_PATH to the notepad (To avoid \r character)
- Add again
- Apply and close
from idf-eclipse-plugin.
Hi,
I have tried using a fresh installed version of eclipse (2019.09) to test with the updated plugins and the problem still exist. I do not have Java 11 installed but instead uses the recommended Java 1.8.
from idf-eclipse-plugin.
in CMD, json configration server run successfully. in eclipse,plugin still has error
from idf-eclipse-plugin.
The illegal character < message is from an incorrect path. %PATH% is not expended in the eclipse environment PATH. Removing it and concatenate the system path manually. This will remove the message but editing the sdkconfig still doesn't work.
My workaround is to open the file, change the settings and save it in a txt-editor.
from idf-eclipse-plugin.
I have the same error, in the SDK editor plug in, using the latest beta files and installing directly from the URL
The log says
!ENTRY com.espressif.idf.sdk.config.ui 4 0 2019-10-18 15:26:30.323
!MESSAGE Invalid thread access
!STACK 0
org.eclipse.swt.SWTException: Invalid thread access
at org.eclipse.swt.SWT.error(SWT.java:4711)
at org.eclipse.swt.SWT.error(SWT.java:4626)
at org.eclipse.swt.SWT.error(SWT.java:4597)
at org.eclipse.swt.widgets.Widget.error(Widget.java:452)
at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:370)
at org.eclipse.swt.widgets.Widget.checkParent(Widget.java:290)
at org.eclipse.swt.widgets.Widget.(Widget.java:155)
at org.eclipse.swt.widgets.Control.(Control.java:113)
at org.eclipse.swt.widgets.Scrollable.(Scrollable.java:85)
at org.eclipse.swt.widgets.Composite.(Composite.java:99)
at com.espressif.idf.sdk.config.ui.SDKConfigurationEditor.createErrorPage(SDKConfigurationEditor.java:303)
at com.espressif.idf.sdk.config.ui.SDKConfigurationEditor.lambda$0(SDKConfigurationEditor.java:142)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
from idf-eclipse-plugin.
I too have this issue, running Eclipse 2019-03 (4.11.0) on WIn10 64 bit. Installed from scratch using the latest revision, but I get the "retrieving output" error. Nothing to be seen in the error log though, so I don't know where to start...
EDIT: Updated to Eclipse 2019-12, still the same problem.
from idf-eclipse-plugin.
UPDATE!!
I can get this to work if I don't use the installed /opt/esp dir in the docker. I git clone the esp-idf
into a directory and then start the eclipse and install the espressif tools pointing to the cloned esp-idf directory. After that I am able to use the sdkconfig editor.
The difference in the log is at the !MESSAGE [] on the running version it is
[/home/myuser/.espressif/python_env/idf4.0_py3.6_env/bin/python, /home/myuser/esp/idf/tools/idf.py, confserver]
and in the version that fails it is below with a [null, ...]
I am experiencing the same issue. I am running Eclipse 2019-09R on linux. I am running in a docker (modified from the idf V4.0 Dockerfile).
Here is the log info.
!ENTRY com.espressif.idf.core 1 0 2019-11-02 15:32:50.551
!MESSAGE [null, /opt/esp/idf/tools/idf.py, confserver]
!ENTRY com.espressif.idf.sdk.config.core 4 0 2019-11-02 15:32:50.552
!MESSAGE
!STACK 0
java.lang.NullPointerException
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1090)
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1071)
at com.aptana.core.util.ProcessRunner.startProcess(ProcessRunner.java:166)
at com.aptana.core.util.ProcessRunner.doRun(ProcessRunner.java:147)
at com.aptana.core.util.ProcessRunner.run(ProcessRunner.java:86)
at com.espressif.idf.sdk.config.core.server.JsonConfigServer.start(JsonConfigServer.java:97)
at com.espressif.idf.sdk.config.core.server.ConfigServerManager.getServer(ConfigServerManager.java:42)
at com.espressif.idf.sdk.config.ui.SDKConfigurationEditor.initConfigServer(SDKConfigurationEditor.java:338)
at com.espressif.idf.sdk.config.ui.SDKConfigurationEditor.lambda$0(SDKConfigurationEditor.java:150)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
from idf-eclipse-plugin.
remove the \r character,and the problem still exists:
!ENTRY com.espressif.idf.core 1 0 2019-11-05 10:22:31.083
!MESSAGE [C:\Users\uername.espressif\python_env\idf4.1_py3.7_env\Scripts\python.exe, C:\Users\uername\esp\esp-idf\tools\idf.py, confserver]
from idf-eclipse-plugin.
Hi All,
Checked but it didn't work. I also could not find the JSON console.
Window - Show View - Other ... and entering J
The update made a remark that it was an update but I assume that's correct. Did I do something wrong?
Bye,
Rob.
from idf-eclipse-plugin.
Checked but it didn't work. I also could not find the JSON console.
Window - Show View - Other ... and entering J
The update made a remark that it was an update but I assume that's correct. Did I do something wrong?
Have you restarted the eclipse after the plugin update?
Can you verify the plugin version? It should be 1.0.0.201911050434
Help > About Eclipse IDE> Installation Details > Installed Software > Search for "Espressif"
JSON Configuration Server console is part of the console view, it automatically opens up while launching the sdkconfig editor
from idf-eclipse-plugin.
Hi,
Found the console after the comment. The content is in the file. The date and time of the update is correct. I also noticed that Perl is found. That happend never before!
Should I try it with a new project?
Bye,
Bor.
from idf-eclipse-plugin.
Found the console after the comment. The content is in the file. The date and time of the update is correct. I also noticed that Perl is found. That happend never before!
Should I try it with a new project?
Okay, great. JSON response looks good. So what's the problem now - editor still showing an error? Yes, try with a new project and see what happens.
Any error reported in the error log?
from idf-eclipse-plugin.
Same error message as before.
Currently running the build of a template project.
Will send the error log when build done.
Have to go in half an hour.
from idf-eclipse-plugin.
No problems building.
Some error when starting the editor.
Error log latest message: Server running, waiting for requests on stdin...
See nothing wrong.
from idf-eclipse-plugin.
Some more info:
I did exactly the same thing on my computer at work. That's the one where the ulp projects are also working. On this computer the patch is working! It didn't work before I checked.
Any suggestions what to check to fix it at home?
from idf-eclipse-plugin.
it works at first time, but fails at second time
from idf-eclipse-plugin.
Second time worked with me here.
Both the toolchain and eclipse are installed the default way with no problems.
OS: Win10 enterprise 2016 LTSB (64)
CPU: i7-4770 3.4 GHz
RAM: 8 GB
I see a difference in the error log at work and at home.
At work all the latest messages are repeated.
from idf-eclipse-plugin.
it works at first time, but fails at second time
Was it taking too long to get the json output on the console? The editor will be shown with an error after 15sec timeout
from idf-eclipse-plugin.
I think that could be the cause. The computer at home has limited cpu power. Is it possible to adjust the timeout?
After more or less 10 seconds the error pops up while the messages in the console are still running.
from idf-eclipse-plugin.
Here is one more local build https://github.com/kolipakakondal/idf-eclipse-plugin-dev/raw/master/com.espressif.idf.update-1.0.0.201911060700.zip
Hopefully, this solves all the editor issues.
To verify:
- Download above build
- In Eclipse, choose Help -> Install New Software
- Click Add… button
- Select Archive from Add repository dialog and select the file com.espressif.idf.update-1.0.0.201911060700.zip
- Click Add
- Select Espressif IDF from the list and proceed with the installation
- Restart the Eclipse
@rdkluijv Please try this
from idf-eclipse-plugin.
Installed it and checked if the updated software showed.
Some timing.
After 30 seconds the error shows.
After 50 seconds the stdin line shows in the console.
from idf-eclipse-plugin.
OK. It's working. I looked at the output in the console. A possible cause for the delay is that git is trying to find a repository. This computer is also slow, but silent, so I replace it. Probably fix more issues!
Thanks for the work.
Now it's working I tried it and it looks great. However ...
Using the text editor I could not manage to change tskNO_AFFINITY. (Reason to change it is because it's not the value that's in the documentation.) I would have tried it but it's out of reach. The scroll bar is not working or very slow. Could this be related or should I open another issue?
from idf-eclipse-plugin.
Okay, great. Yes, please open a new issue with all the details.
from idf-eclipse-plugin.
Hi.
I still get that error while trying to open the sdkconfig file. Please see attached my error log. As I'm facing other errors as well, they might be connected.
sdkconfig.log
from idf-eclipse-plugin.
Hi.
I still get that error while trying to open the sdkconfig file. Please see attached my error log. As I'm facing other errors as well, they might be connected.
sdkconfig.log
It looks like, it has a lot of other plugin errors - not sure if the workspace is corrupted. I've still not updated the url - have you tried with the local build which is provided above? and provide the json server console log if you're having any issue after that.
from idf-eclipse-plugin.
sdkconfig editor launch issue got fixed with the idf-eclipse-plugin-v1.0.0-beta.3 release.
Please get the latest changes using the update site url.
from idf-eclipse-plugin.
Hi.
BETA3 still doesn't solve my issue opening the sdkconfig dialog. Please see my log below. Although installation of BETA 3 manually worked, the question is if I messed up my eclipse installation. I saw some weird entries in the log
error.log
from idf-eclipse-plugin.
HI!
When double clicking on the sdkconfig, it will prompt a dialog stating "Starting JSON Configuration Server" and the it will failed with a message on a new tab:
"Error retrieving output from the json configserver, please check the error log"
Error Log:
`eclipse.buildId=4.14.0.I20191101-0300
java.version=11.0.5
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=ru_RU
Framework arguments: -product org.eclipse.epp.package.cpp.product -product org.eclipse.epp.package.cpp.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.cpp.product -data file:/C:/Users/Alexander/eclipse-workspace/ -product org.eclipse.epp.package.cpp.product
com.espressif.idf.sdk.config.ui
Error
Sun Nov 17 21:56:20 YEKT 2019
Invalid thread access
org.eclipse.swt.SWTException: Invalid thread access
at org.eclipse.swt.SWT.error(SWT.java:4720)
at org.eclipse.swt.SWT.error(SWT.java:4635)
at org.eclipse.swt.SWT.error(SWT.java:4606)
at org.eclipse.swt.widgets.Widget.error(Widget.java:452)
at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:370)
at org.eclipse.swt.widgets.Widget.checkParent(Widget.java:290)
at org.eclipse.swt.widgets.Widget.(Widget.java:155)
at org.eclipse.swt.widgets.Control.(Control.java:112)
at org.eclipse.swt.widgets.Scrollable.(Scrollable.java:85)
at org.eclipse.swt.widgets.Composite.(Composite.java:99)
at com.espressif.idf.sdk.config.ui.SDKConfigurationEditor.createErrorPage(SDKConfigurationEditor.java:320)
at com.espressif.idf.sdk.config.ui.SDKConfigurationEditor.lambda$0(SDKConfigurationEditor.java:153)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
`
Please, help!
from idf-eclipse-plugin.
Related Issues (20)
- Syntax coloring does not work in Editor (LSP) (IEP-1165) HOT 2
- When installing ESP IDF IDE, IDE is not selected by default (IEP-1166) HOT 1
- Rendering problem of project description when starting new ESP IDF project (IEP-1167) HOT 1
- [Debian 12, Eclipse IDF 2023-12, ESP-IDF Plugin 2.12] ESP-IDF Tools manager > Install Tools errors. (IEP-1168) HOT 5
- install error (IEP-1169) HOT 5
- Eclipse Plugin: Add ability to select ESP-Tools location (IEP-1173) HOT 2
- Add the Reset & Restart functionality (IEP-1177) HOT 7
- Abort build process in presence of errors (IEP-1180) HOT 1
- Latest version brings more unresolved warnings (IEP-1181) HOT 24
- Espressif-IDE-2.12.1-linux.gtk.x86_64 seems Scanner is broken (IEP-1182) HOT 1
- macOS 14.4 Sonoma (IEP-1185) HOT 1
- IDE installation error (IEP-1188) HOT 3
- Not able to see data in teraterm (IEP-1191)
- Unresolved inclusion. unless it was included in "app_main.c". (IEP-1206)
- Drop python in favor of out-of-the-box available java (IEP-1235) HOT 1
- Move 'ESP-IDF: ****' context menu items into 'ESP-IDF' SUBMENU instead of putting them on top level (IEP-1236) HOT 4
- Remove internet shortcut icon out of the status bar (IEP-1237) HOT 1
- com.espressif.idf.core.idfNature resource key must have matching localized string value (IEP-1238)
- Invalid (tools and dist) installation path: '${USER_HOME}/.espressif/...' instead of user-provided directory (IEP-1239) HOT 2
- Invalid 'Espressif IDF Project' project configuration (IEP-1240) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from idf-eclipse-plugin.