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)

Strutten 2010-08-17 20:44

Re: [ANNOUNCE]: SleepAnalyser
 
Thank you fot this great app!

A couple of things;

Have you thought about translations? I volonteer for Swedish.

It doesn't seem to handle the scandinavian едц.

I would really like a function where you set how long you want to sleep, and that timer starts ticking when you fall asleep (lay still) rather than when you start the recording. Is that even possible?

Thanks again!

mirakels 2010-08-18 21:33

Re: [ANNOUNCE]: SleepAnalyser
 
Hi,

duration reporting is better in 1.6-6 but still not correct.
exmaple of last night:
In record view:
Wed 08/18/2010 12:29:11 AM - 07:57:51 AM (Duration: 08:28:40)

Off by one hour....

In Show adittional info (about this record):
Start: Wed. 18.08.2010 00:29:11
End: Wed.18.08.2010 07:57:51
Duration: 07:57:51

Eg duration equal End time.

Note also the different format for displaying data/time in 'record view' and 'about'.

My localization settings are 24 hour clock so for me the format in record view is wrong...

Thanks!

caco3 2010-08-18 21:48

Re: [ANNOUNCE]: SleepAnalyser
 
Hi all

I just fixed some small bugs and added unicode support.

Translations for sure would be nice, but have to wait for a later version.
Same for a lucid dream function.

@Strutten:
I do not really see a good usage for a set time after you felt asleep. Most people have to get up at a certain time, so just wait for a full cycle is over might not work.
Also the main thing is to clearly figure out when you felt asleep.
Maybe I can have a look on that later on.

caco3 2010-08-19 22:42

Re: [ANNOUNCE]: SleepAnalyser
 
Hi all

Version 1.6-12 should be free of bugs :)
If you find one, please let me know, else I will more focus on the documentation and then push it into testing.
The only new thing I added is an option to change to silent profile when recording is started (like switching to offline mode)

joh 2010-08-20 00:09

Re: [ANNOUNCE]: SleepAnalyser
 
Hi caco3

Just tried to install using the program manager. Installed without error messages. But when starting, after 10 s SleepAnalyser crashes to the desktop -- before any user interface is drawn up. So I uninstalled again.

Any dependency problem?

caco3 2010-08-20 00:15

Re: [ANNOUNCE]: SleepAnalyser
 
Hi joh

Which version are you using?
Can you start it in the terminal (CTRL-SHIFT-X) with
python /opt/SleepAnalyser/main.py
What does it say there?

ConiKost 2010-08-20 23:39

Re: [ANNOUNCE]: SleepAnalyser
 
Hi caco3,
I've installed today the SleepTracker. Nothing starts :(
Version 1.6 from devel.

Output from console:

Code:

# python /opt/SleepAnalyser/main.py
Configuration file /home/user/.SleepAnalyser/SleepAnalyser.conf not existing or not compatible
Traceback (most recent call last):
  File "/opt/SleepAnalyser/main.py", line 1447, in <module>
    main() #Now we can start it.
  File "/opt/SleepAnalyser/main.py", line 79, in main
    config=LoadConfig()
  File "/opt/SleepAnalyser/functions_general.py", line 54, in LoadConfig
    config.set('main', 'sample_smoothing', str(data.sample_smoothing))
AttributeError: 'module' object has no attribute 'sample_smoothing'


rexii23 2010-08-20 23:52

Re: [ANNOUNCE]: SleepAnalyser
 
Tried version Version 1.6-12. So far no big issues. The duration is still in a time format instead of just displaying the duration in hr, min & sec. otherwise I couldnt find any bugs right now. will keep on testing

convulted 2010-08-21 00:16

Re: [ANNOUNCE]: SleepAnalyser
 
Quote:

Originally Posted by ConiKost (Post 793565)
Hi caco3,
I've installed today the SleepTracker. Nothing starts :(
Version 1.6 from devel.

Output from console:

Code:

# python /opt/SleepAnalyser/main.py
Configuration file /home/user/.SleepAnalyser/SleepAnalyser.conf not existing or not compatible
Traceback (most recent call last):
  File "/opt/SleepAnalyser/main.py", line 1447, in <module>
    main() #Now we can start it.
  File "/opt/SleepAnalyser/main.py", line 79, in main
    config=LoadConfig()
  File "/opt/SleepAnalyser/functions_general.py", line 54, in LoadConfig
    config.set('main', 'sample_smoothing', str(data.sample_smoothing))
AttributeError: 'module' object has no attribute 'sample_smoothing'


This is a bug in data.py, and happens when the config file is not found. "Sample_smoothing = ..." in data.py needs to change to "sample_smoothing = ...". (Or, "sample_smoothing" in main.py needs to change to "Sample_smoothing". Not sure.)

Edit: This is in a virgin version 1.6-15 installation.

c:drive 2010-08-21 00:56

Re: [ANNOUNCE]: SleepAnalyser
 
install,,,,,reboot,,,,,,,,,then,,,,,open,,,,,loadi ng,,,,,,,,nothing! previous verson works fine with my device,now it refused to open,any thought?
mine: stock kernel,,,,(fade up with enhanch kernel)


All times are GMT. The time now is 22:01.

vBulletin® Version 3.8.8