maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   All about SleepAnalyser (https://talk.maemo.org/showthread.php?t=57419)

Mentalist Traceur 2011-07-12 23:57

Re: All about SleepAnalyser
 
I see a new version hit Extras-devel. Eww @ Harmattan and all it implies. If I can't have an N950, Harmattan is dead for me. :D

But on serious matters - I came to post because you have listed the dependency as pyside-qt - which breaks the package because the actual pyside-qt package name is "pyside-qt4".

stickymick 2011-07-13 01:35

Re: All about SleepAnalyser
 
Quote:

Originally Posted by Mentalist Traceur (Post 1049859)
But on serious matters - I came to post because you have listed the dependency as pyside-qt - which breaks the package because the actual pyside-qt package name is "pyside-qt4".

Just got this now when trying to update.

Glad I'm not the only one losing sleep over it :p

StocChr 2011-07-13 05:36

Re: All about SleepAnalyser
 
hi guys,

how to update sleepanalyser?
if i install pyside-qt4 i still can't update!
pyside-qt is missing!

cheers

caco3 2011-07-13 09:15

Re: All about SleepAnalyser
 
Hi Guys

Sorry for the breakage!
I didn't realise that the dependencies names are different as well :(
I will correct it.

Beside of that, please do not use experimental version for normal usage! As the change log sais, things might be broken. Also, there is no reason for you not to use the stable or testing version. Currently the experimental version has no real advantage for you!
So, please don't cry out just because your experimental system is not stable!
Use Extras and extras-testing instead!

Mentalist Traceur 2011-07-13 14:23

Re: All about SleepAnalyser
 
I'm not sure who that was at specifically, but at least for my part, the whole point of crying out is being helpful to the developer (usually - other times people are wrong, and since it's the internet it's my duty to ***** at them until they see the light). In this case, I'm just doing my part as an early tester.

Those who actually want stable software, of course, should use the Extras repository and those who want to contribute to only bug testing should use Extras-Testing at most. I'm on Extras-Devel for a variety of reasons (originally because when I first got the N900 a lot of good software had been lounging in -devel for months, nowadays because I'm willing to risk breakage for helping other devs, and because I maintain N900 packages myself), and am willing to have software packages break everything, especially if I end up helping people at all as a result if I can figure out the bugs' source.

casketizer 2011-07-14 18:55

Re: All about SleepAnalyser
 
Just last week I was happy my last app dropped that bloated pyside lib(set) for pyqt now you do the opposite and switch to it to support that fashion gadget phone...
Pinned sleepanalyzer for now....

(No disrespect implied, just find it an unfortunate decision.)

caco3 2011-07-14 19:41

Re: All about SleepAnalyser
 
Quote:

Originally Posted by casketizer (Post 1051090)
Just last week I was happy my last app dropped that bloated pyside lib(set) for pyqt now you do the opposite and switch to it to support that fashion gadget phone...
Pinned sleepanalyzer for now....

You always can stay with the latest working version.
Nobody will force you to upgrade.
And belief me, I also would have preferred PyQt. It took me quite some hours to change it to PySide. But there is no other way as long as there is no PyQt in Meego/Harmattan.

Beside of that, what do you dislike on PySide?
AFAIK it is more or less compatible to PyQt

casketizer 2011-07-14 20:25

Re: All about SleepAnalyser
 
pyside always installs the whole load of pyside libs with over 20MB and almost no apps use it. qnetman was the last and changed to pyqt last week. Now you bring it back. Is there no pyqt for harmattan?

Mentalist Traceur 2011-07-17 00:05

Re: All about SleepAnalyser
 
Quote:

Originally Posted by casketizer (Post 1051137)
pyside always installs the whole load of pyside libs with over 20MB and almost no apps use it. qnetman was the last and changed to pyqt last week. Now you bring it back. Is there no pyqt for harmattan?

There might not be now - honestly, I'm sure someone will port pyqt to Harmattan. There's no way in hell it won't happen unless there's something really stupid in the way Harmattan was designed prevents it.

caco3 2011-07-22 18:10

Re: All about SleepAnalyser
 
Well, once there is PyQt for Harmattan, I can switch back. But right now I am not willing to maintain 2 branches just because of the backend.
If you can show me that pyside installs a bigger amount in the rootfs, then we can think about it, but as long it is outside rootfs I dont see a reason not to use it.

Beside of that, pyside actually has the better licence compared to pyqt as it is available under the LGPL.

And another beside:
Just dont use sleepanalyser from the devel tree. The testing tree one still uses pyQt :)

stickymick 2012-04-16 00:20

Re: All about SleepAnalyser
 
Just checked for updates via App Manager and was told there's an update for Sleep Analyzer, when attempting to download the update I'm being told the file is corrupt.
If I try to update via terminal I get:
Code:

Get:1 http://repository.maemo.org fremantle-1.3/free sleepanalyser 2.2-23 [766kB]
Fetched 766kB in 0s (886kB/s)       
Failed to fetch http://repository.maemo.org/extras-devel/pool/fremantle/free/s/sleepanalyser/sleepanalyser_2.2-23_armel.deb  Size mismatch


ivgalvez 2012-04-16 07:25

Re: All about SleepAnalyser
 
Same for me.

ravent-n900 2012-04-16 08:44

Re: All about SleepAnalyser
 
Quote:

Originally Posted by stickymick (Post 1192604)
Just checked for updates via App Manager and was told there's an update for Sleep Analyzer, when attempting to download the update I'm being told the file is corrupt.
If I try to update via terminal I get:
Code:

Get:1 http://repository.maemo.org fremantle-1.3/free sleepanalyser 2.2-23 [766kB]
Fetched 766kB in 0s (886kB/s)       
Failed to fetch http://repository.maemo.org/extras-devel/pool/fremantle/free/s/sleepanalyser/sleepanalyser_2.2-23_armel.deb  Size mismatch


try
Code:

apt-get upgrade --fix-missing
hope it fix it

Ken-Young 2012-04-16 13:49

Re: All about SleepAnalyser
 
Quote:

Originally Posted by ravent-n900 (Post 1192664)
try
Code:

apt-get upgrade --fix-missing
hope it fix it

Sadly, that doesn't seem to fix it.

caco3 2012-04-16 19:49

Re: All about SleepAnalyser
 
It seems to be a network issue and not a problem with the package.
I also have problems installing other packages thru FaApMa.
If you check the change log of Sleepanalyser you will see that I only added the Ukrainian language, nothing more. So most of you have no need for it.

daniel_m 2012-04-18 08:25

Re: All about SleepAnalyser
 
Hm, I cannot update sleepanalyzer either. Another app updated without any problems though ...

jehan 2012-04-18 09:17

Re: All about SleepAnalyser
 
Quote:

Originally Posted by daniel_m (Post 1193704)
Hm, I cannot update sleepanalyzer either. Another app updated without any problems though ...

try to fetch the package with wget and install it afterwards - this works fo me.
as root with wget installed do:
Code:

wget http://repository.maemo.org/extras-devel/pool/fremantle/free/s/sleepanalyser
/sleepanalyser_2.2-23_armel.deb ; dpkg -i sleepanalyser_2.2-23_armel.deb


daniel_m 2012-04-27 07:03

Re: All about SleepAnalyser
 
I already uninstalled SleepAnalyzer and dpkg wouldn't let me install it again due to some dependency issues.
Well, "apt-get -f install" fixed the problem and the newest version of SleepAnalyzer is working again :D

jcosta 2012-05-02 16:31

Re: All about SleepAnalyser
 
Hi there,

Can someone explain me what are the yellow spikes you see on the graphs ?

see here:
http://talk.maemo.org/showthread.php...27#post1200827

Jeffrey04 2012-05-04 07:26

Re: All about SleepAnalyser
 
just saw it available on meecatalog on my n9 and installed, so far doesn't seem to do anything?

zimon 2012-05-04 13:31

Re: All about SleepAnalyser
 
Quote:

Originally Posted by jehan (Post 1193723)
try to fetch the package with wget and install it afterwards - this works fo me.
as root with wget installed do:
Code:

wget http://repository.maemo.org/extras-devel/pool/fremantle/free/s/sleepanalyser
/sleepanalyser_2.2-23_armel.deb ; dpkg -i sleepanalyser_2.2-23_armel.deb


OFFTOPIC ON
Have to go a bit to off topic, but above you see an one example why deb-package system is inferior to rpm-based system. If that would be a rpm package, doing wget and rpm -i (dpkg -i) would not be a security risk. You guys do realize there is no authenticity check when installing a package that way and it is vulnerable to MITM-attack?
OFFTOPIC OFF

Sleepanalyzer keeps coming up once a day to my N900's notify field but it always fails to upgrade.
Doing manually "apt-get upgrade", it says "Size mismatch".
I guess I need to try the above unsafe operation also.

caco3 2012-05-04 18:14

Re: All about SleepAnalyser
 
Quote:

Originally Posted by Jeffrey04 (Post 1201701)
just saw it available on meecatalog on my n9 and installed, so far doesn't seem to do anything?

Do you have a link?
I never published a version for the N9. Also I am not planing to do it. It would be too much work and there is just no market for it.

