Cale-Torino / FreeTAKServer_Manager

A Windows FreeTakServer Installer/Uninstaller GUI written in C# for the Windows OS.
MIT License
21 stars 2 forks source link

Server Issue #7

Closed TangoZuluMike closed 11 months ago

TangoZuluMike commented 1 year ago

Successfully began "Install Server" but it failed and gave: Error:Could not find a part of the path 'C:\Software\Python\Lib\site-packages\FreeTAKServer\FTSConfig.yaml'.

Running Python 3.11.4

TangoZuluMike commented 1 year ago

Edited config to specify python 3.11.4 Added \FreeTAKServer\FTSConfig.yaml' Ran "Install Server" and got Error:Could not find a part of the path 'C:\Software\Python\Lib\site-packages\FreeTAKServer-UI\config.py'. This is even more confusing since I don't even have a "FreeTAKServer-UI" folder, though I do have the config.py somewhere.

Obligatory: I am out of my league.

TangoZuluMike commented 1 year ago

Built out those files too. Server installed successfully.

TangoZuluMike commented 1 year ago

Final problem: Server manager starts tak server with apparently no problem, however, 127.0.0.1 refuses to connect in browser.

Command prompt windows read:

Usage: flask run [OPTIONS] Try 'flask run --help' for help.

Error: Could not import 'run'.

C:\Software\Python\Lib\site-packages\FreeTAKServer-UI>

--- and ---

Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "C:\Software\Python\Lib\site-packages\FreeTAKServer\controllers\services\FTS.py", line 1, in from FreeTAKServer.core.persistence.DatabaseController import ( File "C:\Software\Python\Lib\site-packages\FreeTAKServer\core\persistence\DatabaseController.py", line 11, in from FreeTAKServer.core.configuration.DatabaseConfiguration import DatabaseConfiguration File "C:\Software\Python\Lib\site-packages\FreeTAKServer\core\configuration\DatabaseConfiguration.py", line 1, in from FreeTAKServer.core.configuration.MainConfig import MainConfig File "C:\Software\Python\Lib\site-packages\FreeTAKServer\core\configuration\MainConfig.py", line 4, in import yaml ModuleNotFoundError: No module named 'yaml'

C:\Windows\System32>

Cale-Torino commented 1 year ago

Hi there what version of the FreeTAKServer_Manager are you using?

After selecting the Python path and saving it you can easily install or uninstall the FTS server files by clicking the relevant buttons.

As long as the path to \site-packages and no Python dependencies are missing all should be well.

Python installers I've tested on can be found Python_Installer folder

TangoZuluMike commented 1 year ago

Thanks for getting back to me!

The manager should be the most recent version.

Python is 3.11.4, I've already changed the config to 3.11.4.

At this point, I think I've got it to start the server, I just can't access it through my web browser. I'm attempting to troubleshoot it.

On Sat, Jul 8, 2023 at 3:52 AM Cale Torino @.***> wrote:

Hi there what version of the FreeTAKServer_Manager are you using?

After selecting the Python path and saving it you can easily install or uninstall the FTS server files by clicking the relevant buttons.

As long as the path to \site-packages and no Python dependencies are missing all should be well.

Python installers I've tested on can be found Python_Installer folder https://github.com/Cale-Torino/FreeTAKServer_Manager/tree/main/Python_Installer

— Reply to this email directly, view it on GitHub https://github.com/Cale-Torino/FreeTAKServer_Manager/issues/7#issuecomment-1626900469, or unsubscribe https://github.com/notifications/unsubscribe-auth/BATMXZRV6BWWCM2D4QBXRITXPEGU7ANCNFSM6AAAAAA2CRTU74 . You are receiving this because you authored the thread.Message ID: @.***>