paul1956 / carelink Goto Github PK
View Code? Open in Web Editor NEWRepo for CareLink Windows App
License: MIT License
Repo for CareLink Windows App
License: MIT License
the new version seems to have some sort of visual bug. The basal and bolus lines were too small.
An other error when clink on "report a bug"
my chrome is installed on C:\Program Files\Google\Chrome\Application
CareLinkErrorReport(en-US).txt
are you still using gitter?
Thanks
Hi when I try to login the app crashes because it can't recognize the regional format for Greece (see attached file), when I change the regional format to English (United Kingdom) it works properly for some time and then it appears the message : The format of value 'application/json; charset=utf-8' is invalid and the update stops
CareLinkErrorReport(en-US)5.txt
carelink errors.docx
Howdy, great work! FWIW, I notice a lot of defensive warnings that I don't think are needed:
I'm very interested in promoting Nightscout connectivity, how would you feel about additional synchronizing to or from Nightscout?
Hello,
I can't login to the application. Once I try to type my password, the application shows this error
--- Start of Exception --- Object reference not set to an instance of an object. --- End of Exception --- --- Start of stack trace --- at CareLink.LoginForm1.UsernameTextBox_Leave(Object sender, EventArgs e) in C:\Users\PaulM\Source\Repos\CareLink\src\CareLink\Forms\LoginForm1.vb:line 149 at System.Windows.Forms.ContainerControl.UpdateFocusedControl() --- End of stack trace from previous location --- { "firstName": "First", "lastName": "Last", "medicalDeviceSerialNumber": "NG1234567H" }
I is the first time I opened the application. I reinstall .NET 7.0 to be sure, but the behavior stays the same.
Windows version : Win11 22H2
CareLinkErrorReport(en-US)2.txt
Application version : CareLink3.5.7.21x64
Hi Paul
Thank you for all the effort you are and have been putting into this but there are still issues.
When I run the program, in about 1 minute I get error message of Unhandled exception.
CareLinkErrorReport(en-US).txt
Dear Paul,
I have the error below when open the app:
at CareLink.CareLinkUserDataList.ContainsKey(String key) in C:\Users\PaulM\Source\Repos\CareLink\src\CareLink\Records\UserDataRecords\CareLinkUserDataList.vb:line 164
at CareLink.LoginForm1.LoginForm1_Load(Object sender, EventArgs e) in C:\Users\PaulM\Source\Repos\CareLink\src\CareLink\Forms\LoginForm1.vb:line 54
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, WM msg, IntPtr wparam, IntPtr lparam)
With Ok and Cancel option. Ok do nothing, app crashes.
Please verify.
Regards,
Koteles Ferenc
at CareLink.CareLinkUserDataList.get_Item(String itemName) in C:\Users\PaulM\Source\Repos\CareLink\src\CareLink\Records\UserDataRecords\CareLinkUserDataList.vb:line 100
at CareLink.LoginForm1.LoginForm1_Load(Object sender, EventArgs e) in C:\Users\PaulM\Source\Repos\CareLink\src\CareLink\Forms\LoginForm1.vb:line 55
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, WM msg, IntPtr wparam, IntPtr lparam)
what does it mean AIT
I noticed that when I have it show blood glucose in mmol/L the decimal numbers do not show correctly. Also change to the blood glucose is shown as -1 when actual change was -0.60. This issue is most likely only with european way of using mmol/L vs mg/dL, but could it be possible to show actual changes in decimals as well, as it feels like a bug or oversight.
Hi everyone, I'm very sorry but I'm forced to abandon the use of the beautiful app due to the constant login requests with related CAPTCHA. I also note that if you don't want to log in, it's impossible to exit the app... until you fill in the CAPTCHA photos. Thanks anyway for the great work done
(for info "auto login" always selected)
ver. in use 4.0.1.2 x 64 but from file donwloaded result 4.0.1.3 x 64
This error seems to be happen a bit randomly. I can login and everything works fine, but after few captcha solves this usually comes up and takes many hours before I can log back in again.
Below is error log
--- Start of Exception ---
Value does not fall within the expected range.
--- End of Exception ---
--- Start of stack trace ---
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode)
at Microsoft.Web.WebView2.Core.CoreWebView2.CallDevToolsProtocolMethodAsync(String methodName, String parametersAsJson)
at Microsoft.Web.WebView2.Core.DevToolsProtocolExtension.Page.CreateIsolatedWorldAsync(String frameId, String worldName, Nullable`1 grantUniveralAccess)
at A.C.A(String)
at WebView2.DevTools.Dom.WebView2DevToolsContext.A()
at WebView2.DevTools.Dom.CoreWebView2Extensions.CreateDevToolsContextAsync(CoreWebView2 coreWebView2, ILoggerFactory loggerFactory)
--- End of stack trace from previous location ---
{
"firstName": "First",
"lastName": "Last",
"medicalDeviceSerialNumber": "NGXXXXXH" // Its 780G pump
}
Hi, after the version 3.4.0.7 which worked properly, in all the others, even the last one 3.5.7.7 when I try to type the user name, the application closes by itself.
Hi Paul, as I wrote yesterday, I have an issue with short basal and correction bars with the new version CareLink3.6.0.3x64. I tried to attached the required file CareLinkLastDownload(el-GR).jso but was not allowed from the system. So I have uploaded to WeTrasnfer, here is the relative link https://we.tl/t-a9SnsvPltu . Please advise if I have to upload it in a different way. Thank you.
Hi,
Wanna try your app but ;)
at CareLink.Form1.UpdateActiveInsulinChart(String memberName, Int32 sourceLineNumber) in C:\Users\PaulM\Source\Repos\CareLink\src\CareLink\Forms\Form1.vb:line 1961
at CareLink.Form1.AllTabPagesUpdate() in C:\Users\PaulM\Source\Repos\CareLink\src\CareLink\Forms\Form1.vb:line 1847
at CareLink.Form1.Form1_Shown(Object sender, EventArgs e) in C:\Users\PaulM\Source\Repos\CareLink\src\CareLink\Forms\Form1.vb:line 258
at System.Windows.Forms.Form.OnShown(EventArgs e)
at System.Windows.Forms.Form.CallShownEvent()
at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
In Belgium on win10
I also used auto login but now it's impossible to go out from this mode, when I click ok or cancel the app close itself.
Thx for your work
First of all, thanks for making this, it seems incredibly practical!
As soon as I log in though, i get this error: "The given key 'MMOL_L' was not present in the dictionary". I'm guessing it's relevant that I'm in Norway, and therefore use mmol/l units, but have to have my Carelink account registered as a US account to avoid the Medtronic mandated 2FA in Norway. After the error appears the app is stuck loading.
I'm using the newest version (as of 24/7) of CareLink Windows App on Windows 10.
Here is the rest of the exception text:
System.Collections.Generic.KeyNotFoundException: The given key 'MMOL_L' was not present in the dictionary.
at System.Collections.Generic.Dictionary2.get_Item(TKey key) at CareLink.UserMessageHandler.GetLocalizedUnits(String unitName) in C:\Users\PaulM\Source\Repos\CareLink\src\CareLink\Utilities\UserMessageHandler.vb:line 81 at CareLink.Form1.UpdateRegionalData(Dictionary
2 localRecentData) in C:\Users\PaulM\Source\Repos\CareLink\src\CareLink\Forms\Form1.vb:line 1524
at CareLink.Form1.FinishInitialization() in C:\Users\PaulM\Source\Repos\CareLink\src\CareLink\Forms\Form1.vb:line 1877
at CareLink.Form1.DoOptionalLoginAndUpdateData(Boolean UpdateAllTabs) in C:\Users\PaulM\Source\Repos\CareLink\src\CareLink\Forms\Form1.vb:line 1864
at CareLink.Form1.Form1_Shown(Object sender, EventArgs e) in C:\Users\PaulM\Source\Repos\CareLink\src\CareLink\Forms\Form1.vb:line 133
at System.Windows.Forms.Form.OnShown(EventArgs e)
at System.Windows.Forms.Form.CallShownEvent()
at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
I have a problem with language format of numbers....
" Conversion from string " 213.275" to type "Double" is not valid.
This is error for real data and test sample data as well. I think it comes from my own national local (polish) decimal pointer settings. In my case comma is a decimal pointer not dot.
It related with float values like:
reservoirRemainingUnits 213.275
"maxAutoBasalRate": 2.0,
"maxBolusAmount": 10.0,
"averageSGFloat": 123.38095
so some Functions GetDecimalValues in MathExtensions.vb, Form1.vb should be reviewed and more universal.
Situation is more complicated because in your case comma sign is already used as json data delimeter
More details on attached file
exception.txt
.
Hello,
I downloaded the latest release to see the changes you made. When I tried to connect and was typing the login, the app freezes for a few seconds and then shuts down.
Wkr,
Benoit Van Den Broecke.
Login is not possible after 2023.06.27 Carelink site maintenance/update. Error: "Gateway Time-out."
At first thank you very much for your hard work.
Anyway I have a question whether do you plan to store longer history on any database (like Nightscout) for statistic's features or not ?
When I try to use Carelink, I immediately receive an error saying: System.FormatException: String '23/07/2022 11:55:18' in ToSgList line 17 was not recognized as a valid DateTime.
When I click OK, the application vanishes.
Hi Paul
Again, thank you for all your effort.
Sorry, I am not a programmer and cannot help you much.
At moment the latest version crashes on every attempt.
It does the login but probably graph drawing causes the crash.
And yes, we have comma as decimal separator, not dot. So a number looks like 5,43
CareLinkErrorReport.zip
After the latest commit 6e80747 i get this error:
--- Start of Exception ---
Key not found (Parameter 'Key')
--- End of Exception ---
--- Start of stack trace ---
at CareLink.SummaryRecordHelpers.GetValue[T](List`1 l, String Key) in C:\Users\PaulM\Source\Repos\CareLink\src\CareLink\Records\Pump Records\SummaryRecordHelpers.vb:line 186
at CareLink.Form1UpdateHelpers.Is770G() in C:\Users\PaulM\Source\Repos\CareLink\src\CareLink\Helpers\UiHelpers\Form1UpdateHelpers.vb:line 32
at CareLink.InitializeDialog.InitializeDialog_Load(Object sender, EventArgs e) in C:\Users\PaulM\Source\Repos\CareLink\src\CareLink\Forms\InitializeDialog.vb:line 189
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, WM msg, IntPtr wparam, IntPtr lparam)
--- End of stack trace from previous location ---
{
"firstName": "First",
"lastName": "Last",
}
In the version 3.6.1.2 the app the app crash.
CareLinkErrorReport(en-US).txt
--- Start of Exception ---
Η κλάση δεν έχει καταχωρηθεί
--- End of Exception ---
--- Start of stack trace ---
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode)
at Microsoft.Web.WebView2.Core.CoreWebView2.CallDevToolsProtocolMethodAsync(String methodName, String parametersAsJson)
at Microsoft.Web.WebView2.Core.DevToolsProtocolExtension.Runtime.EvaluateAsync(String expression, String objectGroup, Nullable1 includeCommandLineAPI, Nullable
1 silent, Nullable1 contextId, Nullable
1 returnByValue, Nullable1 generatePreview, Nullable
1 userGesture, Nullable1 awaitPromise, Nullable
1 throwOnSideEffect, Nullable1 timeout, Nullable
1 disableBreaks, Nullable1 replMode, Nullable
1 allowUnsafeEvalBlockedByCSP, String uniqueContextId)
at WebView2.DevTools.Dom.ExecutionContext.A(Boolean, String)
--- End of stack trace from previous location ---
{
"firstName": "First",
"lastName": "Last",
"medicalDeviceSerialNumber": "NG1234567H"
}
buongiorno paolo l errore che mi da e questo --- Start of Exception ---
Interfaccia non registrata.
--- End of Exception ---
--- Start of stack trace ---
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode)
at Microsoft.Web.WebView2.Core.CoreWebView2.CallDevToolsProtocolMethodAsync(String methodName, String parametersAsJson)
at Microsoft.Web.WebView2.Core.DevToolsProtocolExtension.Runtime.EvaluateAsync(String expression, String objectGroup, Nullable1 includeCommandLineAPI, Nullable
1 silent, Nullable1 contextId, Nullable
1 returnByValue, Nullable1 generatePreview, Nullable
1 userGesture, Nullable1 awaitPromise, Nullable
1 throwOnSideEffect, Nullable1 timeout, Nullable
1 disableBreaks, Nullable1 replMode, Nullable
1 allowUnsafeEvalBlockedByCSP, String uniqueContextId)
at WebView2.DevTools.Dom.ExecutionContext.A(Boolean, String)
--- End of stack trace from previous location ---
{
"firstName": "First",
"lastName": "Last",
"medicalDeviceSerialNumber": "NG1234567H"
}
se mi puoi inviare una guida per email a [email protected]
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.