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)

falter 2010-05-14 08:37

Re: [Announce] Call Notify
 
since installing call notify, my conversations inbox has stopped working - now when I try and uninstall it, it just says:

unable to uninstall 'callnotify'
Required by application packages:
snapy (0.1.2-3)
levelball (0.0.7-9)

any ideas how I can remove callnotify without getting rid of these two?

vintc 2010-05-14 08:49

Re: [Announce] Call Notify
 
Uninstall Snapy and LevelBall...uninstall Call Notify and you can install first two apps.. :)

skalogre 2010-05-14 17:46

Re: [Announce] Call Notify
 
Love this handy little application. Now, would we be able to integrate fMMS notifications :) ? http://talk.maemo.org/showpost.php?p...&postcount=134

mobilemania250 2010-05-19 16:55

Re: [Announce] Call Notify
 
Hi Omer

Im new to linux and I am thoroughly enjoying the features of maemo with the n900. I installed callnotify successfully and managed to run it with no hitch. Then today I came across this issue. I did not see any status notifications anymore. Even after reboot the problem remained. Also after I receive an sms or miss call I opened the messages/calls tapping on the dual-icons on the top left corner. That's all fine until I keep hearing the (bling-bling) notification tone every minute or so. :confused:

How is this possible even after I have checked my notifications? The only way i managed to stop the tone was by uninstalling callnotify :( Initially it refused to uninstall saying stopwatch was using callnotify so I had to uninstall stopwatch. But i love this nifty app and would love to continue using it. The version I was using was callnotify 0.1.0-1.

Plz help.

ucahmetuc 2010-05-19 20:25

Re: [Announce] Call Notify
 
Quote:

Originally Posted by mobilemania250 (Post 666345)
Hi Omer

Im new to linux and I am thoroughly enjoying the features of maemo with the n900. I installed callnotify successfully and managed to run it with no hitch. Then today I came across this issue. I did not see any status notifications anymore. Even after reboot the problem remained. Also after I receive an sms or miss call I opened the messages/calls tapping on the dual-icons on the top left corner. That's all fine until I keep hearing the (bling-bling) notification tone every minute or so. :confused:

How is this possible even after I have checked my notifications? The only way i managed to stop the tone was by uninstalling callnotify :( Initially it refused to uninstall saying stopwatch was using callnotify so I had to uninstall stopwatch. But i love this nifty app and would love to continue using it. The version I was using was callnotify 0.1.0-1.

Plz help.

+1
and i clicked the CallNotify* button but menu did not appear :confused: I've uninstalled and reinstalled several times (and formatted) but the results did not change :(

(vers. PR 1.2 b)

* = Settings -> Extras -> CallNotify

Novurania 2010-05-19 21:14

Re: [Announce] Call Notify
 
Hi Omer,

Thank you for a much needed app for the N900.

I found an odd behavior related to Voicemail. If I miss a call and it is not followed by a Voicemail, callnotify works great. If the caller leaves a Voicemail, only the blue led flashes. Call notify no longer give sound or vibration alerts.

More specifically, if I call the phone and don't answer, the visual indication appears in the status area switching between the phone icon and the number 1. As soon as the voice mail notification arrives, the status indication goes away. It is as if the Voicemail somehow cancels the call notify.

My carrier is T-Mobile US. From what I have been able to read, they send an SMS to indicate the Voicemail.

omeriko9 2010-05-19 21:25

Re: [Announce] Call Notify
 
@mobilemania250 and @ucahmetuc, you describe different scenarios.

mobilemania, it's a rear scenario that you get "stuck" with a notification. It was common with earlier version of CallNotify but current version (the one you're using, 0.1.0-1) should usually remove any notification after the missed call/SMS has been viewed.

In case you still get a "stuck" notification, you don't need to remove the entire application. You can eather reset or use x-term with "killall -9 hildon-status-menu" command, as root.

ucahmetuc - I didn't check CallNotify with the leaked PR1.2 for the simple reason I don't want to install it but wait for the official one. The issue you describe sounds like a permission issue, I would suggest checking the troubleshooting thread and follow the instruction there. If that won't help, I can only suggest to wait until the official release and then I'll test it with that release and make the necessary adjustments if any are required.

@Novurania - this is a case I couldn't test as I don't have a voicemail. Perhaps it has something to do with a d-bus signal sent by the device when the voice-mail takes the call, but I'm not sure why this would happen at all (as the device should not know about this, voice mail is a network service).

Can anyone else confirm the voice mail issue?

Novurania 2010-05-19 23:25

Re: [Announce] Call Notify
 
Hi Omer,

Thank you for the quick reply.
Is there any data I can collect that might help identify the cause.

Some information I can give you is that when the sms comes in, the N900 somehow identifies this as a special voicemail sms. No sms message shows in conversations. Instead, another entry appears in the phone app instead of the usual up or down arrow, there is a yellow tape icon labeled voicemail. Once you call to get messages, the icon changes to a blue up arrow. Unlike other calls, there is only ever one voicemail entry.

mrl0n3ly714 2010-05-20 01:31

Re: [Announce] Call Notify
 
waiting for it supports PR1.2 Leak , i tried with leak PR1.2 , everthing installed correct, the app is under setting but could not load when click on it. check the permission and set everything to 777. any ideas why it couldnt open.

mobilemania250 2010-05-20 10:59

Re: [Announce] Call Notify
 
Hi Omer

Well this is quite surprising. I ran the "killall -9 hildon-status-menu" command from X-terminal and reinstalled callnotify. Now I can see the notification in the status menu. The repeating sound notification has also stopped after i view and close the yellow box.

Thanks for you help omer and I am quite happy that the app is functioning well. :D

mrl0n3ly714 2010-05-21 13:04

Re: [Announce] Call Notify
 
Quote:

Originally Posted by omeriko9 (Post 590991)
@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.

this is what i got for running PR1.2 leaked,
callnotify installed fine, the conf is there, and when click on callnotify in extra setting, it could not open..nor does not work.

Code:

python a.py
process 2570: arguments to dbus_connection_get_data() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 5757.
This is normally a bug in some application using the D-Bus library.
process 2570: arguments to dbus_connection_set_data() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 5721.
This is normally a bug in some application using the D-Bus library.
Aborted


mr yoda 2010-05-26 04:48

Re: [Announce] Call Notify
 
Quote:

Originally Posted by omeriko9 (Post 666685)
@mobilemania250 and @ucahmetuc, you describe different scenarios.

mobilemania, it's a rear scenario that you get "stuck" with a notification. It was common with earlier version of CallNotify but current version (the one you're using, 0.1.0-1) should usually remove any notification after the missed call/SMS has been viewed.

In case you still get a "stuck" notification, you don't need to remove the entire application. You can eather reset or use x-term with "killall -9 hildon-status-menu" command, as root.

ucahmetuc - I didn't check CallNotify with the leaked PR1.2 for the simple reason I don't want to install it but wait for the official one. The issue you describe sounds like a permission issue, I would suggest checking the troubleshooting thread and follow the instruction there. If that won't help, I can only suggest to wait until the official release and then I'll test it with that release and make the necessary adjustments if any are required.

@Novurania - this is a case I couldn't test as I don't have a voicemail. Perhaps it has something to do with a d-bus signal sent by the device when the voice-mail takes the call, but I'm not sure why this would happen at all (as the device should not know about this, voice mail is a network service).

Can anyone else confirm the voice mail issue?

So does Call Notify work with the official pr1.2 release or do you need to play around with it? I've installed it again but nothing happens when I click on the icon.

omeriko9 2010-05-26 08:27

Re: [Announce] Call Notify
 
Quote:

Originally Posted by mr yoda (Post 677859)
So does Call Notify work with the official pr1.2 release or do you need to play around with it? I've installed it again but nothing happens when I click on the icon.

Currently it doesn't work, need to play around as you said and find out why.

Venemo 2010-05-26 08:41

Re: [Announce] Call Notify
 
