maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] Call Notify (https://talk.maemo.org/showthread.php?t=48501)

zlatko 2010-04-01 05:18

Re: [Announce] Call Notify
 
@omeriko9
Updated to 0.0.5-3, still no go. After that manually created /home/user/.config/CallNotify/conf.txt with y;y;y;5.0 content. Restarted status-menu, but still nothing there.

PS. Should I remove conf.txt? Will it mess with further updates?

Taomyn 2010-04-01 07:09

Re: [Announce] Call Notify
 
Another request if I may please. Could the vibrate option be set to "Vibrate with profile" so it only vibrates if the main phone profile is set to do so?

This would then fall in line with any profile changes you make on the phone and always how this sort of app has worked on my previous Nokia handsets.

Having set mine to only ring on calls last night (by using Tweakr and setting all the other volumes to 0, with no vibrate) to then be woken by hearing the phone vibrate was a little frustrating.

omeriko9 2010-04-01 08:30

Re: [Announce] Call Notify
 
Quote:

Originally Posted by zlatko (Post 590809)
@omeriko9
Updated to 0.0.5-3, still no go. After that manually created /home/user/.config/CallNotify/conf.txt with y;y;y;5.0 content. Restarted status-menu, but still nothing there.

PS. Should I remove conf.txt? Will it mess with further updates?

@zlatko, have you checked for the CallNotify.desktop file?
You can keep the conf file, that shouldn't harm any future updates.

@nicolai and @zlatko, I have another idea:
please create a file called a.py in /home/user with the following content:

import gtk
import gobject
import hildon, hildondesktop
import sqlite3
import time
import dbus
import osso
import atexit, os, datetime
from dbus.mainloop.glib import DBusGMainLoop

and then run:

chmod 755 a.py
python a.py

please past here the output. I'm trying to track missing dependencies you might have.

zlatko 2010-04-01 08:37

Re: [Announce] Call Notify
 
@omeriko9
Yes, I did - it is there and is the same as the one you posted.

PS. I really like the buzz your App is producing in community. Already so many posts. For sure this is NEEDED functionality. I hope this will give you motivation to sacrifice your time to complete your project.

PS1. Created file a.py as suggested. Run it. No output. It takes ~2 sec and then nothing.

omeriko9 2010-04-01 08:44

Re: [Announce] Call Notify
 
Quote:

Originally Posted by zlatko (Post 590995)
@omeriko9
Yes, I did - it is there and is the same as the one you posted.

PS. I really like the buzz your App is producing in community. Already so many posts. For sure this is NEEDED functionality. I hope this will give you motivation to sacrifice your time to complete your project.

Well for now it does give motivation, I'm putting off my semester assignments to invest more time in this app :)

Have you tried running the above python script? It's very important to know what are the missing dependencies.

zlatko 2010-04-01 08:47

Re: [Announce] Call Notify
 
@omeriko9
Created file a.py as suggested. Run it. No output. It takes ~2 sec and then nothing.

omeriko9 2010-04-01 08:49

Re: [Announce] Call Notify
 
Quote:

Originally Posted by zlatko (Post 591009)
@omeriko9
Created file a.py as suggested. Run it. No output. It takes ~2 sec and then nothing.

Thank you. Ok, that's good, it means you don't have missing dependencies. Now I need to think what else can go wrong...

tranht 2010-04-01 08:56

Re: [Announce] Call Notify
 
thank you omeriko9 and those who put their time and work into creating this great app!!!! thank you!

nicolai 2010-04-01 09:46

Re: [Announce] Call Notify
 
No missing dependencies here, all modules can be imported.
Is it possible to start python statusmenu plugins from commandline.?
I reinstalled new version of callnotify and it seems this
plugin isnt called at all, no log.txt, no configfile.

btw the current version still creates /usr/share/application/hildon-status-menu
and the installer complains about the missing command "killall"

nicolai

qwerty12 2010-04-01 09:51

Re: [Announce] Call Notify
 
Quote:

Originally Posted by nicolai (Post 591077)
Is it possible to start python statusmenu plugins from commandline.?

You can copy the code below the line "# The code below is just for testing purposes." from http://wiki.maemo.org/PyMaemo/Hildon...mantle_only.29 , but the applet won't show up in the status menu (even if it is fully working anyway). You may be able to see error messages, though.

If you don't mind rebooting, I used http://www.velocityreviews.com/forum...22&postcount=3 to see what error messages a different Python applet was throwing as the N900 started.

Best Regards,
Faheem

zail 2010-04-01 10:31

Re: [Announce] Call Notify
 
Quote:

Originally Posted by omeriko9 (Post 590553)
Does the built-in conversation app is open while is happens? If it does, that's the reason. Also, sending SMS to yourself will not cause the notification.

Yep, now that you mention it i think the conversation window was open in background.. personally i would like the app to give me sms notification unless the converation window for that person is active but can see that might be hard to achieve and you may not want to. Tested this morn with missed call and then sms- sms notification clears the call one so it is working as you intended :) Haven't gone to next version yet but will later today and will feedback if anything changes :)

nicolai 2010-04-01 11:02

Re: [Announce] Call Notify
 
Quote:

Originally Posted by qwerty12 (Post 591090)
You can copy the code below the line "# The code below is just for testing purposes." from http://wiki.maemo.org/PyMaemo/Hildon...mantle_only.29 , but the applet won't show up in the status menu (even if it is fully working anyway). You may be able to see error messages, though.

Yes, the script runs, no errormesage. It checks for missing calls every 5 secons.

Quote:

If you don't mind rebooting, I used http://www.velocityreviews.com/forum...22&postcount=3 to see what error messages a different Python applet was throwing as the N900 started.

Best Regards,
Faheem
Thank you for this trick, but sadly, no result. I redirect the error message to a file but there are no messages.
I am pretty sure this plugin isn't called at all.
I would like to test other python status-menu plugins, any ideas
which status-menu plugins are there, in python of course.

nicolai

calvin_42 2010-04-01 11:54

Re: [Announce] Call Notify
 
Quote:

Originally Posted by omeriko9 (Post 590140)
thanks, I ment hildon-desktop.

You mean you don't have that in line 16? Then it means you have an older version.
What does the app manager shows? which version?
Can you try to uninstall and reinstall?

I've installed the version 0.0.5-3 and it now works. But the led isn't winkling anymore and the menu button on the top left isn't hightligted anymore after a miss called.

I have all the options checked in the settings.

qwerty12 2010-04-01 12:26

Re: [Announce] Call Notify
 
Quote:

Originally Posted by nicolai (Post 591160)
I would like to test other python status-menu plugins, any ideas
which status-menu plugins are there, in python of course.

Desktop Activity Manager springs to mind.

That said, omeriko9's latest version is working fine for me. :) (As always, thanks)

omeriko9 2010-04-01 12:32

Re: [Announce] Call Notify
 
Quote:

Originally Posted by calvin_42 (Post 591218)
I've installed the version 0.0.5-3 and it now works. But the led isn't winkling anymore and the menu button on the top left isn't hightligted anymore after a miss called.

I have all the options checked in the settings.

Do you mean that there is no led notification after a missed call?
And I'm not sure what you mean by "menu button on the top left"?

jer006 2010-04-01 13:19

Re: [Announce] Call Notify
 
Is there any way to stop the notification from dissapearing when you close the maemo notification window for an SMS?

When you close the maemo notification it does not mark the sms message as read in conversations until you actually open the conversations app and read it there?

More often that not I find myself closing the maemo notification only to forget that I still have the new SMS message sitting in my inbox in the conversations application which I need to reply to...

If the call notify notification would remain until there are no unread sms messages in the inbox it would be great - or if this was a configurable setting.

omeriko9 2010-04-01 19:46

Re: [Announce] Call Notify
 
Quote:

Originally Posted by jer006 (Post 591333)
Is there any way to stop the notification from dissapearing when you close the maemo notification window for an SMS?

When you close the maemo notification it does not mark the sms message as read in conversations until you actually open the conversations app and read it there?

More often that not I find myself closing the maemo notification only to forget that I still have the new SMS message sitting in my inbox in the conversations application which I need to reply to...

If the call notify notification would remain until there are no unread sms messages in the inbox it would be great - or if this was a configurable setting.

@jer006, thank you for your proposal. This indeed how you would expect the standard behavior of such feature. For example, in symbian (all versions AFAIK), an unread message is marked as such even if you read other messages, and even if you have several unread SMSs. and you read one - it says you still have n-1 number of unread messages.

This could be a great enhancement, but for now I'm concentrating on keeping it stable as-is, and making sure it's installable on all kind of costumed maemos, at least until we'll have a production release in extras.

But I agree, this is a great direction for future development.

calvin_42 2010-04-01 20:28

Re: [Announce] Call Notify
 
Quote:

Originally Posted by omeriko9 (Post 591268)
Do you mean that there is no led notification after a missed call?
And I'm not sure what you mean by "menu button on the top left"?

Yes no more led notification.

Concerning the button, I am talking about the menu button (which is displayed on the top left of your screen).

omeriko9 2010-04-01 20:54

Re: [Announce] Call Notify
 
Quote:

Originally Posted by calvin_42 (Post 591872)
Yes no more led notification.

