SleepyHead "unstable" builds for advanced testers.

General Discussion on any topic relating to CPAP and/or Sleep Apnea.
User avatar
Bama Rambler
Posts: 189
Joined: Wed Feb 19, 2014 10:25 am

Re: SleepyHead "unstable" builds for advanced testers.

Post by Bama Rambler » Sat May 03, 2014 3:28 pm

Another vote for Testing branch.

_________________
Mask: Simplus Full Face CPAP Mask with Headgear
Additional Comments: CPAP 15cmH2O

pgflrob
Posts: 17
Joined: Tue May 06, 2014 6:22 am

Re: SleepyHead "unstable" builds for advanced testers.

Post by pgflrob » Tue May 06, 2014 11:13 am

Attempting to run the last two versions of SleepyHead on my iMac (Snow Leopard). They crash with an error.

Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Crashed Thread: 0

Dyld Error Message:
Library not loaded: /usr/lib/libc++.1.dylib
Referenced from: /Applications/SleepyHead.app/Contents/MacOS/SleepyHead
Reason: image not found

I know Apple pulled some frameworks out of 10.6 when they moved on towards Mavericks but this one is odd to me. Of course I could be reading the crash log wrong.

_________________
Mask: AirFit™ P10 Nasal Pillow CPAP Mask with Headgear
Additional Comments: iMac OS X 10.6.x Snow Leopard. Apple's best yet.

User avatar
jedimark
Posts: 1300
Joined: Fri Feb 18, 2011 12:45 am
Location: Bundaberg, Australia
Contact:

Re: SleepyHead "unstable" builds for advanced testers.

Post by jedimark » Tue May 06, 2014 11:22 am

Yup.. I know why..

I have to ditch all my C++11 changes because 10.6 isn't capable

Not the end of the world though.. I'll think of some other way to neaten things up in the code..

_________________
Machine: ResMed AirSense™ 10 AutoSet™ CPAP Machine with HumidAir™ Heated Humidifier
Mask: Swift™ FX Nasal Pillow CPAP Mask with Headgear
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: CMS50D+/F Oximeter, S9 VPAP Auto/Adapt, PRS1 Auto, Intellipap Auto, SleepyHead :)
Author of the free, cross platform, open-source sleep tracking software SleepyHead.
Download http://sleepyhead.jedimark.net
Source Code http://gitlab.com/sleepyhead/sleepyhead-code

pgflrob
Posts: 17
Joined: Tue May 06, 2014 6:22 am

Re: SleepyHead "unstable" builds for advanced testers.

Post by pgflrob » Tue May 06, 2014 12:02 pm

Thanks. If I can help you out let me know. I have a lot of programming experience circa 1990's, since then only playing around with PHP/MySQL/javascript, and have been using Macs since the early '90s. I can test for sure.

Oh, BTW, I love your part of the world. My favorite place on earth is MacKay/Brampton Is.. Have not been there in a long time. We made a stop over once from Brisbane to MacKay in Bundaberg. It was Christmas Day and everything was closed. Even the hotel we had reservations at was closed. Nearly starved after the long drive up. Did get out to Lady Musgrave - fantastic. Saw my first pandanus. Have one in my front yard down here in Florida now.

Queensland is God's county.

PG

_________________
Mask: AirFit™ P10 Nasal Pillow CPAP Mask with Headgear
Additional Comments: iMac OS X 10.6.x Snow Leopard. Apple's best yet.

User avatar
jedimark
Posts: 1300
Joined: Fri Feb 18, 2011 12:45 am
Location: Bundaberg, Australia
Contact:

Re: SleepyHead "unstable" builds for advanced testers.

Post by jedimark » Tue May 06, 2014 12:30 pm

I removed C++11 support from the code, because I'm not about to stop tons of older Mac's from being able to run SleepyHead. But I sure am going to miss having those shiny language extensions.

