-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with otverio2015 driver #44
Comments
Hi sorry for the extreme delay in this reply. Can you provide which operating system this happens on, and how python-scsi was installed? |
Hello, I am using Linux Mint, kernel 4.13.0-43-generic x86_64. I have installed python-scsi freshly from github, using setup.py install. For glucometerutils, I've either used the same manual approach with the latest github version, or pip3. Same results. Thanks for help. |
Hello, I'm currently having the same issue. This happens both in Debian and Ubuntu virtualbox. Host machine is Windows 10. Was this resolved in any way? |
I spent a day chasing my tail on this problem. I am using Fedora 29, kernel 4.20.6-200.fc29.x86_64 although none of that really matters. I did not "solve" the problem, just found a work-around as follows:
SUCCESS!! I hope this is helpful to someone. |
Hi pycoder-adc, I can confirm that it works! At least on my office machine, kernel 4.4.0-142-generic, Ubuntu Trusty. Jakub |
Hi pycoder-adc, I can also confirm that it works on Linux Mint 19.1, kernel 4.18.0-14-generic, Python 3.7.2 But first I had to remove (from |
I tried to install
and I get the same message: I found that problem is missing "dot" in
Code on github doesn't have this dot but code from Maybe it worked in Python 2 without dot but Python 3 needs this dot. You can add this dot manually before running
Finnaly I have script which
By the way: I found device name
but using
and looking for device with the newest date and time I see device may have two names at the same time - ie.
|
Thanks furas, script above worked perfectly for me. Block device as identified by |
Hi,
I'm trying to read from my Verio meter via USB, but fail with following report;
$ glucometer --driver otverio2015 --device /dev/sdb dump Traceback (most recent call last): File "/usr/local/bin/glucometer", line 11, in <module> load_entry_point('glucometerutils==1', 'console_scripts', 'glucometer')() File "/usr/local/lib/python3.5/dist-packages/glucometerutils-1-py3.5.egg/glucometerutils/glucometer.py", line 86, in main File "/usr/local/lib/python3.5/dist-packages/glucometerutils-1-py3.5.egg/glucometerutils/drivers/otverio2015.py", line 123, in __init__ File "/usr/local/lib/python3.5/dist-packages/pyscsi/pyscsi/scsi_device.py", line 67, in __init__ self.open() File "/usr/local/lib/python3.5/dist-packages/pyscsi/pyscsi/scsi_device.py", line 105, in open self._fd = linux_sgio.open(self._file_name, AttributeError: module 'linux_sgio' has no attribute 'open'
It looks like some problem with python-scsi. Please help, I am ready to try any suggestions.
The text was updated successfully, but these errors were encountered: