Comments (6)
My bad. That's a new file I forgot to add. Added. Pushed.
from garmindb.
that module thows the following error for me:
INFO:/Users/bpb/repos/garmin_activity/GarminDB/GarminConnectEnums.py:Unknown event type: {u'typeId': 9, u'typeKey': u'uncategorized', u'sortOrder': 10}
Traceback (most recent call last):
File "import_garmin_activities.py", line 392, in <module>
main(sys.argv[1:])
File "import_garmin_activities.py", line 380, in main
gjd.process_files(db_params_dict)
File "import_garmin_activities.py", line 279, in process_files
event = GarminConnectEnums.Event.from_json(json_data)
File "/Users/bpb/repos/garmin_activity/GarminDB/GarminConnectEnums.py", line 23, in from_json
return cls(json_event['typeId'])
File "/Users/bpb/.local/lib/python2.7/site-packages/enum/__init__.py", line 347, in __call__
return cls.__new__(cls, value)
File "/Users/bpb/.local/lib/python2.7/site-packages/enum/__init__.py", line 662, in __new__
raise ValueError("%s is not a valid %s" % (value, cls.__name__))
ValueError: 9 is not a valid Event
make: *** [import_new_activities] Error 1
from garmindb.
Cool! That's actually a missing value from the event enum since I don't have any activities of type 'uncategorized'. I'll add it in a second.
from garmindb.
pushed
from garmindb.
Thanks!
from garmindb.
If you find some info for one of the unknown message or fields, open another bug for it. Sometime you can figure out what a field is based on comparing it to other known fields. Timestamp are all similar values.
from garmindb.
Related Issues (20)
- No module named 'PyInstaller.__main__' HOT 2
- [Question]Run commands/analysis on already downloaded activities.csv file from Garmin Connect HOT 1
- Error: No module named 'numpy.core._multiarray_umath' HOT 1
- no name value in field 'activities.name' if subsport is cardio HOT 4
- Cannot use garmindb_cli.py HOT 5
- SQL Failed to write message - INSTERT INTO activities_devices - Fenix 7 support? HOT 5
- 'Document' object has no attribute 'add_header' HOT 4
- Improve login by migrating Cloudscraper to Garth HOT 37
- Activity ID incorrectly parsed from filename HOT 14
- Downloading Database Fails since 9/25/2023 HOT 8
- Try to update DB with latest fails HOT 1
- Can't download activities since somes weeks HOT 15
- cannot download data from garmin HOT 7
- No today data HOT 9
- Getting Failed to parse error on multiple activities HOT 3
- distutils not found HOT 4
- Can't login to Garmin HOT 6
- cannot import name 'Graph' from 'garmindb' HOT 1
- HR for given period HOT 1
- Data is missing HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from garmindb.