If you want to test a build for me, here's one I just uploaded that should in theory work.
http://sourceforge.net/projects/sleepyh ... g/download

This build should also work on newer macs too, it's just targeted to 10.6.8, which is the highest version some Mac's are capable of running.

I cleaned up the Statistics page code a made it a lot more flexible and easier to change and add things to.. This build features the option to showing monthly progress as an alternative to the standard statistics page format.

_________________
Machine: ResMed AirSense™ 10 AutoSet™ CPAP Machine with HumidAir™ Heated Humidifier
Mask: Swift™ FX Nasal Pillow CPAP Mask with Headgear
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: CMS50D+/F Oximeter, S9 VPAP Auto/Adapt, PRS1 Auto, Intellipap Auto, SleepyHead :)
Author of the free, cross platform, open-source sleep tracking software SleepyHead.
Download http://sleepyhead.jedimark.net
Source Code http://gitlab.com/sleepyhead/sleepyhead-code

User avatar
kaiasgram
Posts: 3569
Joined: Sat Jun 02, 2012 2:08 pm
Location: Northern California

Re: SleepyHead "unstable" builds for advanced testers.

Post by kaiasgram » Tue May 06, 2014 12:36 pm

jedimark wrote:I removed C++11 support from the code, because I'm not about to stop tons of older Mac's from being able to run SleepyHead. But I sure am going to miss having those shiny language extensions.

If you want to test a build for me, here's one I just uploaded that should in theory work.
http://sourceforge.net/projects/sleepyh ... g/download

This build should also work on newer macs too, it's just targeted to 10.6.8, which is the highest version some Mac's are capable of running.

I cleaned up the Statistics page code a made it a lot more flexible and easier to change and add things to.. This build features the option to showing monthly progress as an alternative to the standard statistics page format.
I downloaded it and imported data from my SD Card. Looks good. One thing: I couldn't move SH into my Applications folder until I altered the file name of SH version I had been using (9.2). I didn't want to Trash the older version just yet.

Question: Can oximetry data from the CMS 50F be imported directly into this Mac version?

_________________
Machine: AirSense 10 AutoSet with Heated Humidifer + Aifit N30i Nasal Mask Bundle
Additional Comments: SleepyHead-now-OSCAR software on Mac OSX Ventura
Last edited by kaiasgram on Tue May 06, 2014 2:00 pm, edited 1 time in total.

pgflrob
Posts: 17
Joined: Tue May 06, 2014 6:22 am

Re: SleepyHead "unstable" builds for advanced testers.

Post by pgflrob » Tue May 06, 2014 1:10 pm

Works. Very nice. Thanks.

_________________
Mask: AirFit™ P10 Nasal Pillow CPAP Mask with Headgear
Additional Comments: iMac OS X 10.6.x Snow Leopard. Apple's best yet.

User avatar
The Latinist
Posts: 465
Joined: Sat Apr 19, 2014 10:00 pm

Re: SleepyHead "unstable" builds for advanced testers.

Post by The Latinist » Tue May 06, 2014 1:23 pm

Anyone else getting nights with 388700+ hours of usage with this build?

_________________
Mask: AirFit™ P10 Nasal Pillow CPAP Mask with Headgear
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: APAP 12-16 cmH2O, EPR 1. Untreated AHI: 96; treated AHI 2.3.

User avatar
jedimark
Posts: 1300
Joined: Fri Feb 18, 2011 12:45 am
Location: Bundaberg, Australia
Contact:

Re: SleepyHead "unstable" builds for advanced testers.

Post by jedimark » Tue May 06, 2014 5:12 pm

The Latinist wrote:Anyone else getting nights with 388700+ hours of usage with this build?
That's a bit scary.. It will be because of a corrupt or zero length session. Try switching the individual session off..

I'll have another look over the short session handling.

To clarify, that's that most recent 0.9.5 build? Because I swear I just fixed that issue for ResMed.

