8000 How do I install this software on Ubuntu 22.04.4 LTS? · Issue #1 · andyrozman/ggc · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

How do I install this software on Ubuntu 22.04.4 LTS? #1

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

Open
LucidEye opened this issue Apr 4, 2024 · 21 comments
Open

How do I install this software on Ubuntu 22.04.4 LTS? #1

LucidEye opened this issue Apr 4, 2024 · 21 comments
Labels

Comments

@LucidEye
Copy link
LucidEye commented Apr 4, 2024

I downloaded the zip file from the Sourceforge page as you stated but I see no install instructions or how to run this app on Linux.
I tried looking for help or info on the sourceforge forum for this project, but the newest post was 6 years old????
All of the README files in the zip file are at least 12 YEARS OUTDATED????
Is this project still being actively developed???
Does the software actually work???
Is there any RECENT documentation on how to install/run this app on Ubuntu 22.04?

@andyrozman
Copy link
Owner

Hi !
Project was in hibernation for last 7 year, I just moved it here and I am trying to continue where I left off, so it will take me a while to get it working... started some big changes back there, so I have to get it there first... You could go with last version, see webpage http://ggc.sourceforge.net . Version 0.7.1 is fully working.

How to run on Ubuntu:
You should download latest version unzip it and go into bin and run "run_linux.sh". You will need to have Java 8 or higher installed.

As for next version:
I plan to have new version running in next few weeks and we will go from there.

@LucidEye
Copy link
Author
LucidEye commented Apr 4, 2024

