GarminTools icon indicating copy to clipboard operation
GarminTools copied to clipboard

the application doesn't output anything with no errors

Open andyaaz opened this issue 3 months ago • 8 comments

Image the conversion seemed to have worked but there's no output nor errors

andyaaz avatar Oct 04 '25 08:10 andyaaz

Could you attach or send the spreadsheet file? It must be failing during part of the read, hopefully I can figure it out if I load the sheet myself, at which point I should be able to both correct the sheet and improve the error reporting.

Thanks.

jpickup avatar Oct 04 '25 09:10 jpickup

just found the issue with main branch head (it has more logs than installer version). seems the pace must be a range. but now the generated fit files are not accept by garmin connect web

Image

andyaaz avatar Oct 04 '25 09:10 andyaaz

Image Image

fyi (after i fixed pace definitions)

andyaaz avatar Oct 04 '25 09:10 andyaaz

The FIT files must be copied directly to the watch, in the garmin/newfiles folder. Garmin Connect doesn't read this kind of FIT file, I think it'll only read activities.

jpickup avatar Oct 04 '25 10:10 jpickup

ah ok

andyaaz avatar Oct 04 '25 10:10 andyaaz

@jpickup i am able to import it successfully to my watch with a build from the master branch. but same issue with https://github.com/jpickup/GarminTools/packages/2622570

andyaaz avatar Oct 05 '25 11:10 andyaaz

Damn, the package doesn't work. This was my first attempt at using the GitHub build pipeline, which all came about after a request for a Linux version, some trouble building the Windows version now that I'm on an Apple silicon Mac, and issues with GitHub's large file support, which was how I previously uploaded the installers. I naively thought that if the app started then it was properly built, but that's clearly not the case. Diagnosing this could be interesting!

A few questions, probably won't help with diagnosis, just curious:

  • Which OS are you running on? From your screenshots I'm guessing MacOS.
  • When you run from the master branch are you running a Maven build or running from an IDE?

jpickup avatar Oct 05 '25 11:10 jpickup

OK, I think I've solved this. Eventually tracked it down to the static initialisers in WorkoutConverter, specifically the point at which Yoga and Pilates were added to the map. This was a very recent addition as someone had asked for more workout types and adding them was trivial but I never checked if the bundled app actually worked. That it does work in the IDE is just weird, which makes this a very unsatisfying fix as I don't really understand the root cause.

The version is bumped to 1.3 so look for that in the packages.

jpickup avatar Oct 05 '25 14:10 jpickup