mgifos / quick-plan

Defines and schedules Garmin workouts
Apache License 2.0
140 stars 23 forks source link

No error, but no workouts loaded #46

Closed JCPvanHooren closed 5 years ago

JCPvanHooren commented 5 years ago

Any thoughts why I get no statistics and no workouts loaded in my connect?

Successfully logged in to Garmin Connect!

Statistics: Logging out and closing connection Bye

csv:

WEEK,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday
1,"running: TRC Int II - 01min x 5
- warmup: 5:00
- repeat: 5
  - run: 1:00
  - recover: 1:00
- cooldown: 5:00",,"running: TRC Int II - 02min x 5
- warmup: 5:00
- repeat: 5
  - run: 2:00
  - recover: 1:00
- cooldown: 5:00","running: TRC Int II - 03min x 5
- warmup: 5:00
- repeat: 5
  - run: 3:00
  - recover: 1:00
- cooldown: 5:00",,"running: TRC Int II - 04min x 5
- warmup: 5:00
- repeat: 5
  - run: 4:00
  - recover: 1:00
- cooldown: 5:00","running: TRC Int II - 09min x 3
- warmup: 5:00
- repeat: 3
  - run: 9:00
  - recover: 1:00
- cooldown: 5:00"
2,"running: TRC Int II - 09min x 4
- warmup: 5:00
- repeat: 4
  - run: 9:00
  - recover: 1:00
- cooldown: 5:00",,"running: TRC Int II - 14min x 3
- warmup: 5:00
- repeat: 3
  - run: 14:00
  - recover: 1:00
- cooldown: 5:00","running: TRC Int II - 20min
- warmup: 5:00
- run: 20:00
- cooldown: 5:00","running: TRC Int II - 09min x 5
- warmup: 5:00
- repeat: 5
  - run: 9:00
  - recover: 1:00
- cooldown: 5:00","running: TRC Int II - 14min x 4
- warmup: 5:00
- repeat: 4
  - run: 14:00
  - recover: 1:00
- cooldown: 5:00",
mgifos commented 5 years ago

Which version of the application do you use?

mgifos commented 5 years ago

And please provide your command as well.

JCPvanHooren commented 5 years ago

Found the issue... below statement in the help made me assume that 'import' was not needed in the command:

Command: import Imports all workout definitions from CSV file. If it's omitted, it is will be on by default.

Turns out it was required.

mgifos commented 5 years ago

Yes, you are right. I should've deleted that from the documentation once a command wasn't mandatory.