You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Getting the following error when trying to run the program:
2021-07-12 18:46:31,353 - INFO - peloton-to-garmin: Get latest 1 workouts.
2021-07-12 18:46:31,491 - INFO - peloton-to-garmin: Get workout: a1b421690d6e41b88e78a5563d6041a7
2021-07-12 18:46:31,672 - INFO - peloton-to-garmin: Get workout samples
2021-07-12 18:46:32,277 - INFO - peloton-to-garmin: Get workout summary
2021-07-12 18:46:32,320 - ERROR - peloton-to-garmin.Util: Exception: Expecting value: line 2 column 5 (char 5)
2021-07-12 18:46:32,321 - ERROR - peloton-to-garmin.Tcx_Builder: Failed to Parse Speed/Cal/HR - Exception: 'NoneType' object is not subscriptable
2021-07-12 18:46:32,321 - ERROR - peloton-to-garmin: Failed to write TCX file for workout a1b421690d6e41b88e78a5563d6041a7 - Exception: cannot unpack non-iterable NoneType object
To Reproduce
Steps to reproduce the behavior:
Click on 'peloton-to-garmin-windows.exe'
Enter number of desired activities to retrieve
Expected behavior
.tcx file would be created properly and placed in output folder
Logs
How many past activities do you want to grab? 1
2021-07-12 18:46:31,353 - INFO - peloton-to-garmin: Get latest 1 workouts.
2021-07-12 18:46:31,491 - INFO - peloton-to-garmin: Get workout: a1b421690d6e41b88e78a5563d6041a7
2021-07-12 18:46:31,672 - INFO - peloton-to-garmin: Get workout samples
2021-07-12 18:46:32,277 - INFO - peloton-to-garmin: Get workout summary
2021-07-12 18:46:32,320 - ERROR - peloton-to-garmin.Util: Exception: Expecting value: line 2 column 5 (char 5)
2021-07-12 18:46:32,321 - ERROR - peloton-to-garmin.Tcx_Builder: Failed to Parse Speed/Cal/HR - Exception: 'NoneType' object is not subscriptable
2021-07-12 18:46:32,321 - ERROR - peloton-to-garmin: Failed to write TCX file for workout a1b421690d6e41b88e78a5563d6041a7 - Exception: cannot unpack non-iterable NoneType object
2021-07-12 18:46:32,321 - INFO - peloton-to-garmin: Done!
2021-07-12 18:46:32,321 - INFO - peloton-to-garmin: Your Garmin TCX files can be found in the Output directory: Output
Press the <ENTER> key to continue...
Installation (please complete the following information):
OS: [windows]
Method: [exe]
Version: [1.0.0.0]
Additional context
This is the first time I've encountered this issue
The text was updated successfully, but these errors were encountered:
Peloton changed their API and one of the endpoints we were previously using no longer exists. Would recommend upgrading to V2 where this issue is already resolved (#136#138).
Upgrading to v2 worked, however my Garmin device is now registering that the workouts were recorded on a Forerunner 945, when my actual hardware is a Vivoactive 4. Is there somewhere to define the hardware that is being used?
Describe the bug
Getting the following error when trying to run the program:
2021-07-12 18:46:31,353 - INFO - peloton-to-garmin: Get latest 1 workouts.
2021-07-12 18:46:31,491 - INFO - peloton-to-garmin: Get workout: a1b421690d6e41b88e78a5563d6041a7
2021-07-12 18:46:31,672 - INFO - peloton-to-garmin: Get workout samples
2021-07-12 18:46:32,277 - INFO - peloton-to-garmin: Get workout summary
2021-07-12 18:46:32,320 - ERROR - peloton-to-garmin.Util: Exception: Expecting value: line 2 column 5 (char 5)
2021-07-12 18:46:32,321 - ERROR - peloton-to-garmin.Tcx_Builder: Failed to Parse Speed/Cal/HR - Exception: 'NoneType' object is not subscriptable
2021-07-12 18:46:32,321 - ERROR - peloton-to-garmin: Failed to write TCX file for workout a1b421690d6e41b88e78a5563d6041a7 - Exception: cannot unpack non-iterable NoneType object
To Reproduce
Steps to reproduce the behavior:
Expected behavior
.tcx file would be created properly and placed in output folder
Logs
Installation (please complete the following information):
Additional context
This is the first time I've encountered this issue
The text was updated successfully, but these errors were encountered: