Skip to content

Conversation

@DJ2LS
Copy link
Owner

@DJ2LS DJ2LS commented Oct 30, 2025

No description provided.

@OH2JRB
Copy link

OH2JRB commented Jan 9, 2026

root@sandbox:/freedata# bash ./install-freedata-linux.sh develop 4.6.5
root@sandbox:
/freedata# bash ./run-freedata-linux.sh


Running the FreeDATA server processes


Traceback (most recent call last):
File "/root/freedata/FreeDATA/freedata_server/server.py", line 12, in
from freedata_server.log_handler import setup_logging
ModuleNotFoundError: No module named 'freedata_server'

root@sandbox:~/freedata# python3 --version
Python 3.13.5

Is this Python-version-specific?

@DJ2LS
Copy link
Owner Author

DJ2LS commented Jan 9, 2026

root@sandbox:/freedata# bash ./install-freedata-linux.sh develop 4.6.5
root@sandbox:
/freedata# bash ./run-freedata-linux.sh

Running the FreeDATA server processes

Traceback (most recent call last): File "/root/freedata/FreeDATA/freedata_server/server.py", line 12, in from freedata_server.log_handler import setup_logging ModuleNotFoundError: No module named 'freedata_server'

root@sandbox:~/freedata# python3 --version Python 3.13.5

Is this Python-version-specific?

It's probably because of the pytoml file and the related changes to some file imports.
Are you running latest bash file? What happens if you are running server.py manually?

@DJ2LS
Copy link
Owner Author

DJ2LS commented Jan 10, 2026

Can't reproduce the issue above on Ubuntu and MacOS. @as3ii @OH2JRB

@Mashintime
Copy link
Collaborator

No module named 'freedata_server'

You need to install the python requirements in the correct/new way. i.e. while in the root dir, python -m pip install .

See for more info: https://github.com/DJ2LS/FreeDATA/blob/develop-ruff/CONTRIBUTING.md

@OH2JRB
Copy link

OH2JRB commented Jan 10, 2026

So the information on https://wiki.freedata.app/en/installation/linux-install-script is obsoleted until the script is reworked.

@as3ii
Copy link
Contributor

as3ii commented Jan 10, 2026

probably the installer must be updated as Mashintime suggested and, I guess, we can take advantage of this to remove the installation of colorama and pyaudio via system package manager as those packages are installed via pip.

@OH2JRB the instructions on the wiki are valid for the latest release, not for the development branch

@OH2JRB
Copy link

OH2JRB commented Jan 10, 2026

@as3ii I partly disagree - the install script description on the web page says "There are 3 installation options available: "default", "development", "specific""

bash install-freedata-linux.sh (FreeDATA-branch) (hamlib-version)

@DJ2LS
Copy link
Owner Author

DJ2LS commented Jan 10, 2026

@deejdeej could you do us the favour and updating the installation scripts and also adding Ubuntu 24.10 and 25.04? Thanks 🙂

@as3ii
Copy link
Contributor

as3ii commented Jan 10, 2026

Oh, I've noticed just now that in the new CONTRIBUTING.md are missing instructions regarding codec2 (not a serious issue because freedata have in its sources the compiled library) and hamlib (for recent distros the distro-provided one probably is good enough: 4.5 on debian 12 and ubuntu 24.05, 4.6 on debian 13 and ubuntu 25.04, etc.).
In the next few days I can update it, any preferences or criticisms?

In the meantime I'm working on the ruff fixes

@deejdeej
Copy link
Collaborator

@deejdeej could you do us the favour and updating the installation scripts and also adding Ubuntu 24.10 and 25.04? Thanks 🙂

I added Ubuntu 24.10 and 25.04 to the Linux script in dev, and changed the default hamlib version in the script from 4.5.5 to 4.6.5.

Please note I don't have Ubuntu 24.10 or 25.04 here so would appreciate someone else testing to make sure these work properly.

@DJ2LS
Copy link
Owner Author

DJ2LS commented Jan 10, 2026

Thanks 🙏 Tested 25.10 today - working fine. Biggest issue is actually the adjustment of the installation scripts for supporting the pyproject file so we can merge this big PR soon.

as3ii added 5 commits January 10, 2026 19:11
In practice, in this commit I've increased from 100 to 120 the maximum
allowed line length for python files and re-run ruff's formatter.
@deejdeej
Copy link
Collaborator

deejdeej commented Jan 10, 2026

Ok, I think what you are asking is to change:
pip install --upgrade -r requirements.txt
to
python -m pip install .

in the Linux install script, which I've just done.

Please note this may break the instructions for installing the "main" branch that we have listed at
https://wiki.freedata.app/en/installation/linux-install-script

On that page change these two lines:
wget -N https://raw.githubusercontent.com/DJ2LS/FreeDATA/develop/tools/Linux/install-freedata-linux.sh
wget -N https://raw.githubusercontent.com/DJ2LS/FreeDATA/develop/tools/Linux/run-freedata-linux.sh

to

wget -N https://raw.githubusercontent.com/DJ2LS/FreeDATA/main/tools/Linux/install-freedata-linux.sh
wget -N https://raw.githubusercontent.com/DJ2LS/FreeDATA/main/tools/Linux/run-freedata-linux.sh

@DJ2LS
Copy link
Owner Author

DJ2LS commented Jan 10, 2026

Ah, I see, thanks for the reminder @deejdeej ! This should have been changed earlier. I will try doing this tomorrow. Thanks for the fast update of the scripts!

@DJ2LS
Copy link
Owner Author

DJ2LS commented Jan 11, 2026

Ok, I think what you are asking is to change: pip install --upgrade -r requirements.txt to python -m pip install .

in the Linux install script, which I've just done.

Please note this may break the instructions for installing the "main" branch that we have listed at https://wiki.freedata.app/en/installation/linux-install-script

On that page change these two lines: wget -N https://raw.githubusercontent.com/DJ2LS/FreeDATA/develop/tools/Linux/install-freedata-linux.sh wget -N https://raw.githubusercontent.com/DJ2LS/FreeDATA/develop/tools/Linux/run-freedata-linux.sh

to

wget -N https://raw.githubusercontent.com/DJ2LS/FreeDATA/main/tools/Linux/install-freedata-linux.sh wget -N https://raw.githubusercontent.com/DJ2LS/FreeDATA/main/tools/Linux/run-freedata-linux.sh

Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

8 participants