Bit of a numpty question but where do I find the TrainingPeaks Authorisation cookie? I’ve had a look but can not see where to find it. I’m on a Mac. Cheers. Dave
Hello, I am looking for assistance to install this on a mac. I downloaded the 216MB DMG file, however, I get an error message when trying to install it. The message is …
tp2intervals cannot be opened because the developer cannot be verified … eject disk image or cancel.
Any assistance would be greatly appreciated.
Believe this is due to it being download from internet and Mac gatekeeper or FileVault (I dunno what it’s called) will cause this alert
It should be something on your settings. Security that can be changed on the Mac.
Can’t remember what/where it is exactly.
- System preferences
- Security & Privacy tab.
- Click on the lock icon and enter the password to make the desired changes.
- Change to “Allow apps downloaded from”
Hi,
Thanks for putting this app together. I have a TrainerRoad account, and I’m having difficulty in identifying the cookie:
I’m copying from TrainerRoadAuth= all the way to the semi-colon, and I’m getting the following error:
This is telling me I’m probably not grabbing the information from the correct location. Can you help?
Thanks.
cy
You are doing all right., seems TR has different values for cookie than I expected.
I removed strict validation for TR configuration, you can now download version 0.5.4
Check this out [IMPLEMENTED] Push workout to Wahoo - #87 by nasatt
Also, sometimes seems you need to update page few times [IMPLEMENTED] Push workout to Wahoo - #104 by Zen_Turtle
Hi,
Thanks for the quick reply! I was able to set the cookie, and now I’m receiving this error when trying to import planned workouts:
Note: originally, I did not complete anything in the first section, copy workout, and I received the same error. I went ahead and selected a drop down item from it to see if it would change anything, and I received the same error.
Thanks!
cy
Edit: I was able to import a workout from TR to Intervals, so that works! Thanks!
Unfortunately, I haven’t been able to get this to work yet…
Here’s my athlete account workout folders in TP that I’ve shared from my coaching account…
You can see two Bike folders.
Here’s what I see when trying to copy plan from tp2intervals…
When I try to copy the first ‘plan’, Bike (folder), I get the following error:
Error while extracting response for type [java.util.List<org.freekode.tp2intervals.infrastructure.platform.trainingpeaks.library.TPWorkoutLibraryItemDTO>] and content type [application/json;charset=utf-8]
I am able to copy the second ‘plan’, Bike (folder), but it’s the folder with only 15 workouts.
Thanks for all your help with this.
Go to developer option in browser settings and try follow the screenshot from the post linked above.
Edit: I’m using Brave Browser
Settings > more tools > developer tools
Then select the ‘network’ tab and ‘all’.
I don’t have these options in TrainingPeaks - is that because I am not paying for a subscription but using the free service?
These are browser setting rather than TP settings. The auth cookie isn’t subscription dependent.
The free service has some limitations, like only being able to load certain information, eg. adding/removing notes is a premium function.
The plan folder is limited to 5 workouts, for a free account. I’m not sure if that’s just viewing 5 workouts, or 5 in total.
I do like the option to sync a planned workout to TP, for it to then push to Zwift.
I can’t reproduce the issue. I surely need logs to understand what’s wrong.
Do you run AppImage executable on Ubuntu?
This project was the final piece that was missing for me to finally switch platforms
Great work! I had a flawless experience copying my workout library and training plans saving me tons of manual work.
Thank you. That’s very nice
Hi, thanks for your help.
I PMd you the log file.
OK. Finally got to the right page - my numptyness. But I do not get the cookies showing.
But you’ll see a yellow triangle and a red exclamation mark that indicate when I click on them that there are errors. Is that why I am unable to see cookies despite repeatedly clicking on cookies?
Check under ‘Headers’ tab
Required cookie is used most of the time with rest endpoint /token
to get authentication token. Write token
in this input and it should return at least one request.
If you have still none, try to update the page (without closing dev tool).
Great looking tool - thanks for sharing!
Side thought, could the tool be used to go the other way - eg. to copy across completed workouts in intervals.icu to TrainingPeaks? I have a specific use case in mind…