Thank you for the quick reply. Can this app download data directly from a OneTouch Verio Flex glucose meter via USB or Bluetooth connection, or would I need to enter the data manually? So far I have not been able to find any 3rd party or open source apps that can connect to this common meter, and OneTouch does not offer an app that is compatible with Linux or Android 9 :-(

@andyrozman
Copy link
Owner
andyrozman commented Apr 4, 2024

I am affraid that this meter is not supported. Adding new meter is usually a lengthy process, where we either discover how protocol works (by looking at some other application) or we get support from company itself (this was at least in the past big problem, because not many companies are "developer friendly", at least they weren't in the past). Each of them usually has their own product that they want people to use. And second step is that we somehow get our hands on one such meters and with help from step 1 add it into application...

Do they have app for Windows? Maybe its written in .NET then I could decompile the code and see how it works.

@andyrozman
Copy link
Owner

I just did little inventory and I found that I actually own such meter (got it on one of the diabetes events)... So now we just need to find software that supports it and see if we can make it work in GGC... I have to get battery for meter so that I can check if it actually still works...

@LucidEye
Copy link
Author
LucidEye commented Apr 4, 2024

The OneTouch meter has an IoS app, an Android app, a PC app for mac and windows only, and a web-based app. I was trying to use the web-app, but it still requires a Windows-based downloader executable that allows you to use the USB connection to download the data stored in the meter and transfer it to the web-app. For some reason I can not get this app to run in WINE. I tried to attach that executable in a zip file, but it was too large and it wouldn't let me attach it. :-(
I don't have a link to the file either since you need to sign up for a one-touch account to access the download :-( Wish I could be more help.
Here is the link for the web-app documentation...
https://www.onetouch.ca/sites/default/files/2023-10/UserManualConsumer_en_CA.pdf

@andyrozman
Copy link
Owner

Mhm. You coud try PlayOnLinux. It is sort of "manager" for wine... And when you do install, select x86 install version, because it usually works better. When you use wine, that is system version, which is usally very far behind the current one... I am also on Ubuntu 22.04 and I know the problems...

@LucidEye
Copy link
Author
LucidEye commented Apr 5, 2024

I've tried several settings in wine, and I've also tried play on linux and wine tricks, but I've had no luck with any of them. The download-app is 32 bit. Towards the end of the app install in wine I always get a message saying there are "outdated drivers" and then there is a prompt to upgrade or cancel. Upgrading always crashes the app installer and wine, and canceling will then open the downloader app, but it is frozen and can only be killed. I'll have to see if I can setup a VM with an old windows version... if I can still find a disk... the last time I used a windoze machine was way back when XP was the thing. :-P

@andyrozman
Copy link
Owner
andyrozman commented Apr 5, 2024

He he... You can download windows 10 for free in run it in free mode (unregistered). I do the same... You can also make a snapshot after install, so that you can reset it back (in wors case scenario). You will probably need at least version 10 or something, anything older might not work...

@LucidEye
Copy link
Author
LucidEye commented Apr 5, 2024

Does your software allow for manual data entry? All I really want to do is input my meter reading and the time/date of the reading so I can generate a graph. I suppose I could just use a LibreOffice spreadsheet and generate a graph from that, but I was hoping to find an app that also allows me to track my food intake for comparative correlation. There seems to be a lot of phone apps out there, but they all seem to be for iOS or Accu-Check brand meters which my insurance doesn't cover... and I don't want to have to buy a new phone that is compatible with Android 10 (my phone won't run A10 for some reason) :-( I'm really surprised there aren't already more open source apps for glucose monitoring.... or a huge class action lawsuit to force these device manufacturers to make their apps compatible with more systems like Android 9 or Linux :-(

@andyrozman
Copy link
Owner

Of course it does. This would be one of main functions to add data... You can then see graphs and print reports.

@LucidEye
Copy link
Author
LucidEye commented Apr 5, 2024

Sounds good. I'll try checking out your software this weekend. Thank you again for all the info. I'd also like to help out in any way I can with this project... I think open source medical apps like this are extremely important for so many people. I'm not really a programmer, I've dabbled a bit in python, but I can always do testing and bug hunting, and I'm pretty good at figuring out hardware.

@andyrozman
Copy link
Owner

Adding OneTouch Verio Flex will be much harder than expected... I can't connect to it with BT and java bluecove library and connecting with standard cable doesn't work either... It seems like you have to have special cable for downloading the data... Need to find where I can get that cable... and get it first.

@LucidEye
Copy link
Author
LucidEye commented Apr 8, 2024

The meter you have must be a really old model.
The revision date on the back of my meter says 06/2022.
IMG_20240408_081954
IMG_20240408_081845

I am running Ubuntu 22.04 on an old Dell Optiplex computer, and I can connect with Bluetooth and a standard micro-USB cable with no problem.

When I plug the meter into a standard micro-USB cable the meter shows up in my Disks Manager and File Manager as "LIFESCAN".
image

image

Entering "lsusb" from the command line shows a list of all USB devices connected to the machine and the meter shows up like this...
Bus 003 Device 004: ID 2766:0004 LifeScan Verio Flex

In the File Manager there is only one file shown under that device which is "startup.htm".
There are no hidden files or directories that I can find.
Double-clicking on the "startup.htm" file opens the web page that has all of the links to their apps, which don't work on Linux :-(
https://www.onetouch.com/products/softwares-and-apps/one-touch-reveal-mobile-and-web-app

Connecting via Bluetooth is pretty much the same... I can connect and pair the device, but I can't access any of the data that is on the device without their data-transfer-app, which does not run on Linux or Android 9.
image
image

@andyrozman
Copy link
Owner

I get everything you said, but here is the problem. In most of cases when I connect meter, I get port which I can access (most of the older meters), for the new ones, access needs to be done through USB HID interface. But since meter identifies himself as disk device, when I try to look it up through my HID library, it doesn't show there at all... I will try to see if I can update my libraries and if it shows then, but this might take some time. I tried to accessing it through BT library, there it doesn't even show (problem is that BT support with java is very bad and library is very old, which might be a problem).
There is supposed to be "special" cable that I could use, but its only available in USA, I can't even order it (from Europe). I will let you know if upgrade of HID library helped.

My model is little bit older but not by much. I got in 2019 I think.

@LucidEye
Copy link
Author
LucidEye commented Apr 8, 2024

I live in the US, and I am unaware of any "special cable" that is made or required for this model of meter. USB 2 protocol is USB 2 protocol... it's a standard, therefore there are no "special cables", unless you are talking about a "charging only" cable that does not connect the data D+/D- lines and only has the VCC+ and GND lines connected. Any standard USB data cable should work with these meters as far as I am aware.
Even their website says that these meters work with a "standard USB cable"...
https://support.onetouch.com/s/article/OneTouch-Verio-Flex-Downloading-Results-to-a-Computer#:~:text=You%20will%20need%20a%20standard,download%20results%20(not%20included).

@andyrozman
Copy link
Owner

It seems that this meter uses some special way to get the data (through SCSI interface) - see this https://protocols.glucometers.tech/lifescan/onetouch-verio-2015 now I have to find a way to do this with Java. So it might take some time...

@LucidEye
Copy link
Author
LucidEye commented Apr 10, 2024

Lots of interesting info there. I'll have to look over it more carefully when I have more time.

By the way, I tried running your app like you said by executing the run_linux.sh file.
First I set the file properties so that it could be run as an application, then I ran it from the file manager by double clicking it and then clicking run on the execution popup window.
The app opens, says it is "initializing", but it seems like it's frozen. I can't do anything in the app... most of the options are grayed-out, and the ones that are not grayed-out don't do anything when I click on them. I can't even close the app. I can't even find the process in the System Monitor to kill it manually, so I needed to reboot my computer to kill the app! App in it's current state seems to be completely broken and non-functional on Ubuntu 22.04 :-(

@andyrozman
Copy link
Owner

It should work ok Ubuntu, since this is my working computer... What you need is following:

  1. You need to have Java 8 available (if you type java in terminal you should get some output)
  2. You need to open terminal and go to where you unpacked application. Then you go into bin folder and then you do run_linux.sh. This version of application requires that you start from specific folder, so that all data files can be found...

If you contact me via email, I can make current version available to you... At the moment it is not downloadable (it is buildable already from repository), but I have project so far that it runs now as it should... Still some issues to fix, before I will make release, but most of stuff works now...

@andyrozman
Copy link
Owner

So good news... I found library that I could use the data from device through SCSI. Had to rewrite it to work on desktop computers (was intended for Androids), but after few days I got it working... I managed to read first data from device today (just a record count), but this is big step in right direction. If everything goes ok, we could have test version ready in next 2 weeks or so.

@uncledulgaria
Copy link
uncledulgaria commented Nov 24, 2024

If you contact me via email, I can make current version available to you... At the moment it is not downloadable (it is buildable already from repository), but I have project so far that it runs now as it should... Still some issues to fix, before I will make release, but most of stuff works now..

I'm also interested, I'm running Manjaro with Cinnamon desktop (rolling update), with jre 8.422 installed. I ran run_linux.sh from the terminal in bin folder, and could see lots of errors, and the same symptoms as LucidEye in the app window.
A simple Ctrl-C in the terminal quits the app.

I have Accu-Chek SmartPix i/r device for Performa Nano, and recently acquired an Accu-Chek Instant that uses standard USB.
Up to now I've been able to run the SmartPix app in Widows 10 (dual boot) in order to download, then SmartPix app in Wine to evaluate and create the graphs on both my Linux machines.

jre 11.0.24 is also installed, would that be a problem ?

Regards
Doug
(type 2 diabetic, retired electronics engineer)

@andyrozman
Copy link
Owner

I got sidetracked and couldn't make a release of new version... You could follow instructions on README (Build) and build it yourself and run that... You need to have java JDK installed (any version after 1.8) and maven and you can make build yourself (all steps are there) and also step for running it... Smartpix support is already there (it was there from 0.6 version I think)...

As for old versions. If you download full zip and got into <unpacked_folder>/bin and run "run_linux.sh" it should work. I haven't tried running old versions with java 11, but it should work... If you have more question just send me email, and maybe I can share built version of 0.8 (if you can't build it yourself)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants
0