drowe67 / freedv-gui

GUI Application for FreeDV – open source digital voice for HF radio
https://freedv.org/
GNU Lesser General Public License v2.1
211 stars 52 forks source link

[Feature Request] freedv_2_0_0_devel chrashes when RADE is selected #749

Closed vwpolo16 closed 3 weeks ago

vwpolo16 commented 1 month ago

Contact Details

No response

Feature for this project

Hello Freedv team, I compiled the development version 2.0.0 with Mint 19.3 successfully. I had to install python3_numpy manually, otherwise it failed.

When I run freedv and then select RADE and press "Start" it closes freedv gui and I get the following error message

manfred@Cubi-5:~/freedv_2_0_0_devel/freedv-gui$ ./build_linux/src/freedv Using RADE API version 1

(freedv:21760): Gtk-WARNING **: 11:24:42.292: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node border, owner GtkFrame)

(freedv:21760): Gtk-WARNING **: 11:24:42.292: Negative content width -25 (allocation 1, extents 13x13) while allocating gadget (node button, owner GtkButton)

(freedv:21760): Gtk-WARNING **: 11:24:42.363: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node border, owner GtkFrame)

(freedv:21760): Gtk-WARNING **: 11:24:42.364: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node trough, owner GtkProgressBar)

(freedv:21760): Gtk-WARNING **: 11:24:42.364: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node border, owner GtkFrame)

(freedv:21760): Gtk-WARNING **: 11:24:42.365: Negative content width -25 (allocation 1, extents 13x13) while allocating gadget (node button, owner GtkButton)

(freedv:21760): Gtk-WARNING **: 11:24:42.365: Negative content width -25 (allocation 1, extents 13x13) while allocating gadget (node button, owner GtkButton)

(freedv:21760): Gtk-WARNING **: 11:24:42.365: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node border, owner GtkFrame)

(freedv:21760): Gtk-WARNING **: 11:24:42.365: Negative content width -25 (allocation 1, extents 13x13) while allocating gadget (node button, owner GtkToggleButton)

(freedv:21760): Gtk-WARNING **: 11:24:42.365: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node border, owner GtkFrame)

(freedv:21760): Gtk-WARNING **: 11:24:42.367: Negative content width -25 (allocation 1, extents 13x13) while allocating gadget (node button, owner GtkButton)

(freedv:21760): Gtk-WARNING **: 11:24:42.368: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node border, owner GtkFrame) [2024-10-19 11:24:42] [connect] Successful connection [2024-10-19 11:24:42] [connect] WebSocket Connection 208.85.243.198:80 v-2 "WebSocket++/0.8.2" /socket.io/?EIO=4&transport=websocket&t=1729329882 101

(freedv:21760): Gtk-WARNING **: 11:24:49.639: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node border, owner GtkFrame) model file: TBD import_array returned: 0 ModuleNotFoundError: No module named 'radae_txe' Error: importing radae_txe

VHF/UHF

None

Deprecated features

None

Non-standard compiler

None

Non-standard compiler

None

Implementation assistance

.

Support assistance

.

tmiw commented 1 month ago

This template actually isn't the right one when reporting that something isn't working. I'll see if I can add an additional template to cover those cases.

Anyway, try the following from build_linux:

$ PYTHONPATH=`pwd`/rade_src src/freedv

Note that you'll also need torch, torchaudio and matplotlib Python packages installed. These can be installed using pip or via your distro's packages if any exist.

vwpolo16 commented 1 month ago

It is still closing the freedv gui. I installed torch, torchaudio and matplotlib.

see result from pip list lxml (4.2.1) Mako (1.0.7) MarkupSafe (1.0) matplotlib (2.2.5) numpy (1.16.6) pip (9.0.1) pycairo (1.16.2) pycrypto (2.6.1) Pygments (2.2.0) pygobject (3.26.1) PyOpenGL (3.1.0) pyparsing (2.4.7) python-apt (1.6.5+ubuntu0.5) python-dateutil (2.9.0.post0) python-xlib (0.20) pytz (2024.2) pyxdg (0.25) pyzmq (16.0.2) requests (2.18.4) roman (2.0.0) scipy (0.19.1) SecretStorage (2.3.1) setproctitle (1.1.10) setuptools (44.1.1) six (1.16.0) Sphinx (1.6.7) subprocess32 (3.5.4) torch (1.4.0) torchaudio (0.4.0) typing (3.6.2) urllib3 (1.22) vboxapi (1.0) wheel (0.30.0) wxPython (3.0.2.0) wxPython-common (3.0.2.0)

and this is the new error message: manfred@Cubi-5:~/freedv_2_0_0_devel/freedv-gui/build_linux$ PYTHONPATH=pwd/rade_src src/freedv Using RADE API version 1

(freedv:5320): Gtk-WARNING **: 13:16:40.528: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node border, owner GtkFrame)

(freedv:5320): Gtk-WARNING **: 13:16:40.528: Negative content width -25 (allocation 1, extents 13x13) while allocating gadget (node button, owner GtkButton)

(freedv:5320): Gtk-WARNING **: 13:16:40.576: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node border, owner GtkFrame)

(freedv:5320): Gtk-WARNING **: 13:16:40.577: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node trough, owner GtkProgressBar)

(freedv:5320): Gtk-WARNING **: 13:16:40.577: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node border, owner GtkFrame)

(freedv:5320): Gtk-WARNING **: 13:16:40.577: Negative content width -25 (allocation 1, extents 13x13) while allocating gadget (node button, owner GtkButton)

(freedv:5320): Gtk-WARNING **: 13:16:40.577: Negative content width -25 (allocation 1, extents 13x13) while allocating gadget (node button, owner GtkButton)

(freedv:5320): Gtk-WARNING **: 13:16:40.577: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node border, owner GtkFrame)

(freedv:5320): Gtk-WARNING **: 13:16:40.578: Negative content width -25 (allocation 1, extents 13x13) while allocating gadget (node button, owner GtkToggleButton)

(freedv:5320): Gtk-WARNING **: 13:16:40.578: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node border, owner GtkFrame)

(freedv:5320): Gtk-WARNING **: 13:16:40.579: Negative content width -25 (allocation 1, extents 13x13) while allocating gadget (node button, owner GtkButton)

(freedv:5320): Gtk-WARNING **: 13:16:40.579: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node border, owner GtkFrame) [2024-10-20 13:16:40] [connect] Successful connection [2024-10-20 13:16:40] [connect] WebSocket Connection 208.85.243.198:80 v-2 "WebSocket++/0.8.2" /socket.io/?EIO=4&transport=websocket&t=1729423000 101

(freedv:5320): Gtk-WARNING **: 13:16:50.765: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node border, owner GtkFrame) model file: TBD import_array returned: 0 Traceback (most recent call last): File "/home/manfred/freedv_2_0_0_devel/freedv-gui/build_linux/rade_src/radae_txe.py", line 37, in import torch ModuleNotFoundError: No module named 'torch' Error: importing radae_txe manfred@Cubi-5:~/freedv_2_0_0_devel/freedv-gui/build_linux$

Tyrbiter commented 1 month ago

From the build_linux directory:

$ ln -s pwd/rade_src/model19_check3 model19_check3

See if that helps.

tmiw commented 1 month ago

(freedv:5320): Gtk-WARNING **: 13:16:50.765: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node border, owner GtkFrame) model file: TBD import_array returned: 0 Traceback (most recent call last): File "/home/manfred/freedv_2_0_0_devel/freedv-gui/build_linux/rade_src/radae_txe.py", line 37, in import torch ModuleNotFoundError: No module named 'torch' Error: importing radae_txe manfred@Cubi-5:~/freedv_2_0_0_devel/freedv-gui/build_linux$

How were the torch, torchaudio, etc. packages installed? Via pip or some other method?

barjac commented 1 month ago

Adding to this as I am seeing the same issue after selecting RADE and hitting 'Start'.

[baz@jackodesktop src]$ pip install matplotlib torch torchaudio
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: matplotlib in /usr/lib64/python3.12/site-packages (3.9.1.post0)
Requirement already satisfied: torch in /usr/local/lib64/python3.12/site-packages (2.4.1+cpu)
Requirement already satisfied: torchaudio in /usr/local/lib64/python3.12/site-packages (2.4.1+cpu)
--snip--
Those were already installed prior to the build:
matplotlib from our system package and torch* from pip (as root):

[baz@jackodesktop ~]$ ll /usr/lib64/python3.12/site-packages|grep -E "(torch|matplot)"
drwxr-xr-x 12 root root   12288 Oct  9 23:22 matplotlib/
drwxr-xr-x  2 root root    4096 Oct  9 23:22 matplotlib-3.9.1.post0.dist-info/
[baz@jackodesktop ~]$ ll /usr/local/lib64/python3.12/site-packages|grep -E "(torch|matplot)"
drwxr-xr-x  8 root root 4096 Oct 10 20:07 functorch/
drwxr-xr-x 63 root root 4096 Oct 10 20:07 torch/
drwxr-xr-x  2 root root 4096 Oct 10 20:07 torch-2.4.1+cpu.dist-info/
drwxr-xr-x 18 root root 4096 Oct 10 20:07 torchaudio/
drwxr-xr-x  2 root root 4096 Oct 10 20:07 torchaudio-2.4.1+cpu.dist-info/
drwxr-xr-x 11 root root 4096 Oct 10 20:07 torchgen/
drwxr-xr-x  9 root root 4096 Oct 10 20:07 torchvision/
drwxr-xr-x  2 root root 4096 Oct 10 20:07 torchvision-0.19.1+cpu.dist-info/
drwxr-xr-x  2 root root 4096 Oct 10 20:07 torchvision.libs/

[baz@jackodesktop src]$ export PYTHONPATH="/usr/lib64/python3.12/site-packages:/usr/local/lib64/python3.12/site-packages:$PYTHONPATH";./freedv
Using RADE API version 1

(freedv:79894): Gtk-WARNING **: 12:42:16.047: Negative content width -1 (allocation 13, extents 7x7) while allocating gadget (node button, owner GtkToggleButton)
[2024-10-21 12:42:16] [connect] Successful connection
[2024-10-21 12:42:16] [connect] WebSocket Connection 208.85.243.198:80 v-2 "WebSocket++/0.8.2" /socket.io/?EIO=4&transport=websocket&t=1729510936 101
model file: TBD
import_array returned: 0
ModuleNotFoundError: No module named 'radae_txe'
Error: importing radae_txe
[baz@jackodesktop src]$

Running as above but under strace the tail is here:

newfstatat(AT_FDCWD, "/usr/lib64/python3.12/site-packages", {st_mode=S_IFDIR|0755, st_size=4096, ...}, 0) = 0
newfstatat(AT_FDCWD, "/usr/local/lib64/python3.12/site-packages", {st_mode=S_IFDIR|0755, st_size=4096, ...}, 0) = 0
newfstatat(AT_FDCWD, "/usr/local/lib/python3.12/site-packages", {st_mode=S_IFDIR|0755, st_size=4096, ...}, 0) = 0
newfstatat(AT_FDCWD, "/usr/lib64/python3.12", {st_mode=S_IFDIR|0755, st_size=12288, ...}, 0) = 0
newfstatat(AT_FDCWD, "/usr/lib64/python3.12/lib-dynload", {st_mode=S_IFDIR|0755, st_size=12288, ...}, 0) = 0
newfstatat(AT_FDCWD, "/home/baz/.local/lib/python3.12/site-packages", {st_mode=S_IFDIR|0755, st_size=4096, ...}, 0) = 0
newfstatat(AT_FDCWD, "/usr/lib/python3.12/site-packages", {st_mode=S_IFDIR|0755, st_size=4096, ...}, 0) = 0
write(2, "ModuleNotFoundError: No module n"..., 49ModuleNotFoundError: No module named 'radae_txe'
) = 49
write(2, "Error: importing radae_txe\n", 27Error: importing radae_txe
) = 27
munmap(0x7f47086dd000, 16384)           = 0
exit_group(1)                           = ?
+++ exited with 1 +++
Tyrbiter commented 1 month ago

From the build_linux directory:

$ ln -s 'pwd'/rade_src/model19_check3 model19_check3

tmiw commented 1 month ago

Can everyone here check out the instructions at https://github.com/drowe67/freedv-gui/pull/758/files and let me know if that gets things up and running?

ekk11 commented 1 month ago

I did not succeed with the instructions on https://github.com/drowe67/freedv-gui/pull/758/files for Xubuntu 24.04 (noble).

tmiw commented 1 month ago

I did not succeed with the instructions on https://github.com/drowe67/freedv-gui/pull/758/files for Xubuntu 24.04 (noble).

Can you paste what you're getting error-wise?

vwpolo16 commented 1 month ago

