Comments (10)
You have a device that includes a manufacturer id (213) that I haven't seen before, in docs or FIT files. It could be for any device: watch, sensor, etc. Do you know which device it is? Can you share the FIT file that failed with me so I can debug it?
from garmindb.
Here's a link to the existing manufacture definitions: https://github.com/tcgoetz/Fit/blob/6d104df61540931a1f5e88f6f0684cc15c8199a2/field_enums.py#L174
from garmindb.
I'd be happy to share the file if I could find which one has new manufacturer ID. Any suggestions on how to narrow it down? I don't have any guess as what could be the errant device.
from garmindb.
what do the last couple of lines in garmin.log say?
from garmindb.
The last 20 or so lines are all similar to this but with different FIT files.
ERROR:root:Exception in _write_running_entry from /Users/wheath/HealthData/FitFiles/Activities/1654927128.fit: 'Cadence' object has no attribute 'to_f'
Here's the FIT file in TXT so I could upload it
The JSONs of those files all appear to have null as the manufacturer
from garmindb.
Looks like all these activities were tracked on my "vívoactive HR" by Garmin
from garmindb.
1654927128 parses fine for me and I don't see any manufacturer ids other than garmin.
Can you post the log file? What code version are you running?
from garmindb.
ERROR:root:Exception in _write_running_entry from /Users/wheath/HealthData/FitFiles/Activities/1654927128.fit: 'Cadence' object has no attribute 'to_f'
commit c0801bd fixes this issue
from garmindb.
Hi.!
i have the same issue with other manufacturer code
(builtins.LookupError) "164" is not among the defined enum values
[SQL: UPDATE devices SET serial_number=?, timestamp=?, manufacturer=?, product=? WHERE devices.serial_number = ?]
[parameters: [{'product': 'UnknownProduct_0', 'manufacturer': 164, 'serial_number': '3923282663000003', 'timestamp': datetime.datetime(2017, 2, 27, 16, 19, 47), 'devices_serial_number': 3923282663000003}]]
witch info do you need for debugging?
from garmindb.
Hi.!
i have the same issue with other manufacturer code
(builtins.LookupError) "164" is not among the defined enum values
[SQL: UPDATE devices SET serial_number=?, timestamp=?, manufacturer=?, product=? WHERE devices.serial_number = ?]
[parameters: [{'product': 'UnknownProduct_0', 'manufacturer': 164, 'serial_number': '3923282663000003', 'timestamp': datetime.datetime(2017, 2, 27, 16, 19, 47), 'devices_serial_number': 3923282663000003}]]witch info do you need for debugging?
Hi can you open a new issue for this? Can you share file that produced this error? Also what device is this?
from garmindb.
Related Issues (20)
- '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
- "make setup" do not find bash on newer mac OSX HOT 2
- Unclear what python version is required HOT 2
- script finds 0 activities HOT 1
- Feature request: Add support for Training Status/Training Load HOT 5
- Feature request: Multi-threading or multi-processing for --import and --analyze commands
- `make` redownloading activities HOT 1
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.