-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FreeTAKServer Install Error #192
Comments
the simplest way is to downgrade to python 3.8, alternatively you can set the MainPath to /usr/local/lib/python3.9/dist-packages/FreeTAKServer in the configuration at /opt/FTSConfig.yaml |
Thank you for the quick response. So I managed to downgrade python to 3.8.2 with a little poking around. Now I am getting an error that it didn't install an SSL module. Sorry but I am very green at dealing with python. Was there a flag I needed to modify in the files I downloaded for 3.8.2 before I compiled and installed it? Below is the output I received:
|
So i got the install to proceed after installing 3.8.2 over the top of the included python and then doing the following so that SSL would work with my 3.8.2 build sudo apt install build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev wget However now when I try to run the "sudo python3 -m FreeTAKServer.controllers.services.FTS " step I get the following error. Google/Duck Duck Go have not turned up anything useful on this as the file is specific to FreeTAK server:
|
The simplest way is actually to adjust the base python version as noted above by changing the paths in a few places. Also check the UI's config.py and the MainConfig.py. Even though you may be using the yaml, if anything unusual happens, it will revert to these files. Python 3.9 seems to work fine with FTS 1.9.1 on x64 Linux (Ubuntu 21.04). I never like to downgrade, particularly system packages. |
Use Ubuntu server, I was able to get it installed on 21.04 with 3.8. Now on to my SSL issues. |
are you running with sudo |
as I recall I was running this after running a "sudo su" to make myself root. |
ok and can you send the output of running sudo python3? |
So I guess we can mark this closed... I have abandoned this install of debian and moved to the mentioned Ubuntu 20.04 server. Have the server MOSTLY working now but getting odd errors when trying to connect clients via TCP or SSL. Assume you would prefer start a new item for these issues OR join the apparently similar thread on server disconnects. |
did you try to change the python path in the config files? It works swimmingly here with Ubuntu 21.04 which uses python 3.9. |
I've run into the same roadblock with Python versions. The /opt/FTSConfig.yaml file does not (yet) exist. Can you specify the locations of where to fix the config to reflect Python version 3.9? |
the yaml doesn't exist unless you create it AFAIK both of the two main config files have Python environment variables to adjust, see above, Aug. 24 post. |
(Solved) python_version = 'python 3.9' |
getting the following error when trying to install on a clean instance of Debian 11 following setup instructions:
Any idea what is needed to resolve this?
The text was updated successfully, but these errors were encountered: