-
Notifications
You must be signed in to change notification settings - Fork 11
Make the auto-import more flexible #122
Comments
Hi @evensolberg, thanks for opening up that issue. I think it would make sense to improve the flexibility of the import mechanism. Up until now I simply assumed all devices had an One potential solution to this could be to make the folder name in which the activities are stores configurable via the settings page. This would be similar to what was done in #91 (what was changed again later on). For my Garmin device this would for example be
Do you think this approach could work and solve your issue? |
To be honest, I don't even know where the files are stored. I normally email them to myself and then dump them out into a directory, since I use them in multiple applications. So yes, being able to just point to an arbitrary directory would work nicely for me. I tried copying the files to an |
Your workflow sounds to me like you do have your activity files already stored on your local system (opposed to on your watch/device). In that case the settings option called "Path to Traces Directory" should do exactly what you are looking for. For the sake of clarity, let me explain the difference:
I suggest you give this option a try for importing your activity fit files into workoutizer. Note, this holds true for the current version
For debugging you could run workoutizer in debug mode, by setting the following environment variable prior to running it:
You should be able to see something like
Where Let me know whether this is of any help or if I totally got your workflow wrong 😉 |
I will give this a try, thanks! I didn't realize that's what the other option was for. :) It would be nice to have some kind of feedback in the user interface during the import, though, since I have 100+ files in the directory, and no way of knowing if anything is happening. |
Yea, you are right. The only feedback one could currently see, is by looking at the command line - which is of course not a good user experience... I created #123 for this purpose and will think about how this could be solved. Ideas or contributions on this are welcome ;) Any news on the usage of |
Nothing seems to be happening with the Path to Traces Directory. I changed it, and clicked the Reimport button, and nothing happens. Some feedback mechanism would be nice. ;-) As for the feedback in the UI, I'd love to see progression and maybe a tail of the last few log messages. If the logs could be output to a file, that would be handy too. |
Ok, I get it... some feedback would be nice - agree on that :D (#123) After changing the
|
Okay, I was finally able to get to this. Apologies for the delay. Here's what I'm seeing in the log. I went into the settings and clicked "Reimport Files" at 17:27:16.
|
Thanks for looking into this in more detail. The traceback provided clears things up: Turns our workoutizer is not able to parse your Could be that Therefore I would offer to analyze the problem with your fit files on my side a bit further. In case you don't mind sending me one of your files (which caused the above traceback), of course. |
Sure, I can do that. Just give me a little time. Weekdays are somewhat busy. 😃 |
No worries, take your time 😃 Regarding transferring the file, you could either
|
2019-04-12-140638-FITNESS 416C-2-12.fit.zip Attached is the first file it's trying to upload. Thanks for your patience. |
Thanks for sharing your file. I had a closer look and figured that the issue is actually coming from In order to have your wahoo device supported in workoutizer, it needs to be supported by |
In fact, this issue looks to be the same problem. |
Closing this for now, since it is not a bug in workoutizer. Also note, that I added feedback notifications when clicking "Reimport Files" or changing the "Path to Traces Directory" on the settings page (which closes #123) in version 0.18.0. |
Right now it's hardcoded to look in a /Activity subdirectory in the specified Garmin folder. I import my files from other devices (Wahoo) using other mechanisms, and I'm not using a /Activity folder. It would be nice if it could be optional to NOT look in that folder.
The text was updated successfully, but these errors were encountered: