You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running inside a Flatpak, it seems that avrgirl-arduino version 4.2.3 runs into problems stemming from the node-serialport library not finding available ports when flashing an Arduino.
The node-serialport library can't list ports because it relies on the command-line tool udevadm, which is not available within a Flatpak.
This is further described in issue serialport/node-serialport#2306.
I'm currently working on packaging the Chrysalis application and the following stacktrace shows an error when flashing an upgrade to an attached Arduino device.
This appears to stem from the _sniff_ports function calling filter on an empty list of ports from node-serialport.
Flashing works as expected when Chrysalis runs outside the Flatpak.
Expected behaviour
I expect the avrgirl-arduino library to flash the firmware to the Arduino whether it's running inside a Flatpak or not.
Actual behaviour
There's an unexpected error inside a promise coming from the avrgirl-arduino's flash function.
Operating system and version
Fedora Silverblue 34
The exact information about how the system is compiled can be found in the Flatpak manifest in my Chrysalis fork here.
Linux and Unix based systems
Linux precision 5.13.8-200.fc34.x86_64 #1 SMP Wed Aug 4 19:59:54 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Avrgirl Arduino version
4.2.3
NodeJS version
v14.17.5
Arduino Board being used
ATmega32U4
Log output, if available
See stacktrace provided above.
Step by step guide to reproducing the issue
todo
The text was updated successfully, but these errors were encountered:
Flatpak Issue
Description
When running inside a Flatpak, it seems that avrgirl-arduino version 4.2.3 runs into problems stemming from the node-serialport library not finding available ports when flashing an Arduino.
The node-serialport library can't list ports because it relies on the command-line tool
udevadm
, which is not available within a Flatpak.This is further described in issue serialport/node-serialport#2306.
I'm currently working on packaging the Chrysalis application and the following stacktrace shows an error when flashing an upgrade to an attached Arduino device.
This appears to stem from the
_sniff_ports
function callingfilter
on an empty list of ports from node-serialport.Flashing works as expected when Chrysalis runs outside the Flatpak.
Expected behaviour
I expect the
avrgirl-arduino
library to flash the firmware to the Arduino whether it's running inside a Flatpak or not.Actual behaviour
There's an unexpected error inside a promise coming from the
avrgirl-arduino
'sflash
function.Operating system and version
Fedora Silverblue 34
The exact information about how the system is compiled can be found in the Flatpak manifest in my Chrysalis fork here.
Linux and Unix based systems
Linux precision 5.13.8-200.fc34.x86_64 #1 SMP Wed Aug 4 19:59:54 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Avrgirl Arduino version
4.2.3
NodeJS version
v14.17.5
Arduino Board being used
ATmega32U4
Log output, if available
See stacktrace provided above.
Step by step guide to reproducing the issue
todo
The text was updated successfully, but these errors were encountered: