Closed thinktank9 closed 2 years ago
Confirmed.
Fixed on develop branch. Are you able to test from source? Can you test the develop branch and see if it works for you?
Works! Did a download of all latest activities and monitoring-files. Thx! (Had some minor issues with the defines.mk-files, location of bash on ubuntu is /bin/bash, but after fixing that, everything works)
i try to use the develop branch to, but i cannot run the make setup command
harald@kalymnos:~/GarminDB> git clone https://github.com/tcgoetz/GarminDB.git --branch develop --single-branc Klone nach 'GarminDB' ... remote: Enumerating objects: 4171, done. remote: Counting objects: 100% (647/647), done. remote: Compressing objects: 100% (255/255), done. remote: Total 4171 (delta 424), reused 593 (delta 377), pack-reused 3524 Empfange Objekte: 100% (4171/4171), 4.11 MiB | 1.74 MiB/s, Fertig. Löse Unterschiede auf: 100% (2952/2952), Fertig. harald@kalymnos:~/GarminDB> make setup cp /home/harald/GarminDB/garmindb/GarminConnectConfig.json.example /home/harald/.GarminDb/GarminConnectConfig.json make: /usr/bin/bash: Kommando nicht gefunden make: /usr/bin/bash: Kommando nicht gefunden make: /usr/bin/bash: Kommando nicht gefunden make: /usr/bin/bash: Kommando nicht gefunden make: *** [Makefile:53: /home/harald/.GarminDb/GarminConnectConfig.json] Fehler 127 harald@kalymnos:~/GarminDB>
I'm using this for the first time and am getting this error still. I have switched branch to develop. On Mac OS X.
After switching to the develop branch, did you build and install? make reinstall_all
Kommando nicht gefunden make: /usr/bin/bash
You don't have bash installed on your system. either install bash or change the SHELL define in defines.mk.
Works for me.
Steps:
git clone -b develop --recurse-submodules git@github.com:tcgoetz/GarminDB.git
GarminDB
dir ran make setup
/root/.GarminDb/GarminConnectConfig.json
with my settingsmake create_dbs
it started downloading the files, see the screenshot -
Is that what you were expecting me to check?
This is a screenshot of my script which was giving the error earlier, it's working with the fix now -
Thank you!
Released in 3.1.2.
Kommando nicht gefunden make: /usr/bin/bash
You don't have bash installed on your system. either install bash or change the SHELL define in defines.mk. Hi Tom.!
Thanks a lot (my bash is in the linux standard path /bin/bash. But now i have a new error ...
harald@kalymnos:~/GarminDB> make setup cp /home/harald/GarminDB/garmindb/GarminConnectConfig.json.example /home/harald/.GarminDb/GarminConnectConfig.json python3 -m venv --upgrade-deps /home/harald/GarminDB/.venv usage: venv [-h] [--system-site-packages] [--symlinks | --copies] [--clear] [--upgrade] [--without-pip] [--prompt PROMPT] ENV_DIR [ENV_DIR ...] venv: error: unrecognized arguments: --upgrade-deps make: *** [Makefile:56: /home/harald/GarminDB/.venv] Fehler 2 harald@kalymnos:~/GarminDB>
I have a cron job that downloads Garmin data every day but since yesterday evening its started giving an error. It's been working fine for the last couple of months and I haven't made any changes to the configuration or the environment (its runs inside a docker container so it's completely isolated). I upgraded the package with
pip install --upgrade garmindb
but I am still getting the error. See the logs below.To Reproduce Steps to reproduce the behaviour: run
garmindb_cli.py --all --download --import --analyze --latest
Expected behaviour Should download all the updates since the last run
Logs