ebrithiljonas / fittrackee-uploader

A companion application for FitTrackee to upload your workout files
GNU Affero General Public License v3.0
13 stars 4 forks source link

Error during installation #4

Closed 234567432 closed 4 months ago

234567432 commented 1 year ago

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?

ebrithiljonas commented 1 year ago

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.

234567432 commented 1 year ago

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

Thanks again for your support :)

ebrithiljonas commented 1 year ago

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.

234567432 commented 1 year ago

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

ebrithiljonas commented 1 year ago

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.