Aller directement au contenu
  • Catégories
  • Récent
  • Mots-clés
  • Populaire
  • Web
  • Utilisateurs
  • Groupes
Habillages
  • Clair
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Sombre
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Défaut (Aucun habillage)
  • Aucun habillage
Réduire

NodeBB

  1. Accueil
  2. Announcements
  3. garmin-to-fittrackee (install)

garmin-to-fittrackee (install)

Planifié Épinglé Verrouillé Déplacé Announcements
5 Messages 1 Publieurs 57 Vues 1 Abonné
  • Du plus ancien au plus récent
  • Du plus récent au plus ancien
  • Les plus votés
Répondre
  • Répondre à l'aide d'un nouveau sujet
Se connecter pour répondre
Ce sujet a été supprimé. Seuls les utilisateurs avec les droits d'administration peuvent le voir.
  • fariasF
    fariasF
    farias
    écrit dernière édition par
    #1
    # python3.11 -m venv garmin-to-fittrackee
    # source garmin-to-fittrackee/bin/activate
    # cd garmin-to-fittrackee/
    # git clone https://git.dryusdan.fr/Dryusdan/garmin-to-fittrackee.git
    # cd garmin-to-fittrackee
    # pip install poetry
    # poetry install
    
    Current Python version (3.11.2) is not allowed by the project (^3.12).
    Please change python executable via the "env use" command.
    # cat /etc/os-release 
    PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
    NAME="Debian GNU/Linux"
    VERSION_ID="12"
    VERSION="12 (bookworm)"
    VERSION_CODENAME=bookworm
    ID=debian
    HOME_URL="https://www.debian.org/"
    SUPPORT_URL="https://www.debian.org/support"
    BUG_REPORT_URL="https://bugs.debian.org/"
    # deactivate
    
    1 réponse Dernière réponse
    0
    • fariasF
      fariasF
      farias
      écrit dernière édition par farias
      #2

      Installation de Python 12 :

      # wget https://www.python.org/ftp/python/3.12.0/Python-3.12.0.tgz
      # tar xzf Python-3.12.0.tgz
      # cd Python-3.12.0
      # ./configure --enable-optimizations
      # make -j$(nproc)
      ./python -E -c 'import sys ; from sysconfig import get_platform ; print("%s-%d.%d" % (get_platform(), *sys.version_info[:2]))' >platform
      The necessary bits to build these optional modules were not found:
      _dbm                  _gdbm                                    
      To find the necessary bits, look in configure.ac and config.log.
      
      Checked 111 modules (31 built-in, 77 shared, 1 n/a on linux-x86_64, 0 disabled, 2 missing, 0 failed on import)
      make[1] : on quitte le répertoire « /usr/src/Python-3.12.0 »
      # make altinstall
      Processing /tmp/tmpwuueeor1/pip-23.2.1-py3-none-any.whl
      Installing collected packages: pip
      Successfully installed pip-23.2.1
      WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
      
      
      1 réponse Dernière réponse
      0
      • fariasF
        fariasF
        farias
        écrit dernière édition par
        #3

        Nouveau test :

        # python3.12 -m venv garmin-to-fittrackee2
        ...
        # poetry install
        Installing dependencies from lock file
        
        Package operations: 25 installs, 0 updates, 0 removals
        
          - Installing annotated-doc (0.0.5)
          - Installing coverage (7.15.4)
          - Installing curl-cffi (0.16.2)
          - Installing garminconnect (0.3.11)
          - Installing iniconfig (2.3.0)
          - Installing isort (8.0.1)
          - Installing markdown-it-py (4.2.0)
          - Installing mdurl (0.1.2)
          - Installing oauthlib (3.3.1)
          - Installing pendulum (3.2.0)
          - Installing pluggy (1.6.0)
          - Installing pygments (2.21.0)
          - Installing pytest (9.1.1)
          - Installing pytest-cov (7.1.0)
          - Installing pytest-mock (3.15.1)
          - Installing python-dateutil (2.9.0.post0)
          - Installing pyyaml (6.0.3)
          - Installing requests-mock (1.12.1)
          - Installing requests-oauthlib (2.0.0)
          - Installing rich (15.0.0)
          - Installing ruff (0.16.4)
          - Installing six (1.17.0)
          - Installing typer (0.27.1)
          - Installing tzdata (2026.3)
          - Installing ua-generator (2.1.3)
        
        Installing the current project: garmin-to-fittrackee (0.12.0)
        
        1 réponse Dernière réponse
        0
        • fariasF
          fariasF
          farias
          écrit dernière édition par
          #4

          Voir : https://github.com/Dryusdan/garmin-to-fittrackee

          # garmin2fittrackee setup config-tool
          ╭──────────────────────────────────────────────────────────────────────────────────────── Traceback (most recent call last) ────────────────────────────────────────────────────────────────────────────────────────╮
          │ /root/garmin-to-fittrackee2/garmin-to-fittrackee/garmin_to_fittrackee/main.py:461 in config_tool                                                                                                                  │
          │                                                                                                                                                                                                                   │
          │   458 │                                                                                                                                                                                                           │
          │   459 │   db = sqlite3.connect(f"{database_path}/db.sqlite3")                                                                                                                                                     │
          │   460 │   cur = db.cursor()                                                                                                                                                                                       │
          │ ❱ 461 │   cur.execute(                                                                                                                                                                                            │
          │   462 │   │   "CREATE TABLE "                                                                                                                                                                                     │
          │   463 │   │   "activities_ids(fittrackee_id VARCHAR(255) UNIQUE,"                                                                                                                                                 │
          │   464 │   │   "garmin_id INTEGER(100) UNIQUE)"                                                                                                                                                                    │
          ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
          OperationalError: table activities_ids already exists
          # garmin2fittrackee setup garmin
          Email: XXXXXX@cyber-neurones.org
          Password: 
          [08/31/26 13:11:38] WARNING  [client/login] mobile+cffi returned 429: GarminConnectTooManyRequestsError: Mobile login returned 429 — IP rate limited by Garmin                                          client.py:570
          [08/31/26 13:11:39] WARNING  [client/login] mobile+requests returned 429: GarminConnectTooManyRequestsError: Mobile login returned 429 — IP rate limited by Garmin                                      client.py:570
          Enter the MFA code received: XXXXXXXX
          
          
          1 réponse Dernière réponse
          0
          • fariasF
            fariasF
            farias
            écrit dernière édition par
            #5

            C’est bon cela fonctionne à nouveau …

                                ERROR    [sports/get_fittrackee_sport_by_garmin_id] Not Fittrackee match with garmin sport id 240                                                                                   sports.py:134
                                ERROR    [sports/get_fittrackee_sport_by_garmin_id] Set to cycling road                                                                                                             sports.py:137
                                INFO     [main/_fetch_garmin_activity_file] Activity data downloaded to file /tmp/24145714013.zip                                                                                     main.py:241
            [08/31/26 13:35:04] INFO     [fittrackee/upload_workout] Activity added on Fittrackee with id KdjFEeZJPpk24idGwDRfSS                                                                                fittrackee.py:288
                                INFO     [main/sync] Fetching activities on Garminfrom Aug 30, 2026to Aug 31, 2026                                                                                                    main.py:163
            [08/31/26 13:35:05] INFO     [main/_fetch_garmin_activity_file] Activity data downloaded to file /tmp/24181394659.zip                                                                                     main.py:241
            [08/31/26 13:35:20] INFO     [fittrackee/upload_workout] Activity added on Fittrackee with id G8EdcT5tnX29hNE7ucuwte                                                                                fittrackee.py:288
            

            Le surf est vue comme du vélo … misère.

            1 réponse Dernière réponse
            0

            Bonjour ! Vous semblez intéressé par cette conversation, mais vous n’avez pas encore de compte.

            Marre de refaire défiler les mêmes messages ? Créez un compte pour retrouver votre position, recevoir des notifications des nouvelles réponses, sauvegarder vos favoris et voter pour les messages que vous appréciez.

            Grâce à votre participation, ce message peut devenir encore meilleur 💗

            S'inscrire Se connecter
            Répondre
            • Répondre à l'aide d'un nouveau sujet
            Se connecter pour répondre
            • Du plus ancien au plus récent
            • Du plus récent au plus ancien
            • Les plus votés


            • Se connecter

            • Vous n'avez pas de compte ? S'inscrire

            • Connectez-vous ou inscrivez-vous pour faire une recherche.
            Powered by NodeBB Contributors
            • Premier message
              Dernier message
            0
            • Catégories
            • Récent
            • Mots-clés
            • Populaire
            • Web
            • Utilisateurs
            • Groupes