I installed torch, torchaudio and matplotlib with pip. I opened a terminal: pip install torch pip install torchaudio pip install matplotlib

and I checked it with: pip list

tmiw commented 1 month ago

I updated the PR based on feedback from @barjac so I'd try to follow those instructions again. If that still doesn't work, please paste console output in here and/or any changes you had to do to make the instructions work.

vwpolo16 commented 1 month ago

I tried to install it according 758 but it was not working for me:

Additionally I lost in freedv_1_9_9_1 the 2020 and 2020B mode. After installing the version freedv_2.0.0 they are gray and cannot be activated.

manfred@Cubi-5:~$ cd freedv_2_0_0_devel/ manfred@Cubi-5:~/freedv_2_0_0_devel$ cd freedv-gui/ manfred@Cubi-5:~/freedv_2_0_0_devel/freedv-gui$ python3 -m venv rade-venv The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to install the python3-venv package using the following command.

apt-get install python3-venv

You may need to use sudo with that command. After installing the python3-venv package, recreate your virtual environment.

Failing command: ['/home/manfred/freedv_2_0_0_devel/freedv-gui/rade-venv/bin/python3', '-Im', 'ensurepip', '--upgrade', '--default-pip']

manfred@Cubi-5:~/freedv_2_0_0_devel/freedv-gui$ apt-get install python3-venv E: Sperrdatei /var/lib/dpkg/lock-frontend konnte nicht geöffnet werden. - open (13: Keine Berechtigung) E: Konnte die dpkg Oberflächen-Sperre (/var/lib/dpkg/lock-frontend) nicht erlangen, sind Sie root? manfred@Cubi-5:~/freedv_2_0_0_devel/freedv-gui$ sudo apt-get install python3-venv [sudo] Passwort für manfred: Das hat nicht funktioniert, bitte nochmal probieren. [sudo] Passwort für manfred:
Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt: gstreamer1.0-plugins-base:i386 libapparmor1:i386 libasn1-8-heimdal:i386 libasound2:i386 libasyncns0:i386 libatomic1:i386 libavahi-client3:i386 libavahi-common-data:i386 libavahi-common3:i386 libbsd0:i386 libcairo2:i386 libcap2:i386 libcapi20-3:i386 libcdparanoia0:i386 libcom-err2:i386 libcups2:i386 libdbus-1-3:i386 libdrm-amdgpu1:i386 libdrm-intel1:i386 libdrm-nouveau2:i386 libdrm-radeon1:i386 libdrm2:i386 libedit2:i386 libegl-mesa0:i386 libegl1:i386 libelf1:i386 libexif12:i386 libexpat1:i386 libfaudio0:i386 libffi6:i386 libflac8:i386 libfontconfig1:i386 libfreetype6:i386 libgbm1:i386 libgcrypt20:i386 libgd3:i386 libgl1:i386 libgl1-mesa-dri:i386 libgl1-mesa-glx:i386 libglapi-mesa:i386 libglib2.0-0:i386 libglu1-mesa:i386 libglvnd0:i386 libglx-mesa0:i386 libglx0:i386 libgmp10:i386 libgnutls30:i386 libgphoto2-6:i386 libgphoto2-port12:i386 libgpm2:i386 libgsm1:i386 libgssapi-krb5-2:i386 libgssapi3-heimdal:i386 libgstreamer-plugins-base1.0-0:i386 libgstreamer1.0-0:i386 libhcrypto4-heimdal:i386 libheimbase1-heimdal:i386 libheimntlm0-heimdal:i386 libhogweed4:i386 libhx509-5-heimdal:i386 libicu60:i386 libidn2-0:i386 libieee1284-3:i386 libjbig0:i386 libjpeg-turbo8:i386 libjpeg8:i386 libjsoncpp1 libk5crypto3:i386 libkeyutils1:i386 libkrb5-26-heimdal:i386 libkrb5-3:i386 libkrb5support0:i386 liblcms2-2:i386 libldap-2.4-2:i386 libllvm10:i386 libltdl7:i386 libmpg123-0:i386 libncurses5:i386 libnettle6:i386 libodbc1:i386 libogg0:i386 libopenal1:i386 libopus0:i386 liborc-0.4-0:i386 libosmesa6:i386 libp11-kit0:i386 libpcap0.8:i386 libpciaccess0:i386 libpixman-1-0:i386 libpng16-16:i386 libpulse0:i386 librhash0 libroken18-heimdal:i386 libsamplerate0:i386 libsane1:i386 libsasl2-2:i386 libsasl2-modules:i386 libsasl2-modules-db:i386 libsdl2-2.0-0:i386 libsensors4:i386 libsndfile1:i386 libsndio6.1:i386 libspeexdsp1:i386 libsqlite3-0:i386 libssl1.1:i386 libstdc++6:i386 libsystemd0:i386 libtasn1-6:i386 libtheora0:i386 libtiff5:i386 libtinfo5:i386 libudev1:i386 libunistring2:i386 libusb-1.0-0:i386 libuv1 libv4l-0:i386 libv4lconvert0:i386 libvisual-0.4-0:i386 libvncclient1 libvncserver1 libvorbis0a:i386 libvorbisenc2:i386 libwayland-client0:i386 libwayland-cursor0:i386 libwayland-egl1:i386 libwayland-egl1-mesa:i386 libwayland-server0:i386 libwebp6:i386 libwind0-heimdal:i386 libwrap0:i386 libx11-6:i386 libx11-xcb1:i386 libxau6:i386 libxcb-dri2-0:i386 libxcb-dri3-0:i386 libxcb-glx0:i386 libxcb-present0:i386 libxcb-render0:i386 libxcb-shm0:i386 libxcb-sync1:i386 libxcb-xfixes0:i386 libxcb1:i386 libxcomposite1:i386 libxcursor1:i386 libxdamage1:i386 libxdmcp6:i386 libxext6:i386 libxfixes3:i386 libxi6:i386 libxinerama1:i386 libxkbcommon0:i386 libxml2:i386 libxpm4:i386 libxrandr2:i386 libxrender1:i386 libxshmfence1:i386 libxslt1.1:i386 libxss1:i386 libxxf86vm1:i386 ocl-icd-libopencl1:i386 x11vnc-data xbase-clients Verwenden Sie »sudo apt autoremove«, um sie zu entfernen. Die folgenden zusätzlichen Pakete werden installiert: libpython3.6 libpython3.6-dev libpython3.6-minimal libpython3.6-stdlib python3.6 python3.6-dev python3.6-minimal python3.6-venv Vorgeschlagene Pakete: python3.6-doc binfmt-support Die folgenden NEUEN Pakete werden installiert: python3-venv python3.6-venv Die folgenden Pakete werden aktualisiert (Upgrade): libpython3.6 libpython3.6-dev libpython3.6-minimal libpython3.6-stdlib python3.6 python3.6-dev python3.6-minimal 7 aktualisiert, 2 neu installiert, 0 zu entfernen und 549 nicht aktualisiert. Es müssen 50,9 MB an Archiven heruntergeladen werden. Nach dieser Operation werden 50,2 kB Plattenplatz zusätzlich benutzt. Möchten Sie fortfahren? [J/n] J Holen:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 python3.6-dev amd64 3.6.9-1~18.04ubuntu1.12 [511 kB] Holen:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libpython3.6-dev amd64 3.6.9-1~18.04ubuntu1.12 [44,9 MB] Holen:3 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libpython3.6 amd64 3.6.9-1~18.04ubuntu1.12 [1.414 kB] Holen:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libpython3.6-minimal amd64 3.6.9-1~18.04ubuntu1.12 [533 kB] Holen:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libpython3.6-stdlib amd64 3.6.9-1~18.04ubuntu1.12 [1.713 kB] Holen:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 python3.6-minimal amd64 3.6.9-1~18.04ubuntu1.12 [1.609 kB] Holen:7 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 python3.6 amd64 3.6.9-1~18.04ubuntu1.12 [203 kB] Holen:8 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 python3.6-venv amd64 3.6.9-1~18.04ubuntu1.12 [6.184 B] Holen:9 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 python3-venv amd64 3.6.7-1~18.04 [1.208 B] Es wurden 50,9 MB in 14 s geholt (3.573 kB/s).
(Lese Datenbank ... 352610 Dateien und Verzeichnisse sind derzeit installiert.) Vorbereitung zum Entpacken von .../python3.6-dev_3.6.9-1~18.04ubuntu1.12_amd64.deb ... Entpacken von python3.6-dev (3.6.9-1~18.04ubuntu1.12) über (3.6.9-1~18.04ubuntu1.4) ... Vorbereitung zum Entpacken von .../libpython3.6-dev_3.6.9-1~18.04ubuntu1.12_amd64.deb ... Entpacken von libpython3.6-dev:amd64 (3.6.9-1~18.04ubuntu1.12) über (3.6.9-1~18.04ubuntu1.4) ... Vorbereitung zum Entpacken von .../libpython3.6_3.6.9-1~18.04ubuntu1.12_amd64.deb ... Entpacken von libpython3.6:amd64 (3.6.9-1~18.04ubuntu1.12) über (3.6.9-1~18.04ubuntu1.4) ... Vorbereitung zum Entpacken von .../libpython3.6-minimal_3.6.9-1~18.04ubuntu1.12_amd64.deb ... Entpacken von libpython3.6-minimal:amd64 (3.6.9-1~18.04ubuntu1.12) über (3.6.9-1~18.04ubuntu1.4) ... libpython3.6-minimal:amd64 (3.6.9-1~18.04ubuntu1.12) wird eingerichtet ... (Lese Datenbank ... 352610 Dateien und Verzeichnisse sind derzeit installiert.) Vorbereitung zum Entpacken von .../libpython3.6-stdlib_3.6.9-1~18.04ubuntu1.12_amd64.deb ... Entpacken von libpython3.6-stdlib:amd64 (3.6.9-1~18.04ubuntu1.12) über (3.6.9-1~18.04ubuntu1.4) ... libpython3.6-stdlib:amd64 (3.6.9-1~18.04ubuntu1.12) wird eingerichtet ... (Lese Datenbank ... 352610 Dateien und Verzeichnisse sind derzeit installiert.) Vorbereitung zum Entpacken von .../python3.6-minimal_3.6.9-1~18.04ubuntu1.12_amd64.deb ... Entpacken von python3.6-minimal (3.6.9-1~18.04ubuntu1.12) über (3.6.9-1~18.04ubuntu1.4) ... python3.6-minimal (3.6.9-1~18.04ubuntu1.12) wird eingerichtet ... (Lese Datenbank ... 352610 Dateien und Verzeichnisse sind derzeit installiert.) Vorbereitung zum Entpacken von .../python3.6_3.6.9-1~18.04ubuntu1.12_amd64.deb ... Entpacken von python3.6 (3.6.9-1~18.04ubuntu1.12) über (3.6.9-1~18.04ubuntu1.4) ... python3.6 (3.6.9-1~18.04ubuntu1.12) wird eingerichtet ... Vormals nicht ausgewähltes Paket python3.6-venv wird gewählt. (Lese Datenbank ... 352610 Dateien und Verzeichnisse sind derzeit installiert.) Vorbereitung zum Entpacken von .../python3.6-venv_3.6.9-1~18.04ubuntu1.12_amd64.deb ... Entpacken von python3.6-venv (3.6.9-1~18.04ubuntu1.12) ... Vormals nicht ausgewähltes Paket python3-venv wird gewählt. Vorbereitung zum Entpacken von .../python3-venv_3.6.7-1~18.04_amd64.deb ... Entpacken von python3-venv (3.6.7-1~18.04) ... python3.6-venv (3.6.9-1~18.04ubuntu1.12) wird eingerichtet ... libpython3.6:amd64 (3.6.9-1~18.04ubuntu1.12) wird eingerichtet ... python3-venv (3.6.7-1~18.04) wird eingerichtet ... libpython3.6-dev:amd64 (3.6.9-1~18.04ubuntu1.12) wird eingerichtet ... python3.6-dev (3.6.9-1~18.04ubuntu1.12) wird eingerichtet ... Trigger für desktop-file-utils (0.23+linuxmint8) werden verarbeitet ... Trigger für libc-bin (2.27-3ubuntu1.4) werden verarbeitet ... Trigger für man-db (2.8.3-2ubuntu0.1) werden verarbeitet ... Trigger für gnome-menus (3.13.3-11ubuntu1.1) werden verarbeitet ... Trigger für mime-support (3.60ubuntu1) werden verarbeitet ... manfred@Cubi-5:~/freedv_2_0_0_devel/freedv-gui$ apt-get install python3-venv E: Sperrdatei /var/lib/dpkg/lock-frontend konnte nicht geöffnet werden. - open (13: Keine Berechtigung) E: Konnte die dpkg Oberflächen-Sperre (/var/lib/dpkg/lock-frontend) nicht erlangen, sind Sie root? manfred@Cubi-5:~/freedv_2_0_0_devel/freedv-gui$ python3 -m venv rade-venv manfred@Cubi-5:~/freedv_2_0_0_devel/freedv-gui$ ./rade-venv/bin/activate bash: ./rade-venv/bin/activate: Keine Berechtigung manfred@Cubi-5:~/freedv_2_0_0_devel/freedv-gui$ sudo ./rade-venv/bin/activate sudo: ./rade-venv/bin/activate: Befehl nicht gefunden manfred@Cubi-5:~/freedv_2_0_0_devel/freedv-gui$

vwpolo16 commented 1 month ago

once again. something went wrong

manfred@Cubi-5:~$ cd freedv_2_0_0_devel/ manfred@Cubi-5:~/freedv_2_0_0_devel$ cd freedv-gui/ manfred@Cubi-5:~/freedv_2_0_0_devel/freedv-gui$ python3 -m venv rade-venv The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to install the python3-venv package using the following command.

apt-get install python3-venv

You may need to use sudo with that command. After installing the python3-venv package, recreate your virtual environment.

Failing command: ['/home/manfred/freedv_2_0_0_devel/freedv-gui/rade-venv/bin/python3', '-Im', 'ensurepip', '--upgrade', '--default-pip']

manfred@Cubi-5:~/freedv_2_0_0_devel/freedv-gui$ apt-get install python3-venv E: Sperrdatei /var/lib/dpkg/lock-frontend konnte nicht geöffnet werden. - open (13: Keine Berechtigung) E: Konnte die dpkg Oberflächen-Sperre (/var/lib/dpkg/lock-frontend) nicht erlangen, sind Sie root? manfred@Cubi-5:~/freedv_2_0_0_devel/freedv-gui$ sudo apt-get install python3-venv [sudo] Passwort für manfred: Das hat nicht funktioniert, bitte nochmal probieren. [sudo] Passwort für manfred:
Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt: gstreamer1.0-plugins-base:i386 libapparmor1:i386 libasn1-8-heimdal:i386 libasound2:i386 libasyncns0:i386 libatomic1:i386 libavahi-client3:i386 libavahi-common-data:i386 libavahi-common3:i386 libbsd0:i386 libcairo2:i386 libcap2:i386 libcapi20-3:i386 libcdparanoia0:i386 libcom-err2:i386 libcups2:i386 libdbus-1-3:i386 libdrm-amdgpu1:i386 libdrm-intel1:i386 libdrm-nouveau2:i386 libdrm-radeon1:i386 libdrm2:i386 libedit2:i386 libegl-mesa0:i386 libegl1:i386 libelf1:i386 libexif12:i386 libexpat1:i386 libfaudio0:i386 libffi6:i386 libflac8:i386 libfontconfig1:i386 libfreetype6:i386 libgbm1:i386 libgcrypt20:i386 libgd3:i386 libgl1:i386 libgl1-mesa-dri:i386 libgl1-mesa-glx:i386 libglapi-mesa:i386 libglib2.0-0:i386 libglu1-mesa:i386 libglvnd0:i386 libglx-mesa0:i386 libglx0:i386 libgmp10:i386 libgnutls30:i386 libgphoto2-6:i386 libgphoto2-port12:i386 libgpm2:i386 libgsm1:i386 libgssapi-krb5-2:i386 libgssapi3-heimdal:i386 libgstreamer-plugins-base1.0-0:i386 libgstreamer1.0-0:i386 libhcrypto4-heimdal:i386 libheimbase1-heimdal:i386 libheimntlm0-heimdal:i386 libhogweed4:i386 libhx509-5-heimdal:i386 libicu60:i386 libidn2-0:i386 libieee1284-3:i386 libjbig0:i386 libjpeg-turbo8:i386 libjpeg8:i386 libjsoncpp1 libk5crypto3:i386 libkeyutils1:i386 libkrb5-26-heimdal:i386 libkrb5-3:i386 libkrb5support0:i386 liblcms2-2:i386 libldap-2.4-2:i386 libllvm10:i386 libltdl7:i386 libmpg123-0:i386 libncurses5:i386 libnettle6:i386 libodbc1:i386 libogg0:i386 libopenal1:i386 libopus0:i386 liborc-0.4-0:i386 libosmesa6:i386 libp11-kit0:i386 libpcap0.8:i386 libpciaccess0:i386 libpixman-1-0:i386 libpng16-16:i386 libpulse0:i386 librhash0 libroken18-heimdal:i386 libsamplerate0:i386 libsane1:i386 libsasl2-2:i386 libsasl2-modules:i386 libsasl2-modules-db:i386 libsdl2-2.0-0:i386 libsensors4:i386 libsndfile1:i386 libsndio6.1:i386 libspeexdsp1:i386 libsqlite3-0:i386 libssl1.1:i386 libstdc++6:i386 libsystemd0:i386 libtasn1-6:i386 libtheora0:i386 libtiff5:i386 libtinfo5:i386 libudev1:i386 libunistring2:i386 libusb-1.0-0:i386 libuv1 libv4l-0:i386 libv4lconvert0:i386 libvisual-0.4-0:i386 libvncclient1 libvncserver1 libvorbis0a:i386 libvorbisenc2:i386 libwayland-client0:i386 libwayland-cursor0:i386 libwayland-egl1:i386 libwayland-egl1-mesa:i386 libwayland-server0:i386 libwebp6:i386 libwind0-heimdal:i386 libwrap0:i386 libx11-6:i386 libx11-xcb1:i386 libxau6:i386 libxcb-dri2-0:i386 libxcb-dri3-0:i386 libxcb-glx0:i386 libxcb-present0:i386 libxcb-render0:i386 libxcb-shm0:i386 libxcb-sync1:i386 libxcb-xfixes0:i386 libxcb1:i386 libxcomposite1:i386 libxcursor1:i386 libxdamage1:i386 libxdmcp6:i386 libxext6:i386 libxfixes3:i386 libxi6:i386 libxinerama1:i386 libxkbcommon0:i386 libxml2:i386 libxpm4:i386 libxrandr2:i386 libxrender1:i386 libxshmfence1:i386 libxslt1.1:i386 libxss1:i386 libxxf86vm1:i386 ocl-icd-libopencl1:i386 x11vnc-data xbase-clients Verwenden Sie »sudo apt autoremove«, um sie zu entfernen. Die folgenden zusätzlichen Pakete werden installiert: libpython3.6 libpython3.6-dev libpython3.6-minimal libpython3.6-stdlib python3.6 python3.6-dev python3.6-minimal python3.6-venv Vorgeschlagene Pakete: python3.6-doc binfmt-support Die folgenden NEUEN Pakete werden installiert: python3-venv python3.6-venv Die folgenden Pakete werden aktualisiert (Upgrade): libpython3.6 libpython3.6-dev libpython3.6-minimal libpython3.6-stdlib python3.6 python3.6-dev python3.6-minimal 7 aktualisiert, 2 neu installiert, 0 zu entfernen und 549 nicht aktualisiert. Es müssen 50,9 MB an Archiven heruntergeladen werden. Nach dieser Operation werden 50,2 kB Plattenplatz zusätzlich benutzt. Möchten Sie fortfahren? [J/n] J Holen:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 python3.6-dev amd64 3.6.9-1~18.04ubuntu1.12 [511 kB] Holen:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libpython3.6-dev amd64 3.6.9-1~18.04ubuntu1.12 [44,9 MB] Holen:3 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libpython3.6 amd64 3.6.9-1~18.04ubuntu1.12 [1.414 kB] Holen:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libpython3.6-minimal amd64 3.6.9-1~18.04ubuntu1.12 [533 kB] Holen:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libpython3.6-stdlib amd64 3.6.9-1~18.04ubuntu1.12 [1.713 kB] Holen:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 python3.6-minimal amd64 3.6.9-1~18.04ubuntu1.12 [1.609 kB] Holen:7 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 python3.6 amd64 3.6.9-1~18.04ubuntu1.12 [203 kB] Holen:8 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 python3.6-venv amd64 3.6.9-1~18.04ubuntu1.12 [6.184 B] Holen:9 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 python3-venv amd64 3.6.7-1~18.04 [1.208 B] Es wurden 50,9 MB in 14 s geholt (3.573 kB/s).
(Lese Datenbank ... 352610 Dateien und Verzeichnisse sind derzeit installiert.) Vorbereitung zum Entpacken von .../python3.6-dev_3.6.9-1~18.04ubuntu1.12_amd64.deb ... Entpacken von python3.6-dev (3.6.9-1~18.04ubuntu1.12) über (3.6.9-1~18.04ubuntu1.4) ... Vorbereitung zum Entpacken von .../libpython3.6-dev_3.6.9-1~18.04ubuntu1.12_amd64.deb ... Entpacken von libpython3.6-dev:amd64 (3.6.9-1~18.04ubuntu1.12) über (3.6.9-1~18.04ubuntu1.4) ... Vorbereitung zum Entpacken von .../libpython3.6_3.6.9-1~18.04ubuntu1.12_amd64.deb ... Entpacken von libpython3.6:amd64 (3.6.9-1~18.04ubuntu1.12) über (3.6.9-1~18.04ubuntu1.4) ... Vorbereitung zum Entpacken von .../libpython3.6-minimal_3.6.9-1~18.04ubuntu1.12_amd64.deb ... Entpacken von libpython3.6-minimal:amd64 (3.6.9-1~18.04ubuntu1.12) über (3.6.9-1~18.04ubuntu1.4) ... libpython3.6-minimal:amd64 (3.6.9-1~18.04ubuntu1.12) wird eingerichtet ... (Lese Datenbank ... 352610 Dateien und Verzeichnisse sind derzeit installiert.) Vorbereitung zum Entpacken von .../libpython3.6-stdlib_3.6.9-1~18.04ubuntu1.12_amd64.deb ... Entpacken von libpython3.6-stdlib:amd64 (3.6.9-1~18.04ubuntu1.12) über (3.6.9-1~18.04ubuntu1.4) ... libpython3.6-stdlib:amd64 (3.6.9-1~18.04ubuntu1.12) wird eingerichtet ... (Lese Datenbank ... 352610 Dateien und Verzeichnisse sind derzeit installiert.) Vorbereitung zum Entpacken von .../python3.6-minimal_3.6.9-1~18.04ubuntu1.12_amd64.deb ... Entpacken von python3.6-minimal (3.6.9-1~18.04ubuntu1.12) über (3.6.9-1~18.04ubuntu1.4) ... python3.6-minimal (3.6.9-1~18.04ubuntu1.12) wird eingerichtet ... (Lese Datenbank ... 352610 Dateien und Verzeichnisse sind derzeit installiert.) Vorbereitung zum Entpacken von .../python3.6_3.6.9-1~18.04ubuntu1.12_amd64.deb ... Entpacken von python3.6 (3.6.9-1~18.04ubuntu1.12) über (3.6.9-1~18.04ubuntu1.4) ... python3.6 (3.6.9-1~18.04ubuntu1.12) wird eingerichtet ... Vormals nicht ausgewähltes Paket python3.6-venv wird gewählt. (Lese Datenbank ... 352610 Dateien und Verzeichnisse sind derzeit installiert.) Vorbereitung zum Entpacken von .../python3.6-venv_3.6.9-1~18.04ubuntu1.12_amd64.deb ... Entpacken von python3.6-venv (3.6.9-1~18.04ubuntu1.12) ... Vormals nicht ausgewähltes Paket python3-venv wird gewählt. Vorbereitung zum Entpacken von .../python3-venv_3.6.7-1~18.04_amd64.deb ... Entpacken von python3-venv (3.6.7-1~18.04) ... python3.6-venv (3.6.9-1~18.04ubuntu1.12) wird eingerichtet ... libpython3.6:amd64 (3.6.9-1~18.04ubuntu1.12) wird eingerichtet ... python3-venv (3.6.7-1~18.04) wird eingerichtet ... libpython3.6-dev:amd64 (3.6.9-1~18.04ubuntu1.12) wird eingerichtet ... python3.6-dev (3.6.9-1~18.04ubuntu1.12) wird eingerichtet ... Trigger für desktop-file-utils (0.23+linuxmint8) werden verarbeitet ... Trigger für libc-bin (2.27-3ubuntu1.4) werden verarbeitet ... Trigger für man-db (2.8.3-2ubuntu0.1) werden verarbeitet ... Trigger für gnome-menus (3.13.3-11ubuntu1.1) werden verarbeitet ... Trigger für mime-support (3.60ubuntu1) werden verarbeitet ... manfred@Cubi-5:~/freedv_2_0_0_devel/freedv-gui$ apt-get install python3-venv E: Sperrdatei /var/lib/dpkg/lock-frontend konnte nicht geöffnet werden. - open (13: Keine Berechtigung) E: Konnte die dpkg Oberflächen-Sperre (/var/lib/dpkg/lock-frontend) nicht erlangen, sind Sie root? manfred@Cubi-5:~/freedv_2_0_0_devel/freedv-gui$ python3 -m venv rade-venv manfred@Cubi-5:~/freedv_2_0_0_devel/freedv-gui$ ./rade-venv/bin/activate bash: ./rade-venv/bin/activate: Keine Berechtigung manfred@Cubi-5:~/freedv_2_0_0_devel/freedv-gui$ sudo ./rade-venv/bin/activate sudo: ./rade-venv/bin/activate: Befehl nicht gefunden manfred@Cubi-5:~/freedv_2_0_0_devel/freedv-gui$

