I am using Ubuntu 22.04 and have the same setup on both a VM (Mac) and a dedicated laptop. On both machines, VS Code w/ the “Toradex Torizon Support” plugin (v. 1.5.1), I get the error:
“The terminal process “/home/mwilk/.vscode/extensions/toradex.torizon-1.5.1/moses-linux/moses ‘–port’, ‘5000’” terminated with exit code: 255.”
I tried running moses directly from the command line in its .vscode extensions folder:
./moses -port 5000
Traceback (most recent call last):
File “moses.py”, line 15, in
File “PyInstaller/loader/pyimod03_importers.py”, line 531, in exec_module
File “api.py”, line 5, in
File “PyInstaller/loader/pyimod03_importers.py”, line 531, in exec_module
File “docker/init.py”, line 2, in
File “PyInstaller/loader/pyimod03_importers.py”, line 531, in exec_module
File “docker/api/init.py”, line 2, in
File “PyInstaller/loader/pyimod03_importers.py”, line 531, in exec_module
File “docker/api/client.py”, line 10, in
File “PyInstaller/loader/pyimod03_importers.py”, line 531, in exec_module
File “docker/auth.py”, line 9, in
File “PyInstaller/loader/pyimod03_importers.py”, line 531, in exec_module
File “docker/utils/init.py”, line 3, in
File “PyInstaller/loader/pyimod03_importers.py”, line 531, in exec_module
File “docker/utils/decorators.py”, line 4, in
File “PyInstaller/loader/pyimod03_importers.py”, line 531, in exec_module
File “docker/utils/utils.py”, line 13, in
File “PyInstaller/loader/pyimod03_importers.py”, line 531, in exec_module
File “docker/tls.py”, line 2, in
File “PyInstaller/loader/pyimod03_importers.py”, line 531, in exec_module
File “ssl.py”, line 99, in
ImportError: libssl.so.1.1: cannot open shared object file: No such file or directory
[6982] Failed to execute script moses
To me it looks like PyInstaller didn’t package a dependency (OpenSSL?). I can’t seem to find the right package to install. The point is, the plugin doesn’t work and doesn’t really help to resolve the problem. Is Ubuntu 22.04 not supported?