boun

Results 16 comments of boun

Hi, there is no need for an extension. JupyterLab comes with a json extension. After some poking around, it was pretty straight forward to do. However I don't know how...

@rodfersou `pip install jupyter_client` should do the trick. That should have come with jupyter though...

I am implementing a contentprovider in Gadgetbridge: https://github.com/Freeyourgadget/Gadgetbridge/pull/1138 and a HR Device in runnerup: https://github.com/boun/runnerup/tree/contentprovider to do exactly that. At the time of writing I am waiting for a reaction...

About the Travis error: The testsuite does not set up the DeviceManager and I have no idea how to do that. Strangely locally all tests pass.

So I addressed your comments for the better part. What is left now to do is: - After some measurements I do not get any more heartrates from my Mi2BandSupport....

I found a Workaround for the missing samples problems. In LiveActivityFragment there is this: https://github.com/Freeyourgadget/Gadgetbridge/blob/c493df242344b75ea8b42c09da046109faa148e3/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/activities/charts/LiveActivityFragment.java#L340 which repeatedly calls that function. So I also added a Timer, that calls onEnableRealtimeHeartRateMeasurement over...

O.k. I finally found the problem with the tests: https://github.com/Freeyourgadget/Gadgetbridge/blob/11c545362ab4597dcf7333fd4d2982a264984e69/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/GBApplication.java#L148 GBApplication is not set up correctly in onCreate(). It checks wether a static variable is set already and if so...

About the tests: I did not see multiple invocations of onCreate during my (limited) tests. I saw one invocation per testcase. Hence from that point of view I should be...

After removing the guard **all** 61 tests still pass. onCreate is called 61 times.

And to answer that question: Yes this starts gadgetbridge in case it was not running before.