Coder Social home page Coder Social logo

contourtool's People

Contributors

bnjones avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

contourtool's Issues

Paramerter "--glucose-units mg/dl" doesnt work

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 #

IO protocol error Expected 2 interfaces, device has 1

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.

ImportError: attempted relative import with no known parent package

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

IO or protocol error: [Errno 2] Entity not found

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.
contourtool_errno2

Connection issue

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.

fails to connect on osx

On OSX, connected via USB (9699 model contour next), i get this:
IO or protocol error: No device with vendor=0x1a79 and product=0x7410

Module not found when running contourtool -o

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.