About the problems with the N900 version many users reported.
I now uploaded it again.
I believe the building process messed it somehow up.
I now can install it without issues with FaApMa.
Let me know if you still have issues.

Jeffrey04 2012-05-06 11:39

Re: All about SleepAnalyser
 
Quote:

Originally Posted by caco3 (Post 1201967)
Do you have a link?
I never published a version for the N9. Also I am not planing to do it. It would be too much work and there is just no market for it.

About the problems with the N900 version many users reported.
I now uploaded it again.
I believe the building process messed it somehow up.
I now can install it without issues with FaApMa.
Let me know if you still have issues.

do you have an N9(50)? Just download MeeCatalog and see if SleepAnalyzer is there, btw, I installed AppsForMeeGo and enabled some developer's repositories, don't know if those caused SleepAnalyser listed

P/S: btw, the app loads fine, and it seem to be able to log my movements, but there's no way to see the records, and the alarm weren't working. The settings page also shows WIP message iirc ;)

zimon 2012-05-06 11:47

Re: All about SleepAnalyser
 
SleepAnalyzer update-problem got fixed for me at least. The version in the repository now didn't give a size mismatch error anymore.

caco3 2012-05-06 17:10

Re: All about SleepAnalyser
 
Quote:

Originally Posted by Jeffrey04 (Post 1202506)
do you have an N9(50)? Just download MeeCatalog and see if SleepAnalyzer is there, btw, I installed AppsForMeeGo and enabled some developer's repositories, don't know if those caused SleepAnalyser listed

P/S: btw, the app loads fine, and it seem to be able to log my movements, but there's no way to see the records, and the alarm weren't working. The settings page also shows WIP message iirc ;)

I have a N9, installed MeeCatalog. Also I checked google and http://apps.formeego.org . But nowhere I found a SleepAnalyser version.
So if you really have one, please provide screenshots or a link.

casketizer 2012-05-06 17:47

Re: All about SleepAnalyser
 
caco,

have u ever considered adding a sound triggered audio recording module to sleepanalyzer? It would be an awesome way to check if one babbles in his sleep or if one snores.
That would be a cool feature for me.

caco3 2012-05-06 18:27

Re: All about SleepAnalyser
 
Quote:

Originally Posted by casketizer (Post 1202636)
caco,

have u ever considered adding a sound triggered audio recording module to sleepanalyzer? It would be an awesome way to check if one babbles in his sleep or if one snores.
That would be a cool feature for me.

Other people suggested this as well, but I am not sure of how much use it would be, since I usually have my N900 under my pillow.

Also, since I moved to N9/N950 and Android , I am not investing much time to work on SleepAnalyser. IHMO it does what it should.

Jeffrey04 2012-05-06 18:38

Re: All about SleepAnalyser
 
Quote:

Originally Posted by caco3 (Post 1202619)
I have a N9, installed MeeCatalog. Also I checked google and http://apps.formeego.org . But nowhere I found a SleepAnalyser version.
So if you really have one, please provide screenshots or a link.

This is weird, I checked my MeeCatalog too and the entry for SleepAnalyser is gone for me too :/

these are the screenshots proving I installed :)

http://farm8.staticflickr.com/7066/7...fabeda5e74.jpg
SleepAnalyser by Jeffrey04, on Flickr

http://farm9.staticflickr.com/8144/7...514720051e.jpg
SleepAnalyser by Jeffrey04, on Flickr

caco3 2012-05-06 19:06

Re: All about SleepAnalyser
 
Quote:

Originally Posted by Jeffrey04 (Post 1202660)
This is weird, I checked my MeeCatalog too and the entry for SleepAnalyser is gone for me too :/

these are the screenshots proving I installed :)

big LOL

