Closed jamierc closed 2 years ago
It should have made a taocalendar.html in the folder, can you send that over?
Thanks - see attached
Jamie
On Tue, 15 Mar 2022 at 12:45, Chase Sterling @.***> wrote:
It should have made a taocalendar.html in the folder, can you send that over?
— Reply to this email directly, view it on GitHub https://github.com/gazpachoking/trainaspower/issues/25#issuecomment-1067475317, taocalendar.txt
or unsubscribe https://github.com/notifications/unsubscribe-auth/AAS7WPGHUM7TDFMXV4ZASL3U77TVDANCNFSM5QWUZZHA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID: @.***>
Hi,
Just wondering if you'd had the chance to look at this yet?
Many thanks Jamie
On Tue, 15 Mar 2022 at 20:37, Jamie Rubbi-Clarke @.***> wrote:
Thanks - see attached taocalendar.txt
Jamie
On Tue, 15 Mar 2022 at 12:45, Chase Sterling @.***> wrote:
It should have made a taocalendar.html in the folder, can you send that over?
— Reply to this email directly, view it on GitHub https://github.com/gazpachoking/trainaspower/issues/25#issuecomment-1067475317, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAS7WPGHUM7TDFMXV4ZASL3U77TVDANCNFSM5QWUZZHA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID: @.***>
Hmm. It doesn't look like there is anything wrong with the calendar, I guess the error reporting needs to be improved a bit. Does downloading the garmin training json manually work for you?
Oh, there should be a trainaspower.log file created that has the full exception info. Can you send that?
Sure, here it is.
On Sun, 20 Mar 2022 at 02:20, Chase Sterling @.***> wrote:
Oh, there should be a trainaspower.log file created that has the full exception info. Can you send that?
— Reply to this email directly, view it on GitHub https://github.com/gazpachoking/trainaspower/issues/25#issuecomment-1073028364, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAS7WPBCE7JGD7M22YGOKDLVAXWCDANCNFSM5QWUZZHA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID: @.***>
I don't see any attachment. Maybe those don't work through email?
Ah, yes I think github strips filenames with certain extensions. I've renamed it *.txt here, that should get through
Thanks Jamie
On Sun, 20 Mar 2022 at 14:05, Chase Sterling @.***> wrote:
I don't see any attachment. Maybe those don't work through email?
— Reply to this email directly, view it on GitHub https://github.com/gazpachoking/trainaspower/issues/25#issuecomment-1073155905, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAS7WPC2PCPFAXMZKQ6HFLDVA2IYNANCNFSM5QWUZZHA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID: @.***>
2022-03-19 20:41:01.641 | INFO | trainaspower.trainasone:get_next_workouts:41 - Fetching next TrainAsOne workout. 2022-03-19 20:41:03.804 | INFO | trainaspower.trainasone:get_workout:101 - Converting TrainAsOne workout to power. 2022-03-19 20:41:03.805 | DEBUG | trainaspower.stryd:get_power_from_pace:48 - Converting 1.2775651483060309 second / meter to power via Stryd calculator 2022-03-19 20:41:05.492 | DEBUG | trainaspower.stryd:get_power_from_pace:48 - Converting 0.6201772564592382 second / meter to power via Stryd calculator 2022-03-19 20:41:06.304 | DEBUG | trainaspower.stryd:get_power_from_pace:48 - Converting 0.6097417315383911 second / meter to power via Stryd calculator 2022-03-19 20:41:07.598 | DEBUG | trainaspower.stryd:get_power_from_pace:48 - Converting 0.5827088468889057 second / meter to power via Stryd calculator 2022-03-19 20:41:10.738 | DEBUG | trainaspower.main:main:100 - Error Traceback (most recent call last):
File "/Users/jamierc/Downloads/trainaspower-master/trainaspower/trainasone.py", line 102, in get_workout w.steps = list(convert_steps( │ └ <function convert_steps at 0x106e8e160> └ <trainaspower.models.Workout object at 0x1071309a0>
File "/Users/jamierc/Downloads/trainaspower-master/trainaspower/trainasone.py", line 145, in convert_steps out_step.length = step["durationValue"] * models.second │ │ │ └ <Unit('second')> │ │ └ <module 'trainaspower.models' from '/Users/jamierc/Downloads/trainaspower-master/trainaspower/models.py'> │ └ {'type': 'WorkoutStep', 'stepOrder': 3, 'intensity': 'COOLDOWN', 'description': 'Run back', 'durationType': 'OPEN', 'targetTy... └ <trainaspower.models.ConcreteStep object at 0x1077c3ee0>
KeyError: 'durationValue'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Users/jamierc/Downloads/trainaspower-master/trainaspower/trainasone.py", line 51, in get_next_workouts yield get_workout(workout_url, date, config) │ │ │ └ @.', stryd_password='Dasilva1', @.', trainasone_passwor... │ │ └ datetime.datetime(2022, 3, 20, 0, 0) │ └ 'https://beta.trainasone.com/plannedWorkout?targetUserId=017104fe9d9d00004aa88d95b508d17f&workoutId=017fa0e160a50000a28b388cb... └ <function get_workout at 0x106e8e0d0>
File "/Users/jamierc/Downloads/trainaspower-master/trainaspower/trainasone.py", line 106, in get_workout raise FindWorkoutException( └ <class 'trainaspower.trainasone.FindWorkoutException'>
trainaspower.trainasone.FindWorkoutException: Error finding workout steps: ('durationValue',)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "
File "/Users/jamierc/Downloads/trainaspower-master/trainaspower/main.py", line 88, in main for wo in islice( └ <class 'itertools.islice'>
File "/Users/jamierc/Downloads/trainaspower-master/trainaspower/trainasone.py", line 56, in get_next_workouts raise FindWorkoutException( └ <class 'trainaspower.trainasone.FindWorkoutException'>
trainaspower.trainasone.FindWorkoutException: Error finding next TaO workout: Error finding workout steps: ('durationValue',) 2022-03-19 20:41:10.750 | ERROR | trainaspower.main:main:101 - Could not load next Train as One workout. Created taocalendar.html for debugging.
Aha. It looks like it might be that we don't support the runback step right now. I'll have a peek at that when I get a chance.
Okay, latest version should properly handle the runback step now. Sorry for the delay, and thanks for reporting!
Fantastic - thanks Chase!
Jamie
On Sun, 27 Mar 2022 at 05:58, Chase Sterling @.***> wrote:
Okay, latest version should properly handle the runback step now. Sorry for the delay, and thanks for reporting!
— Reply to this email directly, view it on GitHub https://github.com/gazpachoking/trainaspower/issues/25#issuecomment-1079754528, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAS7WPCHQZKU4YNLQNMTNDLVB5M3LANCNFSM5QWUZZHA . You are receiving this because you authored the thread.Message ID: @.***>
Ah perfect, just turned runback off and its working now. Thanks so much!
Jamie
On Mon, 21 Mar 2022 at 10:07, Chase Sterling @.***> wrote:
Aha. It looks like it might be that we don't support the runback step right now. I'll have a peek at that when I get a chance.
— Reply to this email directly, view it on GitHub https://github.com/gazpachoking/trainaspower/issues/25#issuecomment-1073368104, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAS7WPDNJB4FZK4RPTPMWQ3VA6VSHANCNFSM5QWUZZHA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID: @.***>
Error message received when running TaP. Checked logins for all tools. Race calculator is available on Stryd. Running on Amazon Linux 2 on AWS EC2.