Tyrbiter commented 1 month ago

The 2020 modes have been deactivated in the freedv-2.0.0 releases, they are viewed as obsolete given that RADE is the new mode in development.

vwpolo16 commented 1 month ago

the strange thing is that they are now missing in the version 1.9.9.1 that I have used the last two month

vwpolo16 commented 1 month ago

freedv_1_9_9_1

vwpolo16 commented 1 month ago

see screenshot of 1_9_9_1. No RADE, but 2020 and 2020B missing. my_installation My instalation: many folders with different freedv version and till yesterday all versions where running.

Tyrbiter commented 1 month ago

Oddly the same here with 1.9.10 which is packaged and has lpcnetfreedv packaged and ldd shows it depends on it.

Might be because of something in the .freedv file in the ~/ directory.

tmiw commented 1 month ago

It's possible LPCNet failed to compile for whatever reason. That won't cause ./build_linux.sh to fail but it will cause FreeDV to disable 2020/2020B.

Otherwise, yeah, try renaming ~/.freedv and restarting FreeDV.

(BTW I just pushed additional updates to the PR.)

Tyrbiter commented 1 month ago

My .freedv file has this:

[FreeDV2020] Allowed=0

so I suspect that the the latest version has disabled 2020 modes and the old versions respect this.

vwpolo16 commented 1 month ago

renaming ~/.freedv and restarting FreeDV brings the 2020 modes back

tmiw commented 1 month ago

renaming ~/.freedv and restarting FreeDV brings the 2020 modes back

Yeah, what @Tyrbiter said likely happened, then. I'm not sure that's an issue that should necessarily be fixed, though, given that 2020/2020B will likely go away in the final release anyway.

tmiw commented 1 month ago

Returning to the main topic of this issue--how does the latest version of the instructions in the PR work for everyone?

vwpolo16 commented 1 month ago

to the main topic:

manfred@Cubi-5:~/freedv_2_0_0_devel/freedv-gui$ . ./rade-venv/bin/activate (rade-venv) manfred@Cubi-5:~/freedv_2_0_0_devel/freedv-gui$ pip3 install torch torchaudio --index-url https://download.pytorch.org/whl/cpu Collecting torch Downloading https://download.pytorch.org/whl/cpu/torch-1.10.2%2Bcpu-cp36-cp36m-linux_x86_64.whl (199.3MB) 100% |████████████████████████████████| 199.3MB 7.7kB/s Collecting torchaudio Downloading https://download.pytorch.org/whl/cpu/torchaudio-0.10.2%2Bcpu-cp36-cp36m-linux_x86_64.whl (2.7MB) 100% |████████████████████████████████| 2.7MB 520kB/s Collecting typing-extensions (from torch) Downloading https://download.pytorch.org/whl/typing_extensions-4.9.0-py3-none-any.whl typing-extensions requires Python '>=3.8' but the running Python is 3.6.9 (rade-venv) manfred@Cubi-5:~/freedv_2_0_0_devel/freedv-gui$