Concerning the button, I am talking about the menu button (which is displayed on the top left of your screen).

Oh, ok, thank you for the clarification.

Can you please go to the X-term, root yourself and run:
killall hildon-status-menu
And tell me if that solved it?

Thanks.

calvin_42 2010-04-02 02:15

Re: [Announce] Call Notify
 
Quote:

Originally Posted by omeriko9 (Post 591912)
Oh, ok, thank you for the clarification.

Can you please go to the X-term, root yourself and run:
killall hildon-status-menu
And tell me if that solved it?

Thanks.

I have reinstalled the app and everything works now. Thanks for your help. I will keep you in touch if the problem occurs again.

And thanks for having made this great app! :)

F2thaK 2010-04-02 02:17

Re: [Announce] Call Notify
 
Quote:

Originally Posted by omeriko9 (Post 591912)
......root yourself.....


haha! :D thats a bit rude??

omeriko9 2010-04-02 17:11

Re: [Announce] Call Notify
 
Next version is 0.0.6-3 and has no status menu button anymore.
Instead, all configuration settings have been moved to the control panel (=settings menu).

"Manually clear notification" has been removed as a result of that.

Should be available shortly in extras-devel.

skalogre 2010-04-02 18:02

Re: [Announce] Call Notify
 
Blast it, I installed the new version for the first time and I've been unable to get a notification. I'll go through the whole thread again, see if I can work out what is going on.

omeriko9 2010-04-02 18:16

Re: [Announce] Call Notify
 
Quote:

Originally Posted by skalogre (Post 592873)
Blast it, I installed the new version for the first time and I've been unable to get a notification. I'll go through the whole thread again, see if I can work out what is going on.

That's a good idea.

Also, have you installed a previous version before?
Can you see the configuration dialog in the settings menu?

Can anyone else installed this can confirm it's working for him or not working?

skalogre 2010-04-02 18:21

Re: [Announce] Call Notify
 
First time installing your lovely little app :)

I do see the configuration dialog in Settings.

Uninstalled it and reinstalled again, restarted the phone, killed hildon-status-menu

Tried it both plugged in to the USB cable and unplugged, in case it had to do with that.

LED and yellow notification still work as expected.

omeriko9 2010-04-02 18:26

Re: [Announce] Call Notify
 
Quote:

Originally Posted by skalogre (Post 592898)
First time installing your lovely little app :)

I do see the configuration dialog in Settings.

Uninstalled it and reinstalled again, restarted the phone, killed hildon-status-menu

Tried it both plugged in to the USB cable and unplugged, in case it had to do with that.

LED and yellow notification still work as expected.

10x :)
When you say you killed hildon-status-menu, have you tried step 4 completely, as described here:
http://talk.maemo.org/showpost.php?p...&postcount=104
?
both "-9" and without it?

How did you try to check notifications? Sending SMS to yourself from the phone won't work.
Best way is to call yourself or sending SMS from another phone (calling from Skype / Google voice or sending SMS from gmail also works).

skalogre 2010-04-02 18:33

Re: [Announce] Call Notify
 
Quote:

Originally Posted by omeriko9 (Post 592905)
10x :)
When you say you killed hildon-status-menu, have you tried step 4 completely, as described here:
http://talk.maemo.org/showpost.php?p...&postcount=104
?
both "-9" and without it?

How did you try to check notifications? Sending SMS to yourself from the phone won't work.
Best way is to call yourself or sending SMS from another phone (calling from Skype / Google voice or sending SMS from gmail also works).

Called myself from my work landline a few times.

Edit:
Well, I have no CallNotify.py in there! Nor a hildon-status. /usr/lib/hildon-status right?

omeriko9 2010-04-02 18:42

Re: [Announce] Call Notify
 
Quote:

Originally Posted by skalogre (Post 592913)
Called myself from my work landline a few times.

Edit:
Well, I have no CallNotify.py in there! Nor a hildon-status. /usr/lib/hildon-status right?

You should have this file:
/usr/lib/hildon-status-menu/CallNotify.py

If you don't have it then the app won't work. Do you have it?

skalogre 2010-04-02 18:43

Re: [Announce] Call Notify
 
Quote:

Originally Posted by omeriko9 (Post 592920)
You should have this file:
/usr/lib/hildon-status-menu/CallNotify.py

If you don't have it then the app won't work. Do you have it?

Nope - as I mentioned it isn't there. This is quite strange.

omeriko9 2010-04-02 18:47

Re: [Announce] Call Notify
 
Quote:

Originally Posted by skalogre (Post 592923)
Nope - as I mentioned it isn't there. This is quite strange.

