Hi,
i wanted to test the new IDE, but it is not starting. The IDE only shows the pulsing Start-Logo.
He is a log from Terminal when starting.
Log.txt (10,3 KB)
Hi,
i wanted to test the new IDE, but it is not starting. The IDE only shows the pulsing Start-Logo.
He is a log from Terminal when starting.
Log.txt (10,3 KB)
Hello @volkerw ,
I have removed the link from your post as it looks suspicious. If you are genuinely trying to post information for your question then please post it here, not on an external site. Please read the forum instructions: How to get the best out of this forum before doing anything else, particularly the bit about posting code and other information in code tags (explained in the instructions).
Thank you.
Hi @volkerw. Thanks for giving the Arduino IDE 2.0.0 release candidate a try, and for your report.
This looks like the interesting part of the logs:
daemon INFO {"level":"info","msg":"Using config file: /home/volker/.arduinoIDE/arduino-cli.yaml","time":"2022-08-16T15:23:41+02:00"}
{"level":"info","msg":"arduino-cli version 0.26.0-rc.1","time":"2022-08-16T15:23:41+02:00"}
{"level":"info","msg":"Executing `arduino-cli daemon`","time":"2022-08-16T15:23:41+02:00"}
{"IP":"127.0.0.1","Port":"46199"}
daemon INFO Daemon is running.
root ERROR Uncaught Exception:
root ERROR Error: 14 UNAVAILABLE: No connection established
at Object.callErrorFromStatus (/tmp/.mount_arduinZaLWUv/resources/app/node_modules/@grpc/grpc-js/build/src/call.js:31:26)
at Object.onReceiveStatus (/tmp/.mount_arduinZaLWUv/resources/app/node_modules/@grpc/grpc-js/build/src/client.js:189:52)
at Object.onReceiveStatus (/tmp/.mount_arduinZaLWUv/resources/app/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:365:141)
at Object.onReceiveStatus (/tmp/.mount_arduinZaLWUv/resources/app/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:328:181)
at /tmp/.mount_arduinZaLWUv/resources/app/node_modules/@grpc/grpc-js/build/src/call-stream.js:187:78
at processTicksAndRejections (node:internal/process/task_queues:78:11)
Arduino CLI handles all the non-GUI tasks for Arduino IDE 2.x. They communicate with each other via a gRPC interface over a TCP/IP link.
I see that the Arduino CLI daemon was able to start and connect to the link in some level, but then it seems that the connection between Arduino CLI and Arduino IDE failed.
Does the same problem occur every time you try to start the IDE, or did it only happen once?
Is there anything special about the network on your computer? Some special security restrictions or something like that?
Hi ptillisch,
this behavior is on every boot, the IDE has never started.
On my network is standard security, nothing special.
Hi,
using nightly build from 2022-08-27 still not starting on Ubuntu 22.04.
Still the same message after starting the arduino-cli daemon.
Is there anything I can debug?
Hi,
no possibility for debugging?
Hi @volkerw. I apologize for my lack of response. I have trouble keeping up with all the support requests, especially during this period of increased activity leading up to and following the Arduino IDE 2.0.0 release.
Please do this:
export GRPC_VERBOSITY=DEBUG
export GRPC_TRACE=all
./
./arduino-ideor
./arduino-ide_2.0.0_Linux_64bit.AppImage`)..txt
file extension..txt
file that contains the output.Alternatively, instead of using the "Upload" icon on the post composer toolbar as described in steps (5) - (7) above, you can simply drag and drop the .txt
file onto the post composer field to attach it.
Please let me know if you have any questions or problems while following those instructions.
Hi,
thank you for your reply, please find attached the requested file.
debug.txt (18,6 KB)
Hi ptillisch,
I sorted it out from the debugging, it was a false/modified localhost-address in my hostsfile.
Thanks for your help.
Excellent work on finding the solution! I'm very glad that extra debug output was valuable. I actually only learned of this capability of the @grpc/grpc-js
package this week. I knew there was some forum thread it was applicable, but somehow didn't manage to find it by searching the forum.
This package is used by Arduino IDE 2.x to communicate via a gRPC interface with the Arduino CLI tool that provides all the non-GUI functionality for the IDE. This communication is done via the TCP port. So you can see why the IDE is non-functional when that communication channel can not be established.
This is a challenge unique to Arduino IDE 2.x. Arduino IDE 1.x also has a tool that provides much of the non-GUI functionality (which is actually a modified version of Arduino CLI at this point), but it only uses a simple command line interface for the communication. That type of interface is less capable, but also more simple
I'm having the exact same problem after updating from Ubuntu 20.04 to Kubuntu 22.04. I'm glad everyone's managed to sort it out for themselves but is there any chance of some step by step instructions on how to fix the problem for a relative linux newbie like me? Also, is this issue that prevents the program running after install going to be fixed at an official level?
Hi @cnccoda. I'm going to ask you to post some additional information that might help us to identify the problem.
Since it is the most likely, I made the assumption you are using the AppImage package of Arduino IDE 2.0.2. If you are using something else, the instructions might not be completely applicable (though you could probably extrapolate the correct ones from it). If so, I would be happy to provide the appropriate instruction if you tell me what Arduino IDE version or package you are using.
Please do this:
./arduino-ide_2.0.2_Linux_64bit.AppImage
</>
icon on the post composer toolbar.```
) to your reply to make sure the error messages are correctly formatted.Please let me know if you have any questions or problems while following those instructions.
If it is caused by a bug in Arduino IDE, yes. Please note that this symptom of Arduino IDE not starting might be caused by any number of things, so it is not as though there is only a single bug that must be fixed. We already know of several bugs that can cause this. Some have already been fixed. It might be there are additional bugs that are not yet known. So we must do an investigation in order to determine what is the cause.
A post was split to a new topic: "java.lang.UnsatisfiedLinkError" error when starting Arduino IDE
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.