I just would like to get back to you and let you know that I found my “error/problem”.
In my Intervals calendar I had a planned workout for the given date (24 February) because of that workout, the suffersync stopped.
I removed all planned workout and suffersync works now:
Is there an easy way to delete multiple planned activities (imported by suffersync)? I know intervals.icu has a feature for training plans with “Delete & Others”, but that options doesn’t seem to be an option for imported activities.
Awesome script! All activities synced except for biking ones. I think each one errored with the following:
‘charmap’ codec can’t encode characters in position 245-249: character maps to
Something went wrong: 422 Client Error: for url: https://intervals.icu/api/v1/athlete/i47???/events
(I have obfuscated the url)
Is this todo with biking now having indoor and outdoor versions? I have found a folder with all the bike zwo files in but they are all 0byte.
When using the export calender feature (intervals.icu) it could be helpful, when the workout will be shown at a fixed time at day instead of all day. I guess most people do their sessions more or less at the same time of the day.
That timing was added for sorting order in the calendar as some users were having multiple workouts in a day and wished to have the order the same as their workout timing.
Work’s kept me busier than expected so apologies for the delay in responding here.
@oschmidt, I’d have to check the API calls involved but that might be possible as an optional item in the configuration. However if one has multiple activities planned on a day, they will all be scheduled at the same time which is perhaps what @app4g is referring to.
@Vilbs, thanks for that - I’ll do some testing and might force UTF-8 encoding in future versions to avoid this from happening.
Then as per the getting started notes just edit the suffersync.cfg file and add your intervals.icu athlete id & api key, and your Wahoo username & password, and you should be good to go.
Hi ,
i have another question . As these endpoints are not openly exposed by Wahoo and Documented in the Api Documentation . Is this not against copyright to draw Workout data from these sources ? Dont get me wrong , its great to be able to sync Systm with Intervals , but it could be a problem , no ?
Blockquote
File “/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/suffersync.py”, line 458, in
main()
File “/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/suffersync.py”, line 282, in main
start_date_local = datetime.strptime(start_date_local, “%Y-%m-%dT00:00:00”).date()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/_strptime.py”, line 568, in _strptime_datetime
tt, fraction, gmtoff_fraction = _strptime(data_string, format)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/_strptime.py”, line 349, in _strptime
raise ValueError(“time data %r does not match format %r” %
ValueError: time data ‘2023-03-06T08:00:00’ does not match format ‘%Y-%m-%dT00:00:00’
I’ve also scheduled some workouts manually, but want to sync SYSTM workouts in addition. Why is it conflicting?