I'm going to remove this file on my device and re-install from the repository, maybe something is wrong with the installation process.

omeriko9 2010-04-02 18:50

Re: [Announce] Call Notify
 
@skalogre, Sorry, I got confused -
The file should be at
/usr/lib/hildon-desktop/CallNotify.py
and not hildon-status, don't you have this file as well?

skalogre 2010-04-02 18:53

Re: [Announce] Call Notify
 
Quote:

Originally Posted by omeriko9 (Post 592933)
@skalogre, Sorry, I got confused -
The file should be at
/usr/lib/hildon-desktop/CallNotify.py
and not hildon-status, don't you have this file as well?

I see it in there.

omeriko9 2010-04-02 19:01

Re: [Announce] Call Notify
 
Quote:

Originally Posted by skalogre (Post 592936)
I see it in there.

Well, if you don't mind getting your hands a bit dirty, there is qwerty12's helpful post, that explains how to do two things:
1. Run the file from the command line and see if it gives you any errors
2. Redirect the standard error from command line to a file (make sure you have permissions to the directory you mention).

It would be very helpful if you could post any results here.

skalogre 2010-04-02 19:04

Re: [Announce] Call Notify
 
Quote:

Originally Posted by omeriko9 (Post 592944)
Well, if you don't mind getting your hands a bit dirty, there is qwerty12's helpful post, that explains how to do two things:
1. Run the file from the command line and see if it gives you any errors
2. Redirect the standard error from command line to a file (make sure you have permissions to the directory you mention).

It would be very helpful if you could post any results here.

Thanks, I'll try it out.

jer006 2010-04-02 21:32

Re: [Announce] Call Notify
 
Just upgraded to 0.0.6-3 in testing, new settings menu looks good! Great Job on getting all of this working and looking great...

I would love to see the enhancement where notifications would persist until you actually read the sms or go into the phone app. This would make this a killer addon for me!

omeriko9 2010-04-02 21:40

Re: [Announce] Call Notify
 
Quote:

Originally Posted by jer006 (Post 593120)
Just upgraded to 0.0.6-3 in testing, new settings menu looks good! Great Job on getting all of this working and looking great...

I would love to see the enhancement where notifications would persist until you actually read the sms or go into the phone app. This would make this a killer addon for me!

I'll definitely go on that direction as soon as I'll invest some time in my duties, which I pretty much neglected while working on this app... :)

By the way - do you (or anyone else) think it would be useful to display those small yellow notification boxes at the top-left of the screen, the same kind as the one appears immediately after a missed calls or an email has been received, along with the vibration & sound on each preset interval?

zlatko 2010-04-02 21:48

Re: [Announce] Call Notify
 
Upgraded to 0.0.6-3. Now I have CallNotify in Setting-Extra menu. But everytime I press OK there I get "INternal error. Aplication settings closed."
And I don't have indication in status bar, neither get sound or vibra notifications.

zail 2010-04-02 21:52

Re: [Announce] Call Notify
 
Quote:

Originally Posted by omeriko9 (Post 593130)

By the way - do you (or anyone else) think it would be useful to display those small yellow notification boxes at the top-left of the screen, the same kind as the one appears immediately after a missed calls or an email has been received, along with the vibration & sound on each preset interval?

Do you mean display them persistantly until you read the message/ check the missed call? Or just display them as they are now?

Just downloading the update now :) Thanks

omeriko9 2010-04-02 21:55

Re: [Announce] Call Notify
 
Quote:

Originally Posted by zlatko (Post 593142)
Upgraded to 0.0.6-3. Now I have CallNotify in Setting-Extra menu. But everytime I press OK there I get "INternal error. Aplication settings closed."
And I don't have indication in status bar, neither get sound or vibra notifications.

Well the first error is related to the second one. Looks like the application is not running, thus not creating the config file, thus you get "internal error" in the settings menu (which in turn try to access that file).
My guess is that you haven't installed any previous versions, or your latest version was 0.0.3. Am I right?

Have you restarted or killed hildon-status menu as mentioned in earlier posts after installation? Basically you shouldn't, but that sometimes help if you have trouble after installation.

omeriko9 2010-04-02 21:57

Re: [Announce] Call Notify
 
Quote:

Originally Posted by zail (Post 593145)
Do you mean display them persistantly until you read the message/ check the missed call? Or just display them as they are now?

Just downloading the update now :) Thanks

I mean display them persistently along with the sound & vibration, in the same interval as they are triggered, perhaps with the number of caller or sms, or maybe some of the sms content or something like that.
This enhancement might also be unnecessary, this is why I consult you guys.


All times are GMT. The time now is 12:07.

vBulletin® Version 3.8.8