Page 4 of 7
Re: SleepyHead "unstable" builds for advanced testers.
Posted: Sat May 03, 2014 3:28 pm
by Bama Rambler
Another vote for Testing branch.
Re: SleepyHead "unstable" builds for advanced testers.
Posted: Tue May 06, 2014 11:13 am
by pgflrob
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.
Re: SleepyHead "unstable" builds for advanced testers.
Posted: Tue May 06, 2014 11:22 am
by jedimark
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..
Re: SleepyHead "unstable" builds for advanced testers.
Posted: Tue May 06, 2014 12:02 pm
by pgflrob
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
Re: SleepyHead "unstable" builds for advanced testers.
Posted: Tue May 06, 2014 12:30 pm
by jedimark
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.
Re: SleepyHead "unstable" builds for advanced testers.
Posted: Tue May 06, 2014 12:36 pm
by kaiasgram
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?
Re: SleepyHead "unstable" builds for advanced testers.
Posted: Tue May 06, 2014 1:10 pm
by pgflrob
Works. Very nice. Thanks.
Re: SleepyHead "unstable" builds for advanced testers.
Posted: Tue May 06, 2014 1:23 pm
by The Latinist
Anyone else getting nights with 388700+ hours of usage with this build?
Re: SleepyHead "unstable" builds for advanced testers.
Posted: Tue May 06, 2014 5:12 pm
by jedimark
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.
Re: SleepyHead "unstable" builds for advanced testers.
Posted: Tue May 06, 2014 5:27 pm
by The Latinist
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.
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.
Re: SleepyHead "unstable" builds for advanced testers.
Posted: Tue May 06, 2014 5:33 pm
by jedimark
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).
Re: SleepyHead "unstable" builds for advanced testers.
Posted: Tue May 06, 2014 6:16 pm
by jedimark
@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.
Re: SleepyHead "unstable" builds for advanced testers.
Posted: Tue May 06, 2014 7:20 pm
by jedimark
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.
Re: SleepyHead "unstable" builds for advanced testers.
Posted: Tue May 06, 2014 8:04 pm
by jedimark
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.
Re: SleepyHead "unstable" builds for advanced testers.
Posted: Tue May 06, 2014 8:46 pm
by jedimark
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.