bnjones / contourtool Goto Github PK
View Code? Open in Web Editor NEWRead data from Contour Next USB blood glucose meters
License: GNU General Public License v3.0
Read data from Contour Next USB blood glucose meters
License: GNU General Public License v3.0
If call countourtool wiht parameter "--glucose-units mg/dl", i get the followig issue:
server01 contourtool # contourtool --glucose-units mg/dl
Sequence,Timestamp,Type,Value,BelowScale,AboveScale,BeforeMeal,AfterMeal,DontFeelRight,Fasting,Sick,Stress,Activity,HoursAfterMeal
IO or protocol error: [Errno 5] Input/Output Error
server01 contourtool #
First, thank you very much for developing this software.
Second, I was able to connect to the device by changing the vendor
and product_id
in meter.py to
vendor_id = 0x1a79 # Bayer
product_id = 0x7350 # Contour Next USB
Now I run into this error IO or protocol error: Expected 2 interfaces, device has 1
.
I am running on Linux Mint. Thank you in advance for any help.
Traceback (most recent call last):
File "C:\Program Files\Python36\lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "C:\Program Files\Python36\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "contourtool_main.py", line 10, in
from . import main
ImportError: attempted relative import with no known parent package
Hello!
First of all, thanks so much for your work on this tool. This will likely end up helping me with a data science project.
Before I get to that, though, I'm having an issue connecting to my Contour Next USB. I verified that libusb sees my device, but contourtools does not. Please see the attached image.
When try to connect the following error is returned:
IO or protocol error: No device with vendor=0x1a79 and product=0x7410
I did not know whether these id's are supposed to be changed in the 50-contour.rules file and if so to what or are they universal to all contour next monitors.
If there is an immediate fix please contact me at "[email protected]". Thank you.
On OSX, connected via USB (9699 model contour next), i get this:
IO or protocol error: No device with vendor=0x1a79 and product=0x7410
I think i've got this installed right, no errors during the "python setup.py install"
When I run "contourtool -o x.csv"
I get a module not found
Traceback (most recent call last):
File "C:\Python38\Scripts\contourtool-script.py", line 11, in
load_entry_point('contourtool==0.1', 'console_scripts', 'contourtool')()
File "C:\Python38\lib\site-packages\pkg_resources_init_.py", line 490, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "C:\Python38\lib\site-packages\pkg_resources_init_.py", line 2862, in load_entry_point
return ep.load()
File "C:\Python38\lib\site-packages\pkg_resources_init_.py", line 2462, in load
return self.resolve()
File "C:\Python38\lib\site-packages\pkg_resources_init_.py", line 2468, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "", line 259, in load_module
File "C:\Python38\lib\site-packages\contourtool-0.1-py3.8.egg\contourtool_init_.py", line 26, in
File "", line 259, in load_module
File "C:\Python38\lib\site-packages\contourtool-0.1-py3.8.egg\contourtool\astm.py", line 12, in
ModuleNotFoundError: No module named 'controlchars'
I've checked the egg file and the contourtool folder and that "controlchars.py" file is there.
Any ideas?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.