Hi,

I installed Call Notify on PR 1.2 yesterday.
It is not working.

Additionally, if I launch Settings and click on "Call Notify", it won't appear, and after that, no other control panel applet appears until I restart the Settings app.

omeriko9 2010-05-26 08:42

Re: [Announce] Call Notify
 
Quote:

Originally Posted by Venemo (Post 678511)
Hi,

I installed Call Notify on PR 1.2 yesterday.
It is not working.

Additionally, if I launch Settings and click on "Call Notify", it won't appear, and after that, no other control panel applet appears until I restart the Settings app.

I am aware of that, read the thread previous to yours. Trying to find out why...

mr yoda 2010-05-26 10:42

Re: [Announce] Call Notify
 
Quote:

Originally Posted by omeriko9 (Post 678456)
Currently it doesn't work, need to play around as you said and find out why.

Thanks for the reply. I hope you manage to get it working 'cos it's a really useful app.

Good luck with it.

hqh 2010-05-26 10:48

Re: [Announce] Call Notify
 
Quote:

Originally Posted by omeriko9 (Post 678515)
I am aware of that, read the thread previous to yours. Trying to find out why...

The same problem seems to exist with newly compiled versions of shortcutd control panel plugin. Haven't figured out why.

omeriko9 2010-05-26 11:59

Re: [Announce] Call Notify
 
Quote:

Originally Posted by hqh (Post 678918)
The same problem seems to exist with newly compiled versions of shortcutd control panel plugin. Haven't figured out why.

If you will figure out, I would appreciate it if you can share the reason...

I think I've managed to understand why the CallNotify itself (not the settings menu plugin) is not working - looks like PR1.2 won't write to el.db anymore, still need to figure out where it writes calls/SMS events now... (not nice, Nokia!)

nicolai 2010-05-26 12:06

Re: [Announce] Call Notify
 
Quote:

Originally Posted by omeriko9 (Post 679100)
If you will figure out, I would appreciate it if you can share the reason...

I think I've managed to understand why the CallNotify itself (not the settings menu plugin) is not working - looks like PR1.2 won't write to el.db anymore, still need to figure out where it writes calls/SMS events now... (not nice, Nokia!)


el-v1.db maybe
I got some problems with that after PR 1.2 update in the conversations history.
http://talk.maemo.org/showthread.php...183#post678183

omeriko9 2010-05-26 12:09

Re: [Announce] Call Notify
 
Quote:

Originally Posted by nicolai (Post 679118)
el-v1.db maybe
I got some problems with that after PR 1.2 update in the conversations history.
http://talk.maemo.org/showthread.php...183#post678183

Thanks, that's true, I verified that right now.

Unfortunately, it's not the only change they've made.
Looks like there are some breaking changes I need to take care of with my code, might take some time until a new working version of call notify will be published.

zlatko 2010-05-26 18:23

Re: [Announce] Call Notify
 
For me callnotify IS working with PR1.2. It was working even with leaked RC1.2. Only problem is that I am not able to access settings via the GUI - when I click on it doesn't open. And that it always shows 5 unread SMS in status area.

Raubtier 2010-05-26 20:27

Re: [Announce] Call Notify
 
thanks! hope it will come soon! i appreciate the work ;-)

ceevee 2010-05-27 02:52

Re: [Announce] Call Notify
 
Quote:

Originally Posted by zlatko (Post 680272)
For me callnotify IS working with PR1.2. It was working even with leaked RC1.2. Only problem is that I am not able to access settings via the GUI - when I click on it doesn't open. And that it always shows 5 unread SMS in status area.

I am experiencing the same with PR 1.2.

mackan1 2010-05-27 08:31

Re: [Announce] Call Notify
 
Cant wait for the update. to get it working on 1.2.
Keep up the good work man.

omeriko9 2010-05-27 11:07

Re: [Announce] Call Notify
 
Quote:

Originally Posted by mackan1 (Post 682022)
Cant wait for the update. to get it working on 1.2.
Keep up the good work man.