_________________
Machine: ResMed AirSense™ 10 AutoSet™ CPAP Machine with HumidAir™ Heated Humidifier
Mask: Swift™ FX Nasal Pillow CPAP Mask with Headgear
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: CMS50D+/F Oximeter, S9 VPAP Auto/Adapt, PRS1 Auto, Intellipap Auto, SleepyHead :)
Author of the free, cross platform, open-source sleep tracking software SleepyHead.
Download http://sleepyhead.jedimark.net
Source Code http://gitlab.com/sleepyhead/sleepyhead-code

User avatar
The Latinist
Posts: 465
Joined: Sat Apr 19, 2014 10:00 pm

Re: SleepyHead "unstable" builds for advanced testers.

Post by The Latinist » Tue May 06, 2014 5:27 pm

jedimark wrote:
The Latinist wrote:Anyone else getting nights with 388700+ hours of usage with this build?
That's a bit scary.. It will be because of a corrupt or zero length session. Try switching the individual session off..

I'll have another look over the short session handling.

To clarify, that's that most recent 0.9.5 build? Because I swear I just fixed that issue for ResMed.
Image

Note: the same thing happens in 0.9.4, at least since opening in 0.9.5 (my backup is at home, so I can't try that in 0.9.4 right now). I will try importing fresh from the SD card when I get home, too.

_________________
Mask: AirFit™ P10 Nasal Pillow CPAP Mask with Headgear
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: APAP 12-16 cmH2O, EPR 1. Untreated AHI: 96; treated AHI 2.3.

User avatar
jedimark
Posts: 1300
Joined: Fri Feb 18, 2011 12:45 am
Location: Bundaberg, Australia
Contact:

Re: SleepyHead "unstable" builds for advanced testers.

Post by jedimark » Tue May 06, 2014 5:33 pm

The Latinist wrote:Note: the same thing happens in 0.9.4, at least since opening in 0.9.5 (my backup is at home, so I can't try that in 0.9.4 right now). I will try importing fresh from the SD card when I get home, too.
You will likely need to purge and reimport if the corrupt data was produced by 0.9.4.

Import from the hidden backup folder first in the machine folder under your profile directory, then your data card again to get your history back.

I've still got to make this backup folder search automatic..

(Alternatively you can search for which session is dodgy on those days and delete SleepyHead's database files with those session IDs (shown in a hover over near the switches).

_________________
Machine: ResMed AirSense™ 10 AutoSet™ CPAP Machine with HumidAir™ Heated Humidifier
Mask: Swift™ FX Nasal Pillow CPAP Mask with Headgear
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: CMS50D+/F Oximeter, S9 VPAP Auto/Adapt, PRS1 Auto, Intellipap Auto, SleepyHead :)
Author of the free, cross platform, open-source sleep tracking software SleepyHead.
Download http://sleepyhead.jedimark.net
Source Code http://gitlab.com/sleepyhead/sleepyhead-code

User avatar
jedimark
Posts: 1300
Joined: Fri Feb 18, 2011 12:45 am
Location: Bundaberg, Australia
Contact:

Re: SleepyHead "unstable" builds for advanced testers.

Post by jedimark » Tue May 06, 2014 6:16 pm

@TheLatinist: Thanks for bringing that to my attention, there was more to it..
0.9.5 ignores the short sessions during ResMed import, which only hides the problem, the real problem was in the overlapping sessions times calculations getting broken by 0 lengths.

I've fixed this now, and it will be in the next update, for now, just hide the sessions.. you don't need to purge if you don't want to, because any stray 0 length sessions in future will be harmless.

_________________
Machine: ResMed AirSense™ 10 AutoSet™ CPAP Machine with HumidAir™ Heated Humidifier
Mask: Swift™ FX Nasal Pillow CPAP Mask with Headgear
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: CMS50D+/F Oximeter, S9 VPAP Auto/Adapt, PRS1 Auto, Intellipap Auto, SleepyHead :)
Author of the free, cross platform, open-source sleep tracking software SleepyHead.
Download http://sleepyhead.jedimark.net
Source Code http://gitlab.com/sleepyhead/sleepyhead-code

User avatar
jedimark
Posts: 1300
Joined: Fri Feb 18, 2011 12:45 am
Location: Bundaberg, Australia
Contact:

Re: SleepyHead "unstable" builds for advanced testers.

Post by jedimark » Tue May 06, 2014 7:20 pm

An update from the last one is here for anyone who loathes that session length bug as much as I do...

http://sourceforge.net/projects/sleepyh ... g/download

I'm going to try and build a Windows one now.

_________________
Machine: ResMed AirSense™ 10 AutoSet™ CPAP Machine with HumidAir™ Heated Humidifier
Mask: Swift™ FX Nasal Pillow CPAP Mask with Headgear
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: CMS50D+/F Oximeter, S9 VPAP Auto/Adapt, PRS1 Auto, Intellipap Auto, SleepyHead :)
Author of the free, cross platform, open-source sleep tracking software SleepyHead.
Download http://sleepyhead.jedimark.net
Source Code http://gitlab.com/sleepyhead/sleepyhead-code