This is a mockup I did some months ago to get into QML and to see if I can get it working.
I uploaded it to the MeeGo build server (https://build.pub.meego.com/) to learn how to use it. It seems somehow it made its way into the AppsForMeeGo catalog.

I think I got the recording working, but found no way to show the movements live in the window. This and some other issues (no way to set an alarm, (at that time) no way to switch to Airplane mode, ...) lead me to the decision to not finish it.

If somebody else wants to give it a tray, I am always happy to help. But I expect it to be many many weeks of work. And I am just not willing anymore to invest that much time, since my free time focus changed to other areas.

Jeffrey04 2012-05-08 15:22

Re: All about SleepAnalyser
 
Quote:

Originally Posted by caco3 (Post 1202675)
big LOL

This is a mockup I did some months ago to get into QML and to see if I can get it working.
I uploaded it to the MeeGo build server (https://build.pub.meego.com/) to learn how to use it. It seems somehow it made its way into the AppsForMeeGo catalog.

I think I got the recording working, but found no way to show the movements live in the window. This and some other issues (no way to set an alarm, (at that time) no way to switch to Airplane mode, ...) lead me to the decision to not finish it.

If somebody else wants to give it a tray, I am always happy to help. But I expect it to be many many weeks of work. And I am just not willing anymore to invest that much time, since my free time focus changed to other areas.

do you have the code for Fremantle port published anywhere (assuming the code was released under any form of free/open source license)?

caco3 2012-05-08 16:11

Re: All about SleepAnalyser
 
Quote:

Originally Posted by Jeffrey04 (Post 1203570)
do you have the code for Fremantle port published anywhere (assuming the code was released under any form of free/open source license)?

Freemantle source is available here: http://maemo.org/packages/view/sleepanalyser/

Harmattan Mockup is available here: https://build.pub.meego.com/package/...t=home%3ACaCO3
(Algorithm and recording works, but GUI and interaction to it is not implemented).

x-lette 2012-05-23 11:54

Re: All about SleepAnalyser
 
As I'm not regularly using wakeup music I just stumbled about a little bug in SleepAnalyser's handling of music files. No matter which file in a given directory it selects for wakeup music, its duration is always counted with 5 minutes. When current track is shorter than 5 minutes there is a lap of silence until alarm goes off and when track is longer than 5 minutes it cut off by alarm. Might it be related to CSSU or OpenMediaPlayer? I just flashed my N900 and freshly installed everything but behaviour is the same.

trlopes1974 2012-05-23 13:15

Re: All about SleepAnalyser
 
Hi.
I'm testing this app and I find-it very interesting.
One thing I think it woud be awsome is sound recording...
I mean by this that there coud be some kind of sound monitoring in the app that coud, for example, catch the time where you snore or talk during your sleep. that the applicationn could store the sound recording for later comsumption (kind like motion detecton camera, but with sound :D) .
Anyway, very good application.

HesZs 2012-10-07 00:24

Re: All about SleepAnalyser
 
Guys I have problems downloading this application...any help will be much appreciated because I really would like to try this one :) cheers

malfunctioning 2013-05-05 04:49

Re: All about SleepAnalyser
 
Quote:

Originally Posted by HesZs (Post 1277442)
Guys I have problems downloading this application...any help will be much appreciated because I really would like to try this one :) cheers

I know this is a late reply, but I just saw this post. Any troubles installing still? I just installed it the other day with no issue. Great application, by the way.

Mric 2014-05-02 17:02

Re: All about SleepAnalyser
 
Bump!
I am very interested by this application but I have a Nokia N9 and last link talking about porting it, is offline and I am wondering if there is a version for harmattan?
Quote:

Originally Posted by caco3 (Post 1203593)
Harmattan Mockup is available here: https://build.pub.meego.com/package/...t=home%3ACaCO3
(Algorithm and recording works, but GUI and interaction to it is not implemented).

I know a little a C programming but nothing about QML but I will be ready to learn it for this application or help towards a port.
Thank you

EDIT: found the official website and it talks about 'Sleepnalyser2' but then the section is empty so I believe there is no harmattan version.

nodevel 2014-05-02 19:17

Re: All about SleepAnalyser
 
Well, there's a QML Harmattan version in OpenRepos, but last time I checked it wasn't very useful.

Would be nice to find the source code (thinking of a SailfishOS port).

Mric 2014-05-02 20:03

Re: All about SleepAnalyser
 
Just downloaded the application and I wasn't expecting that someone had already designed the interface.
It is very nice but as you have mentioned, the application doesn't do it main purpose.
Is someone still developing it or is it a dead project?
The maemo source code can be found here https://garage.maemo.org/projects/sleepanalyser/ but it seems to be empty!

catbus 2014-05-02 23:16

Re: All about SleepAnalyser
 
Maybe someone could ask from original developer... Ruinelli, IIRC...

caco3 2014-05-03 15:23

Re: All about SleepAnalyser
 
Hi all

Indeed I started to port the N900 version to the N9 but never got it to a working version.
I invested quite some time to rewrite the UI with QML. But then I realized that Nokia doesn’t provide the necessary API required for the SleepAnalyser. I.e. There is no way to set an alarm from inside an Application. Also Nokia dropped Harmattan far to early, so there never was any reason for developers to create apps for it.
Since SleepAnalyer is written in Python, also quite some re-factoring work might be needed as Harmattan doesn’t provide all required libs.

To summarize it; sry, there is no working version for Harmattan nor am I working on it. The source is open, so who ever wants to give it a try, feel free...


All times are GMT. The time now is 21:08.

vBulletin® Version 3.8.8