question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

TrainerRoad RuntimeError: Input IsMale not found in form

See original GitHub issue

While syncing to Garmin works very well (and I am super happy with it, thank you for your work!!), it fails repeatly with TrainerRoad reporting error RuntimeError: Input IsMale not found in form:

Here’s the output with some tracelog output. Any ideas, what I could do?

2022-01-02 22:06:50,284 - withings_sync.trainerroad - INFO - Logged into TrainerRoad as "XXXXXXXXXX"
Traceback (most recent call last):
  File "/home/pi/.local/bin/withings-sync", line 10, in <module>
    sys.exit(main())
  File "/home/pi/.local/lib/python3.7/site-packages/withings_sync/sync.py", line 196, in main
    sync(**vars(args))
  File "/home/pi/.local/lib/python3.7/site-packages/withings_sync/sync.py", line 170, in sync
    logging.info(f'Current TrainerRoad weight: {tr.weight} kg ')
  File "/home/pi/.local/lib/python3.7/site-packages/withings_sync/trainerroad.py", line 175, in weight
    values, token = self._read_profile()
  File "/home/pi/.local/lib/python3.7/site-packages/withings_sync/trainerroad.py", line 118, in _read_profile
    select_data[key] = self._parse_name(tree, key)
  File "/home/pi/.local/lib/python3.7/site-packages/withings_sync/trainerroad.py", line 76, in _parse_name
    raise RuntimeError('Input {} not found in form'.format(name))
RuntimeError: Input IsMale not found in form

It’s a fresh install on Rasberry4 (pip3 install withings-sync).

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
darrencopecommented, Apr 1, 2022

Thanks JoGu01. I was able to test, and am now getting the following error:

RuntimeError: Failed to verify numerical key Weight when trying to sync to TrainerRoad.

0reactions
stv0gcommented, Jun 27, 2022

Closing this issue now as @longstone motivated

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issues · jaroslawhartman/withings-sync - GitHub
#86 opened on Oct 18 by fayoh · 1. trainerroad.py - RuntimeError: Failed to verify numerical key Weight. #83 opened on Oct 5...
Read more >
How to Use AI FTP Detection - TrainerRoad
Make sure you're on the latest version of the TrainerRoad Mobile app. Step 2. Head to the Account section of the app to...
Read more >
Can't Log Into Application - TrainerRoad
To successfully clear the prompt, you'll need to enter your Mac System password not your TrainerRoad password. After entering the password, ...
Read more >
Calendar Export - TrainerRoad
Note: Completed activity information is not sent to external calendars. ... Paste the URL into the form field; Enter a name and click...
Read more >
Find Answers to the Most Frequently Asked Questions
Find answers to the most frequently asked questions. Visit TrainerRoad Support for help articles or reach out to connect with our support experts....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found