Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error finding workout steps #26

Open
darkphalanx opened this issue Apr 20, 2022 · 7 comments
Open

Error finding workout steps #26

darkphalanx opened this issue Apr 20, 2022 · 7 comments

Comments

@darkphalanx
Copy link

darkphalanx commented Apr 20, 2022

Hi I get an issue when fetching the next workout:
Im in a taper fase in TAO maybe that has to do with it...

`2022-04-20 18:16:27.773 | INFO | trainaspower.trainasone:get_next_workouts:41 - Fetching next TrainAsOne workout.
2022-04-20 18:16:28.774 | DEBUG | main:main:100 - Error
Traceback (most recent call last):

File "trainaspower\trainasone.py", line 98, in get_workout

AttributeError: 'NoneType' object has no attribute 'group'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):

File "trainaspower\trainasone.py", line 51, in get_next_workouts

File "trainaspower\trainasone.py", line 108, in get_workout

trainaspower.trainasone.FindWorkoutException: Error finding workout steps: ("'NoneType' object has no attribute 'group'",)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):

File "trainaspower\main.py", line 108, in

File "trainaspower\main.py", line 88, in main

File "trainaspower\trainasone.py", line 56, in get_next_workouts

trainaspower.trainasone.FindWorkoutException: Error finding next TaO workout: Error finding workout steps: ("'NoneType' object has no attribute 'group'",)
2022-04-20 18:16:28.776 | ERROR | main:main:101 - Could not load next Train as One workout. Created taocalendar.html for debugging.
`

@jahofmann
Copy link
Contributor

Can you upload your trainaspower.log?

@darkphalanx
Copy link
Author

trainaspower.log

Here you go :)

@jahofmann
Copy link
Contributor

Ah, so no additional information. Can you download the Garmin Workout JSON from TAO and upload that?

@darkphalanx
Copy link
Author

@jahofmann
Copy link
Contributor

Wonderful, thank you. That file looks alright, I'll see if I can find out what's going wrong.

@jahofmann
Copy link
Contributor

Are you on the latest release?

@darkphalanx
Copy link
Author

Just came back from my run and it just downloaded the run for tomorrow correctly. Maybe todays run was "special", I don't know but now it works fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants