Open MichaelDHallPolarFlow opened 1 year ago
When I try to run main.py this is what I get.
Okay I had to fix a typo, in line 14 of the constants.py 'slach' needs to be 'slash'
I had to pip install 'geopy' and 'unidecode' from line 6, and line 7 of utils.py
And now I get to this...
Now, however, when I run the analysis. It fails to load .json files.
Do I need to first Build database Option 3 before Analysis?
I created a config.yml file but I am not sure where to put it or if it is even working properly.
I was able to build a database processing three training sessions
I choose option 1 analysis after building the database. And even though it failed to find all *.json files out from the list of 15 provided....
I choose option 0 for ALL SPORT. I choose time span from the beginning to analyze.... I chooses option 1 get sessions count instead of option 2 get sessions distances...well because I am not using GPS...
At the end it produces a bar graph with number of sessions per sport training activity.
ISSUE # 1: When I run $ pip install -r requirements.txt I get two packages with error messages. json glob
ERROR: Could not find a version that satisfies the requirement json (from versions: none) ERROR: No matching distribution found for json
ERROR: Could not find a version that satisfies the requirement glob (from versions: none) ERROR: No matching distribution found for glob
############################################################################ ISSUE #2: I have followed the API instructions and created an open access link to my Polar Flow account.
A config.yaml file does not exist in your repository. Am I supposed to create one with only the Client ID and Client Secret information generated from application above? Can you provide an example config.yaml file that can be used?
#######################################################################################################
ISSUE #3: What is the data structure supposed to look like. You say you need to create some folders with data being the top level directory. However where in relation to your repository is this supposed to be?
This is my data tree.
This is the data tree you say we need to create before executing main.py
Thank you if you can help me better understand...
Michael