maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Dialcentral 1.0 (https://talk.maemo.org/showthread.php?t=29347)

mrdally204 2009-09-03 05:50

Re: Dialcentral 1.0
 
Quote:

Originally Posted by epage (Post 320574)
I can't remember when I posted this but I implemented a feature for advanced users to do this. In the "~/.dialcentral/settings.ini" file under the "[alarm]" section is a "notifier = " field. You can set that to a custom app that will be ran every N minutes. I provide a custom notifier as an example in "/usr/lib/dialcentral/example_custom_notifier.py". From my testing it appears to run. It includes the gv_notifier sound code but it is there for example purposes only, I have not tested it.

I gave the instructions a run and was unsuccessful at getting sound to work. If there is anyone here who has can you please enlighten me. We can PM or start a new thread so we do not cloud this one with side convo.

Heres what I tried
vi ~/.dialcentral/settings.ini
notifier = /usr/lib/dialcentral/example_custom_notifier.py

Checked out the custom notifier to see what the file name was calling for. Encoded a short sound byte to 128k alert.mp3 and placed it in /usr/lib/gv-notifier/

epage 2009-09-04 13:08

Re: Dialcentral 1.0
 
Quote:

Originally Posted by EL_EASY (Post 320507)
"Strange! can't turn notifications on, it seems that I'm the only one that have this problem here .. epage how can i fix it?

EL_EASY if you could grab 1.0.5-4, I added logging support which should help. Just run Dialcentral like normal and then post the contents of the file "~/.dialcentral/dialcentral.log" and it should help me in debugging this information.

I just checked my package dependencies and it looks like I didn't make any dependencies on python-hildon. My guess is you are one of the few people with no other python hildon app. I originally did this because I used one set of package information for both Ubuntu and Maemo. With adding Mer support (which having to make changes shows my Ubuntu support was broken anyways), I made it so I can specialize package creation on distribution. I need to go make Maemo depend on python-hildon...

EL_EASY 2009-09-05 00:58

Re: Dialcentral 1.0
 
1 Attachment(s)
[QUOTE=epage;321439]EL_EASY if you could grab 1.0.5-4, I added logging support which should help. Just run Dialcentral like normal and then post the contents of the file "~/.dialcentral/dialcentral.log" and it should help me in debugging this information.=[/QUOTE

Ok I updated to version 1.0.5-4, ran Dialcentral but what i don't undertand where do i have to put this "~/.dialcentral/dialcentral.log" x Terminal or something? ...Oh! Thank u for the great work! and sorry man, I'm really stubborn when come to technology..LOL

epage 2009-09-05 01:33

Re: Dialcentral 1.0
 
Quote:

Originally Posted by EL_EASY (Post 321850)

Ok I updated to version 1.0.5-4, ran Dialcentral but what i don't undertand where do i have to put this "~/.dialcentral/dialcentral.log" x Terminal or something? ...Oh! Thank u for the great work! and sorry man, I'm really stubborn when come to technology..LOL

1.0.5-4 includes logging. This means each time Dialcentral runs, instead of printing everything to the XTerm, it writes it to a file. The file is located at "~/.dialcentral/dialcentral.log". The standard Maemo file browser cannot browse to that location though. You will want to run the following command
Code:

cp .dialcentral/dialcentral.log MyDocs/
From there you can open it with programs like "Notes", grab the text, and post it on here.

I leave on vacation tomorrow for a week. I should be able to respond, albeit slowly, up till Wednesday at which time I will have no internet connection till Saturday.

EL_EASY 2009-09-05 03:34

Re: Dialcentral 1.0
 
Quote:

Originally Posted by epage (Post 321857)
1.0.5-4 includes logging. This means each time Dialcentral runs, instead of printing everything to the XTerm, it writes it to a file. The file is located at "~/.dialcentral/dialcentral.log". The standard Maemo file browser cannot browse to that location though. You will want to run the following command
Code:

cp .dialcentral/dialcentral.log MyDocs/
From there you can open it with programs like "Notes", grab the text, and post it on here.

I leave on vacation tomorrow for a week. I should be able to respond, albeit slowly, up till Wednesday at which time I will have no internet connection till Saturday.

this what i got....Am I doing something wrong?
BusyBox v1.6.1 (2008-09-18 09:43:17 EEST) Built-in shell (ash)

Enter 'help' for a list of built-in commands.

/home/user # cp.dialcentral/dialcentral.log MyDocs/

/bin/sh: cp.dialcentral/dialcentral.log: not found

lemmyslender 2009-09-05 13:14

Re: Dialcentral 1.0
 
Quote:

Originally Posted by EL_EASY (Post 321896)
this what i got....Am I doing something wrong?
BusyBox v1.6.1 (2008-09-18 09:43:17 EEST) Built-in shell (ash)

Enter 'help' for a list of built-in commands.

/home/user # cp.dialcentral/dialcentral.log MyDocs/

/bin/sh: cp.dialcentral/dialcentral.log: not found

There should be a space between cp and .dialcentral/dialcentral.log MyDocs/ (unless that was a typo)

Laughing Man 2009-09-05 19:41

Re: Dialcentral 1.0
 
Interesting.. upgraded to 1.0.5-4 and tried checking the notification box again. And it tells me the value must be between 0 and 59. But I tried any # including 30 and my previous 15 and it still won't stay checked..

heavyt 2009-09-05 22:15

Re: Dialcentral 1.0
 
Quote:

Originally Posted by Laughing Man (Post 322192)
Interesting.. upgraded to 1.0.5-4 and tried checking the notification box again. And it tells me the value must be between 0 and 59. But I tried any # including 30 and my previous 15 and it still won't stay checked..

I tried to change the value and had no problems. Have 1.0.5-4, N810.

dantonic 2009-09-06 00:52

Re: Dialcentral 1.0
 
I check the notification boxes, but i get no notifications. so far tested smses. is it supposed to make a sound or what?

Laughing Man 2009-09-06 01:20

Re: Dialcentral 1.0
 
Interesting.. messing around with the values.. > 30 doesn't seem to stay checked. 15 = stays checked (for now it seems). And around 20 it'll randomly decide to stay checked or not.


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

vBulletin® Version 3.8.8