manfred@Cubi-5:~/freedv_2_0_0_devel/freedv-gui$ . ./rade-venv/bin/activate (rade-venv) manfred@Cubi-5:~/freedv_2_0_0_devel/freedv-gui$ pip3 install torch torchaudio --index-url https://download.pytorch.org/whl/cpu Collecting torch Downloading https://download.pytorch.org/whl/cpu/torch-1.10.2%2Bcpu-cp36-cp36m-linux_x86_64.whl (199.3MB) 100% |████████████████████████████████| 199.3MB 7.7kB/s Collecting torchaudio Downloading https://download.pytorch.org/whl/cpu/torchaudio-0.10.2%2Bcpu-cp36-cp36m-linux_x86_64.whl (2.7MB) 100% |████████████████████████████████| 2.7MB 520kB/s Collecting typing-extensions (from torch) Downloading https://download.pytorch.org/whl/typing_extensions-4.9.0-py3-none-any.whl typing-extensions requires Python '>=3.8' but the running Python is 3.6.9 (rade-venv) manfred@Cubi-5:~/freedv_2_0_0_devel/freedv-gui$

is the second last line a probleme?

vwpolo16 commented 1 month ago

next command produces the next error: (rade-venv) manfred@Cubi-5:~/freedv_2_0_0_devel/freedv-gui$ pip3 install matplotlib Collecting matplotlib Downloading https://files.pythonhosted.org/packages/09/03/b7b30fa81cb687d1178e085d0f01111ceaea3bf81f9330c937fb6f6c8ca0/matplotlib-3.3.4-cp36-cp36m-manylinux1_x86_64.whl (11.5MB) 100% |████████████████████████████████| 11.5MB 107kB/s Collecting pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.3 (from matplotlib) Downloading https://files.pythonhosted.org/packages/e5/0c/0e3c05b1c87bb6a1c76d281b0f35e78d2d80ac91b5f8f524cebf77f51049/pyparsing-3.1.4-py3-none-any.whl (104kB) 100% |████████████████████████████████| 112kB 2.6MB/s Collecting pillow>=6.2.0 (from matplotlib) Downloading https://files.pythonhosted.org/packages/7d/2a/2fc11b54e2742db06297f7fa7f420a0e3069fdcf0e4b57dfec33f0b08622/Pillow-8.4.0.tar.gz (49.4MB) 100% |████████████████████████████████| 49.4MB 28kB/s Collecting numpy>=1.15 (from matplotlib) Downloading https://files.pythonhosted.org/packages/45/b2/6c7545bb7a38754d63048c7696804a0d947328125d81bf12beaa692c3ae3/numpy-1.19.5-cp36-cp36m-manylinux1_x86_64.whl (13.4MB) 100% |████████████████████████████████| 13.4MB 101kB/s Collecting cycler>=0.10 (from matplotlib) Downloading https://files.pythonhosted.org/packages/5c/f9/695d6bedebd747e5eb0fe8fad57b72fdf25411273a39791cde838d5a8f51/cycler-0.11.0-py3-none-any.whl Collecting python-dateutil>=2.1 (from matplotlib) Using cached https://files.pythonhosted.org/packages/ec/57/56b9bcc3c9c6a792fcbaf139543cee77261f3651ca9da0c93f5c1221264b/python_dateutil-2.9.0.post0-py2.py3-none-any.whl Collecting kiwisolver>=1.0.1 (from matplotlib) Downloading https://files.pythonhosted.org/packages/a7/1b/cbd8ae738719b5f41592a12057ef5442e2ed5f5cb5451f8fc7e9f8875a1a/kiwisolver-1.3.1-cp36-cp36m-manylinux1_x86_64.whl (1.1MB) 100% |████████████████████████████████| 1.1MB 835kB/s Collecting six>=1.5 (from python-dateutil>=2.1->matplotlib) Using cached https://files.pythonhosted.org/packages/d9/5a/e7c31adbe875f2abbb91bd84cf2dc52d792b5a01506781dbcf25c91daf11/six-1.16.0-py2.py3-none-any.whl Building wheels for collected packages: pillow Running setup.py bdist_wheel for pillow ... error Complete output from command /home/manfred/freedv_2_0_0_devel/freedv-gui/rade-venv/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-build-k6509goh/pillow/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" bdist_wheel -d /tmp/tmpoixi8x5zpip-wheel- --python-tag cp36: /usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'long_description_content_type' warnings.warn(msg) usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: -c --help [cmd1 cmd2 ...] or: -c --help-commands or: -c cmd --help

error: invalid command 'bdist_wheel'


Failed building wheel for pillow Running setup.py clean for pillow Failed to build pillow Installing collected packages: pyparsing, pillow, numpy, cycler, six, python-dateutil, kiwisolver, matplotlib Running setup.py install for pillow ... done Successfully installed cycler-0.11.0 kiwisolver-1.3.1 matplotlib-3.3.4 numpy-1.19.5 pillow-8.4.0 pyparsing-3.1.4 python-dateutil-2.9.0.post0 six-1.16.0 (rade-venv) manfred@Cubi-5:~/freedv_2_0_0_devel/freedv-gui$

vwpolo16 commented 1 month ago

I executed the rest of the command from #758 and started freedv. But RADE still crashes:

(rade-venv) manfred@Cubi-5:~/freedv_2_0_0_devel/freedv-gui/build_linux$ PYTHONPATH="$PWD/rade_src:$PYTHONPATH" src/freedv Using RADE API version 1

(freedv:17182): Gtk-WARNING **: 23:21:47.806: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node border, owner GtkFrame)

(freedv:17182): Gtk-WARNING **: 23:21:47.806: Negative content width -25 (allocation 1, extents 13x13) while allocating gadget (node button, owner GtkButton)

(freedv:17182): Gtk-WARNING **: 23:21:47.840: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node border, owner GtkFrame)

(freedv:17182): Gtk-WARNING **: 23:21:47.840: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node trough, owner GtkProgressBar)

(freedv:17182): Gtk-WARNING **: 23:21:47.841: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node border, owner GtkFrame)

(freedv:17182): Gtk-WARNING **: 23:21:47.841: Negative content width -25 (allocation 1, extents 13x13) while allocating gadget (node button, owner GtkButton)

(freedv:17182): Gtk-WARNING **: 23:21:47.841: Negative content width -25 (allocation 1, extents 13x13) while allocating gadget (node button, owner GtkButton)

(freedv:17182): Gtk-WARNING **: 23:21:47.841: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node border, owner GtkFrame)

(freedv:17182): Gtk-WARNING **: 23:21:47.841: Negative content width -25 (allocation 1, extents 13x13) while allocating gadget (node button, owner GtkToggleButton)

(freedv:17182): Gtk-WARNING **: 23:21:47.841: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node border, owner GtkFrame)

(freedv:17182): Gtk-WARNING **: 23:21:47.843: Negative content width -25 (allocation 1, extents 13x13) while allocating gadget (node button, owner GtkButton)

(freedv:17182): Gtk-WARNING **: 23:21:47.843: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node border, owner GtkFrame) [2024-10-21 23:21:47] [connect] Successful connection [2024-10-21 23:21:48] [connect] WebSocket Connection 208.85.243.198:80 v-2 "WebSocket++/0.8.2" /socket.io/?EIO=4&transport=websocket&t=1729545707 101

(freedv:17182): Gtk-WARNING **: 23:21:54.898: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node border, owner GtkFrame) Setting callsign to DJ4MO model file: TBD import_array returned: 0 Traceback (most recent call last): File "/home/manfred/freedv_2_0_0_devel/freedv-gui/build_linux/rade_src/radae_txe.py", line 37, in import torch ModuleNotFoundError: No module named 'torch' Error: importing radae_txe

tmiw commented 1 month ago

Are you able to upgrade Python at all? Per PyTorch's website 3.9 is the minimum required.

Tyrbiter commented 1 month ago

I wonder if you might find better luck with Xubuntu 24.10, I have needed to run Fedora 41 which is still a couple of weeks away from release, it has some packages that are not in Fedora 40 that appear to help with running the torch code.

There is also the soft link to the model file in the rade_src directory that is needed, I think that makes the radae_txe import then works.

vwpolo16 commented 1 month ago

A Python upgrade is not possible because I use an ELAD SDR and an ETTUS SDR that require an older GNU radio version which uses also an older Python. Compiling with newer MINT version than 19.3 was not successful. What I can try is to install a virtual machine on MINT19.3 and in this virtual machine I can use a newer version of Linux Mint or Ubuntu. But this will take a few days until it is running.

Tyrbiter commented 1 month ago

Good luck!

tmiw commented 3 weeks ago

Per the RADE document at https://freedv.org/radio-autoencoder/, I'm going to go ahead and close this for now due to our current limited support for Linux (and since it sounds like @vwpolo16 has a possible workaround). For reference, there are Linux README instructions at https://github.com/drowe67/freedv-gui/blob/v2.0-dev/README.md#running-rade-mode-on-linux.