Installing 0.8.0 on Manjaro 24.1 (rolling release) some observations about Accu-Chek meters #6
Replies: 4 comments 21 replies
-
Smartpix should be working correctly on Linux... It was tested and implemented on Linux. Try connecting Smartpix before you start app and test again. Or maybe you have higher version of Smartpix... I am affraid that I can't have have a way to test it at the moment. I would need to get myself a Roche meter first. I will see what can be done... But Smartpix should be supported. I used it a lot in the past, but I haven't tested it with new version. Do 2 tests:
(you can select any Roche meter, they all work the same). And you don't have to explain anything... Testing is good for both types and most of software doesn't work on Linux. I haven't touched this app much before 1 year ago when I managed to move it to github, because people just didn't use it anymore (or at least they didn't tell me they did)... Where did you find information that SmartPix 2.x doesn't work on Linux? |
Beta Was this translation helpful? Give feedback.
-
Would it be possible for you to upgrade to SmartPix 3? I mean SmartPix 3 has been around for over 16 years now... |
Beta Was this translation helpful? Give feedback.
-
I have been using GGC on Linux from the start... So it should work... You should have latest SmartPix installed (which I think its 3.0.5). You can check it on SMARTPIX device in folder misc there is file S* and it shows your serial number and Firmware version. You can easily upgrade by downloading firmware upgrade package... Here is download for upgrade: https://www.accu-chek.ch/produkte/smartpix (it seems actual version is 3.2.5) |
Beta Was this translation helpful? Give feedback.
-
Ok. So I don't know what happened, but it seems that SmartPix doesn't work like it worked before... At least not the version I have... I will have to check and see if I can rewrite this... Really weird... I will have access to my old meters in about 2 weeks, so I will check then... But at least I can see that reading pump with Smartpix doesn't work... I have different version of Smartpix at my parents place and I have to see if that one works better... |
Beta Was this translation helpful? Give feedback.
-
I've now got a working install, on the way I found a couple of issues I'd like to share, either to help others or flag up some potential issues.
Initially I had to find apache-maven-3.6.3 as a tar.gz file on their archive and then install the binaries as per the included README file.
Firstly "Build".
Using "git clone [email protected]:andyrozman/ggc.git --recursive" - it failed to download the atech-tools element due to a problem with the fingerprint.
I got a yes/no/fingerprint request, as I don't have an ssh key, the permission was not granted and that part of the clone failed. Why does the atech-tools need ssh key but the main code not need one ?
The workaround was to download the atech-tools zip file and manually copy the contents into the atech-tools folder.
Running "mvn clean install" meant I got a fully successful build of ggc.
Secondly, I ran "java -jar ggc-desktop-0.8.0-SNAPSHOT-jar-with-dependencies.jar" from the ggc-desktop-app/ggc-desktop/target folder.
On first run, having failed to find the data folder, it stared searching what seemed to be a series of random folders which seem to have data: at the end of the path. - is this correct behaviour ?
17:24:32,405 INFO [GGC:93] - =============== Starting GGC (0.8.0 - 24.11.2024 17:13) ===============
17:24:32,409 INFO [UserDataDirectoryV2Validator:60] - Directory UserDataDirectory: /home/doug/.GNU_Gluco_Control found.
17:24:32,410 INFO [UserDataDirectoryV2Validator:69] - check If All Required Files Exist
17:24:32,411 WARN [UserDataDirectoryV2Validator:83] - File /home/doug/.GNU_Gluco_Control/db/ggc_db.mv.db exists: false
17:24:32,411 WARN [UserDataDirectory:231] - Installation doesn't seem to be valid. Running creation or migration of data directories
17:24:34,004 WARN [UserDataDirectoryV2CreatorOrMigration:149] - determineIfThisIsCorrectDataDirectory: /home/doug/.exact-audio-copy/dosdevices/z:/usr/lib64/qt6/mkspecs/features/data: false
17:24:34,409 WARN [UserDataDirectoryV2CreatorOrMigration:149] - determineIfThisIsCorrectDataDirectory: /home/doug/.exact-audio-copy/dosdevices/z:/usr/lib64/libreoffice/sdk/examples/DevelopersGuide/UCB/data: false
This continued for several seconds, so I did Ctrl-C to end the java command, tried to work out why it was looking in strange folders, then ran the command again.
17:26:40,491 INFO [GGC:93] - =============== Starting GGC (0.8.0 - 24.11.2024 17:13) ===============
17:26:40,497 INFO [UserDataDirectoryV2Validator:60] - Directory UserDataDirectory: /home/doug/.GNU_Gluco_Control found.
17:26:40,497 INFO [UserDataDirectoryV2Validator:69] - check If All Required Files Exist
17:26:40,498 WARN [UserDataDirectoryV2Validator:83] - File /home/doug/.GNU_Gluco_Control/db/ggc_db.mv.db exists: false
17:26:40,499 WARN [UserDataDirectory:231] - Installation doesn't seem to be valid. Running creation or migration of data directories
17:26:40,716 WARN [UserDataDirectoryV2CreatorOrMigration:149] - determineIfThisIsCorrectDataDirectory: /home/doug/ggc/ggc.try1/ggc-desktop-app/ggc-desktop/data: false
17:26:40,728 INFO [UserDataDirectoryV2CreatorOrMigration:105] - Trying to installNewDataDirectory
17:26:40,739 INFO [InstallMigrationHandler:64] - Process Install
17:26:40,742 INFO [InstallMigrationHandler:196] - Unzip resource file '/install/db_7_v2.zip' to target the ATdirectory.
17:26:40,966 INFO [InstallMigrationHandler:196] - Unzip resource file '/install/data_root.zip' to target directory.
17:26:40,971 INFO [InstallMigrationHandler:196] - Unzip resource file '/install/skinlf_themes.zip' to target directory.
17:26:41,135 INFO [InstallMigrationHandler:196] - Unzip resource file '/install/nutrition.zip' to target directory.
17:26:42,012 INFO [InstallMigrationHandler:251] - Make directory tools.
17:26:42,045 INFO [InstallMigrationHandler:251] - Make directory export.
17:26:42,047 INFO [InstallMigrationHandler:251] - Make directory print.
17:26:42,294 INFO [HibernateConfiguration:180] - Your DB version identified by HBM.xml resource files (sha1=17f84910f226c9d9bf6c8218fc824c6d2a01d05b, db_version=7).
17:26:42,306 INFO [HibernateConfiguration:443] - Loading Db Configuration #0
17:26:42,307 INFO [GGCDbConfig:158] - GGCDb: Loading Db Configuration #0: Internal Db (H2)
17:26:42,999 INFO [DataAccess:1512] - Start internal Web Server
17:26:43,042 INFO [Server:264] - Pygmy Server (v0.4.3) running.
17:26:43,067 WARN [DbCheckReport:148] - Db Report file not found !
17:26:43,118 DEBUG [RedirectScreen:170] - SkinLf file: /home/doug/.GNU_Gluco_Control/skinlf_themes/modernthemepack_ggc.zip, exists: true
^C 17:26:43,679 INFO [Server:388] - Pygmy Server (v0.4.3) shutdown complete.
I did Ctrl-C again, to check the messages, just as the app window opened, this time it looked Ok.
I've explored the features of the app, but when as I tried to connect my SmartPix unit, it failed, and so checked the help, then I discovered that you haven't got the SmartPix v2 to work on linux, which is parallel to my experience with running the SmartPix app under wine. The app works and manipulates the database etc., but won't communicate so I have to use a windows install to read my device.
I hope to come back later and explain why a type 2 diabetic is testing at all, and trying FOSS solutions instead of using the proprietary apps that are available.
Regards
Doug
Beta Was this translation helpful? Give feedback.
All reactions