Closed tholo closed 4 years ago
This is on macOS 10.14.6, with Python 3.7.4, packages in the virtual environment:
Package Version
------------------- -------
aiofiles 0.4.0
Click 7.0
click-default-group 1.2.1
datasette 0.29.2
h11 0.8.1
healthkit-to-sqlite 0.3.1
httptools 0.0.13
hupper 1.8.1
importlib-metadata 0.18
Jinja2 2.10.1
MarkupSafe 1.1.1
Pint 0.8.1
pip 19.2.1
pluggy 0.12.0
setuptools 41.0.1
sqlite-utils 1.7
tabulate 0.8.3
uvicorn 0.8.4
uvloop 0.12.2
websockets 7.0
zipp 0.5.2
I can work around this here (prior to the fix in sqlite-utils) by setting the batch size to something a bit lower here.
@tholo this should be fixed in just-released version 0.3.2 - could you run a pip install -U healthkit-to-sqlite
and let me know if it works for you now?
Yes, that did fix the issue I was seeing — it will now import my complete HealthKit data.
Thorsten
On Jul 25, 2019, at 23:07, Simon Willison notifications@github.com wrote:
@tholo https://github.com/tholo this should be fixed in just-released version 0.3.2 - could you run a pip install -U healthkit-to-sqlite and let me know if it works for you now?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/dogsheep/healthkit-to-sqlite/issues/9?email_source=notifications&email_token=AABIUPYTWYOYSLEAFS7TLMLQBKIBBA5CNFSM4IGSXNNKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD23TDNQ#issuecomment-515322294, or mute the thread https://github.com/notifications/unsubscribe-auth/AABIUP7DCBQ37SESQL7D4WTQBKIBBANCNFSM4IGSXNNA.
Decided to try importing my data, and ran into this:
Added some debug output in sqlite_utils/db.py, which resulted in:
with the attached data: