ebrithiljonas/fittrackee-uploader

Error during installation

Closed this issue · 5 comments

Thank you for this great idea for a companion app. I really want to use it with fittrackee for easier import of files, but I am not able to make it work :(

I installed fittrackee via Docker route, not sure if this complicates things.

When I follow your instructions, I receive the following:
root@fit:/opt/fit/fittrackee-uploader# python fittrackee-uploader
Traceback (most recent call last):
File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/opt/fit/fittrackee-uploader/fittrackee-uploader/main.py", line 1, in
import uploader
File "/opt/fit/fittrackee-uploader/fittrackee-uploader/uploader.py", line 6, in
from PyQt6 import QtWidgets
ImportError: libGL.so.1: cannot open shared object file: No such file or directory
root@fit:/opt/fit/fittrackee-uploader#

When I try it via venv, the following is shown:
(tutorial-env) root@fit:/opt/fit/fittrackee-uploader# python fittrackee-uploader
Traceback (most recent call last):
File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/opt/fit/fittrackee-uploader/fittrackee-uploader/main.py", line 1, in
import uploader
File "/opt/fit/fittrackee-uploader/fittrackee-uploader/uploader.py", line 4, in
import folium
ModuleNotFoundError: No module named 'folium'
(tutorial-env) root@fit:/opt/fit/fittrackee-uploader#

I installed "apt-get install -y libglib2.0-0" but this did not help.
Any suggestions?

Did you follow the installation steps in the Readme?
And on what OS did you install this?
It doesn't matter how you install fittrackee, cause this app communicates over the web api with fittrackee.

Hi, thanks for your reply.
Apologies for not including the info right away:

  • Did you follow the installation steps in the Readme?--> I followed the steps provided in this section https://github.com/ebrithiljonas/fittrackee-uploader#installation. The error is received after going into the directory and running "pip install -r requirements.txt".
  • And on what OS did you install this? -->My server is running Proxmox, the fittrackee LXC uses Ubuntu as OS. Fittrackee itself was installed via the Docker route (https://samr1.github.io/FitTrackee/en/installation.html#docker)
  • It doesn't matter how you install fittrackee, cause this app communicates over the web api with fittrackee. -->ok, good to know. Do you think I need to provide or adapt the folder location in regards to the fittrackee installation? Or do the errors point into a different direction?

Thanks again for your support :)

Hi, I see the problem, you can't install this tool on a LXC in Proxmox cause it uses a GUI and is not compatible with systems that only have a terminal. It is meant to run on your PC where you also store your files that you want to upload to your fittrackee server.
I hope this can help you.

Thanks for the quick reply and info!
I tried it via webtop and got further down the path. Got the following error when I tried to run the application (not sure if this is relevant, but I had to use "sudo python3 fittrackee-uploader")


from PyQt6 import QtWebEngineWidgets
ImportError: libsmime3.so: cannot open shared object file: No such file or directory


Next I will also try install in a VM (incl GUI), let's see if this works. Need some time though, since I am currently not at home. I will write an update afterwards

Yeah it should work in a VM, but I don't see the purpose of it, since then you first have to transfer your files to the VM, connect to it and then start my tool and upload the files. Why not run the tool directly on your pc or laptop? You only need to use it upload files, it doesn't need to run as a server like fittrackee.