Cannot run App Lab 0.3.2 for Linux

Hello.

When I run App Lab for Linux, an error occurs.

I am using Ubuntu 24.04 which I installed 4 days ago.

Here’s my terminal lines.


kungmo@kungmo-ubuntu:~/다운로드/arduino-cli_1.4.0_Linux_64bit$ ./arduino-cli board list
포트 Protocol 타입 Board Name FQBN Core
/dev/ttyACM0 serial Serial Port (USB) Arduino UNO Q arduino:zephyr:unoq arduino:zephyr

kungmo@kungmo-ubuntu:~/다운로드/arduino-cli_1.4.0_Linux_64bit$ cd ~/다운로드/ArduinoAppLab_0.3.2_Linux_x86-64/

kungmo@kungmo-ubuntu:~/다운로드/ArduinoAppLab_0.3.2_Linux_x86-64$ ls
arduino-app-lab

kungmo@kungmo-ubuntu:~/다운로드/ArduinoAppLab_0.3.2_Linux_x86-64$ ./arduino-app-lab
Overriding existing handler for signal 10. Set JSC_SIGNAL_FOR_GC if you want WebKit to use a different signal

kungmo@kungmo-ubuntu:~/다운로드/ArduinoAppLab_0.3.2_Linux_x86-64$


What is wrong with my Ubuntu Linux? My Uno Q connets well for both Windows 11 and MacOS 13.

Thank you.

Step 1 is to get rid of the special characters in the path.

There are no special characters in the path. 다운로드 means downloads in English. It is default configuration for Ubuntu.

That may well be and I appreciate these may not be "special characters" to you, but having any unusual (i.e. non-ASCII/non-Latin) characters in the path is known to be problematic. Please move the files to a path that contains only western alphanumeric (Latin) characters.

As regards your screenshot, I have seen that when trying to connect using the network, but not seen it when connecting via USB yet. When it happened, I have usually had to re-boot the UNO Q and close AppLab and then try again.

Hi @kungmo. In order for Arduino App Lab to connect to the board, your Linux user account must have write permission for that device.

Standard user accounts don't have this permission by default. This problem can occur when you attempt to connect to the board without the necessary permissions. So it is necessary to configure your system to allow the connection. This is done by creating a special file. Arduino provides a script that will create the file for you.

I'll provide instructions you can follow to run that script:

  1. Open the following URL in your web browser:
    https://github.com/arduino/ArduinoCore-zephyr/blob/main/post_install.sh
  2. Click the downward pointing arrow icon ("Download raw file") at the right side of the toolbar:
  3. Wait for the download to finish.
  4. Open a command line terminal in the folder that contains the downloaded file.
  5. Type the following command in the terminal window:1
    chmod +x post_install.sh && sudo ./post_install.sh
    
  6. Press the Enter key.
  7. If prompted for it, enter your Linux account password and press the Enter key.

The command should complete successfully. Now try connecting Arduino App Lab to the UNO Q again, just as you did before. Hopefully everything will work as expected this time.



1. "Fix udev rules on Linux". Arduino Help Center.

Thanks @ptillisch . I just ran that on mine because although I had the Arduino UNO Q operating mode rule added, I didn't have the Qualcomm modem EDL mode one. Is there a separate PID for the 4GB board?

I don't have the answer to that question at hand (I don't have a board yet and am not involved in the development work). I asked my colleagues and post an update here when I learn anything.

I have received the confirmation that the 4 GB variant has the same 2341:0078 USB VID/PID pair as the 2GB variant.

Wow! It works! Thank you very much.

Due to your help, I can complie and run the examples.

I hope the script file you made be included for the next version of App Lab.

Thank you for your reply.

After running @ptillisch ‘s solution, I don’t need to change the location App Lab file. UTF-8 characters seems to not matter.

You are welcome. I'm glad it is working now.

Regards, Per

다 - da
운 - un (une)
로 - lo (low)
드 - du (d')
"da-un lo-du" = download