For anyone who wish to keep using CallNotify until I'll upload a fixed version (which I don't have yet), can edit the file /usr/lib/hildon-desktop/CallNotify.py as root, and change line 23 from:

Quote:

self.path = "/home/user/.rtcom-eventlogger/el.db"
to

Quote:

self.path = "/home/user/.rtcom-eventlogger/el-v1.db"
This will not solve the setting menu, only cause CallNotify to work with PR1.2.

Settings can be edited manually in /home/user/.config/CallNotify/conf.txt (y;y;y;5.0 means yes for visual, yes for vibration, yes for sound and notify every 5 minutes).

hqh 2010-05-27 19:12

Re: [Announce] Call Notify
 
Quote:

Originally Posted by omeriko9 (Post 679100)
If you will figure out, I would appreciate it if you can share the reason...

Having a call in the (shortcutd) panel applet code to change a static member variable of an included class (even if this was never executed...) caused the control panel to freeze :confused:
Oh well, didn't really need that anyway so I solved the problem by removing the offending code :p

n61adm 2010-05-28 14:52

Re: [Announce] Call Notify
 
Quote:

Originally Posted by omeriko9 (Post 682354)
For anyone who wish to keep using CallNotify until I'll upload a fixed version (which I don't have yet), can edit the file /usr/lib/hildon-desktop/CallNotify.py and change it from:



to



This will not solve the setting menu, only cause CallNotify to work with PR1.2.

Settings can be edited manually in /home/user/.config/CallNotify/conf.txt (y;y;y;5.0 means yes for visual, yes for vibration, yes for sound and notify every 5 minutes).

the modification above did not work for me... do i need to do anything after editing the file? i already tried to reboot...

omeriko9 2010-05-28 16:29

Re: [Announce] Call Notify
 
Quote:

Originally Posted by n61adm (Post 685842)
the modification above did not work for me... do i need to do anything after editing the file? i already tried to reboot...

Reboot should work. You can also try this.

How did you edit the file? you should do it as root, otherwise you won't be able to save it after the change. After saving it, view the file to see if it reflects the change you've just made.

robertran88 2010-05-28 17:30

Re: [Announce] Call Notify
 
i am confused on how to EDIT these lines

can edit the file /usr/lib/hildon-desktop/CallNotify.py as root, and change line 23 from:

omeriko9 2010-05-28 19:17

Re: [Announce] Call Notify
 
Quote:

Originally Posted by robertran88 (Post 686188)
i am confused on how to EDIT these lines

can edit the file /usr/lib/hildon-desktop/CallNotify.py as root, and change line 23 from:

You can edit the file without root, but you won't be able to save it, so gaining root is a necessity here.

VI is a very simple (or complicated, depends who you ask) text editor for linux. In order to enter the "edit" mode, you first need to press "i".
Otherwise, each letter will be interpreted as a command and led to crazy behavior of VI.

To exit "edit" mode, press ESC.

sulaimanfbi 2010-05-28 20:10

Re: [Announce] Call Notify
 
hi,
wen i install call notify it says some app. packages req. for installation...
can u help me plzz ..tell me how to install it on pr1.2

omeriko9 2010-05-28 21:07

Re: [Announce] Call Notify
 
Quote:

Originally Posted by sulaimanfbi (Post 686618)
hi,
wen i install call notify it says some app. packages req. for installation...
can u help me plzz ..tell me how to install it on pr1.2

Hi,

Please note that CallNotify is still in dev & testing stages, and is not recommended for novice users.

Currently, CallNotify is not working with PR1.2 (see red message in the first post here), I suggest to wait until I'll publish a working version which should be soon.

Anyway, you shouldn't have any strange errors during installation. If you do, please post the exact message here and I'll try to help you out.

rcastberg 2010-05-29 09:28

Re: [Announce] Call Notify
 
Hi,

Seems that nokia updated the librtcom-eventlogger.so library, as evident from:
Code:

# ldd /usr/lib/hildon-control-panel/libcallnotify.so|grep found
librtcom-eventlogger.so.0 => not found

I managed to get settings to work by creating a link to the new version, this a tempory hack, but a recompile of the library should sort that out.
Code:

ln -s /usr/lib/librtcom-eventlogger.so.1 s/usr/lib/librtcom-eventlogger.so.0
They also changed the database format and i had to change the getMissedCalls function:
Code:

    def getMissedCallsCount(self, isSms):
                self.dbg('getMissedCallsCount started. agrs: ' + str(isSms))
                conn = sqlite3.connect(self.path)
                cur = conn.cursor()
                if isSms:
                        #Nokia changed the event number from 7 to 11 and also combined the incomming and outgoing sms's
                        cur.execute("select count(id) from Events where event_type_id = 11 and outgoing = 0")
                else:
                        #Nokia changed the event from 3 to 2
                        cur.execute("select count(id) from Events where event_type_id = 2")

Seems to work well now.

Rene

robertran88 2010-05-29 19:06

Re: [Announce] Call Notify
 
Quote:

Originally Posted by rcastberg (Post 687609)
Hi,

Seems that nokia updated the librtcom-eventlogger.so library, as evident from:
Code:

# ldd /usr/lib/hildon-control-panel/libcallnotify.so|grep found
librtcom-eventlogger.so.0 => not found

I managed to get settings to work by creating a link to the new version, this a tempory hack, but a recompile of the library should sort that out.
Code:

ln -s /usr/lib/librtcom-eventlogger.so.1 s/usr/lib/librtcom-eventlogger.so.0
They also changed the database format and i had to change the getMissedCalls function:
Code:

    def getMissedCallsCount(self, isSms):
                self.dbg('getMissedCallsCount started. agrs: ' + str(isSms))
                conn = sqlite3.connect(self.path)
                cur = conn.cursor()
                if isSms:
                        #Nokia changed the event number from 7 to 11 and also combined the incomming and outgoing sms's
                        cur.execute("select count(id) from Events where event_type_id = 11 and outgoing = 0")
                else:
                        #Nokia changed the event from 3 to 2
                        cur.execute("select count(id) from Events where event_type_id = 2")

Seems to work well now.

Rene



where do i go to change these areas?

rcastberg 2010-05-30 17:59

Re: [Announce] Call Notify
 
Quote:

where do i go to change these areas?
the main changes are in /usr/lib/hildon-desktop/CallNotify.py

While the linking is done in a terminal (xterm) as root, i suggest that you wait for an updated application, as providing a link to applications expecting an older library can have unexpected consequences.

I am sure that omeriko9 is working on the issues at hand and will provide an update as soon as he is ready.

JonWW 2010-05-30 18:07

Re: [Announce] Call Notify
 
Will this be reqiured any more? :( As PR 1.2 seems to now do automatically what your have been trying to do all along.

vigilius 2010-05-31 01:31

Re: [Announce] Call Notify
 
While some of Call Notifys functions are now defunct due to PR1.2 having them natively, there are other functions that PR1.2 doesn't have.

And those functions still work fine here.

khodorhijazi 2010-05-31 13:23

Re: [Announce] Call Notify
 
hello omeriko9,

The newest version of call notify is installing properly with pr1.2.
however i am not able to access it through the settings and it is sometimes not notifying me about missed calls or messages.

Kindly requesting ur help.

skalogre 2010-05-31 14:12

Re: [Announce] Call Notify
 
Quote:

Originally Posted by khodorhijazi (Post 691725)
hello omeriko9,

The newest version of call notify is installing properly with pr1.2.
however i am not able to access it through the settings and it is sometimes not notifying me about missed calls or messages.

Kindly requesting ur help.

Read first post.

zlatko 2010-05-31 14:48

Re: [Announce] Call Notify
 
After I updated to today's version of callnotify(with el-v1.db) it stopped working. I changed el-v1.db to el.db, but it doesn't improve the situation.


All times are GMT. The time now is 15:57.

vBulletin® Version 3.8.8