User avatar
jedimark
Posts: 1300
Joined: Fri Feb 18, 2011 12:45 am
Location: Bundaberg, Australia
Contact:

Re: SleepyHead "unstable" builds for advanced testers.

Post by jedimark » Tue May 06, 2014 8:04 pm

As promised, here is a windows test build.

This one is complete with required DLL's.. Simply download, unzip and run SleepyHead.exe in the resulting folder.
http://sourceforge.net/projects/sleepyh ... p/download

It's built on the same Qt libraries as the last few "unstable" builds, so you can save some downloads by grabbing this binary instead, unzipping and placing over the top of SleepyHead.exe you've already got:
http://sourceforge.net/projects/sleepyh ... p/download

Good luck.

_________________
Machine: ResMed AirSense™ 10 AutoSet™ CPAP Machine with HumidAir™ Heated Humidifier
Mask: Swift™ FX Nasal Pillow CPAP Mask with Headgear
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: CMS50D+/F Oximeter, S9 VPAP Auto/Adapt, PRS1 Auto, Intellipap Auto, SleepyHead :)
Author of the free, cross platform, open-source sleep tracking software SleepyHead.
Download http://sleepyhead.jedimark.net
Source Code http://gitlab.com/sleepyhead/sleepyhead-code

User avatar
jedimark
Posts: 1300
Joined: Fri Feb 18, 2011 12:45 am
Location: Bundaberg, Australia
Contact:

Re: SleepyHead "unstable" builds for advanced testers.

Post by jedimark » Tue May 06, 2014 8:46 pm

Had a slight oopsie and trashed the old versions by mistake while cleaning up SleepyHead releases on sourceforge. I should have moved them to Old Versions folder. I guess subconsciously I wanted to stop any more people running 0.9.3 because it has some critical faults that have been fixed.

0.9.5 marks a new phase in SleepyHead's development.. Now the goal is set on fixing the remaining bugs to get a very stable 1.0.0 out in the open.

I'm confident these latest Testing builds are reliable enough for everyone to start using. They should be much more reliable than the older builds anyway.

If you still see weird data glitches in this new version you will need to purge and reimport.

_________________
Machine: ResMed AirSense™ 10 AutoSet™ CPAP Machine with HumidAir™ Heated Humidifier
Mask: Swift™ FX Nasal Pillow CPAP Mask with Headgear
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: CMS50D+/F Oximeter, S9 VPAP Auto/Adapt, PRS1 Auto, Intellipap Auto, SleepyHead :)
Author of the free, cross platform, open-source sleep tracking software SleepyHead.
Download http://sleepyhead.jedimark.net
Source Code http://gitlab.com/sleepyhead/sleepyhead-code