Notices


Reply
Thread Tools
zlatko's Avatar
Posts: 861 | Thanked: 936 times | Joined on Feb 2010 @ Bulgaria
#181
@omeriko9
I added code to CallNotify.py. Run the script(as root). I got sound and vibra notifications, but no LED blinking. Rebooted and tried without explicitly running the script - no notification.
 
cjp's Avatar
Posts: 762 | Thanked: 395 times | Joined on Jan 2010 @ Helsinki
#182
Originally Posted by omeriko9 View Post
Hello! Regarding feature suggestions, it's called brainstorms here, and you can search for one or publish one here:
http://maemo.org/community/brainstorm/

About email notifications - no, CallNotify doesn't do that for now. Perhaps it's an enhancement idea, but to be honest, for now I rather focus on enhancing and improving SMS and Call notifications before expanding capabilities.

Good luck with your suggestions
Alright, man thanks!

I just realized that I guess I didn't get your app to work, as I just got an SMS and saw no notification. I don't understand, I thought I saw it earlier. I did a reboot in between. :O Wonder what's going on?
 
omeriko9's Avatar
Posts: 385 | Thanked: 344 times | Joined on Jan 2010 @ Israel
#183
Originally Posted by zlatko View Post
@omeriko9
I added code to CallNotify.py. Run the script(as root). I got sound and vibra notifications, but no LED blinking. Rebooted and tried without explicitly running the script - no notification.
First, thank you for trying this.
Second, that's interesting.
It means that you don't have any trouble running the code yourself, but the hildon-status-menu daemon won't start it for some reason.

I've tried to look for a problem in the .desktop file, that's the file hildon-status-menu reads in order to load the plugin. Wanted to compare this file with another python status-menu plugin, but couldn't find one on my device.

Then I thought that there might be a problem for the hildon-status-menu to load the plugin because it's a python script, and all other plugins are compiled c libraries.

Just sharing here my thoughts so you'll understand how I got to the bottom line:

Can you please add the following line to the beginning of CallNotify.py:
#!/usr/bin/python

I'd suggest to also modify the CallNotify.desktop file.
in line 4, change
X-Path=CallNotify
to
X-Path=CallNotify.py

And please report here as usual if there's any progress...

Last edited by omeriko9; 2010-04-03 at 12:08.
 
omeriko9's Avatar
Posts: 385 | Thanked: 344 times | Joined on Jan 2010 @ Israel
#184
Originally Posted by cjp View Post
Alright, man thanks!

I just realized that I guess I didn't get your app to work, as I just got an SMS and saw no notification. I don't understand, I thought I saw it earlier. I did a reboot in between. :O Wonder what's going on?
Let's do a quick troubleshooting:

1. Was the Conversation app open when you received the SMS? There won't be any notification if it's open.
2. Do you have "Call Notify" in the settings menu under "extras", and does the "visual notification" checkbox is checked?
3. Do you get any error for clicking the "Save" button?
 
zlatko's Avatar
Posts: 861 | Thanked: 936 times | Joined on Feb 2010 @ Bulgaria
#185
@omeriko9
Did the changes(after that killed hildon-status-menu) - still no notification.

PS. No need for thanks. You are doing the job - not me ;-)
 
omeriko9's Avatar
Posts: 385 | Thanked: 344 times | Joined on Jan 2010 @ Israel
#186
Originally Posted by zlatko View Post
@omeriko9
Did the changes(after that killed hildon-status-menu) - still no notification.

PS. No need for thanks. You are doing the job - not me ;-)
Actually it's both of us doing the job

What we can check now is if your hildon-status-menu can start a simple python plugin in.

For that, you'll need to create the file test.py in /usr/lib/hildon-desktop and give it execute permissions:

Code:
import hildondesktop

class Test(hildondesktop.StatusMenuItem):
	def __init__(self):
		hildondesktop.StatusMenuItem.__init__(self)
		f = open('/home/user/a.txt', 'w')
		f.write('test')
		f.close()
		
hd_plugin_type = Test
then change the CallNotify.desktop 4th line to point to this file instead:
X-Path=test.py

Now killall the hildon-status-menu, and check for the file /home/user/a.txt and it's content.
 
zlatko's Avatar
Posts: 861 | Thanked: 936 times | Joined on Feb 2010 @ Bulgaria
#187
@omeriko9
Did the test - file /home/user/a.txt was NOT created.
 
omeriko9's Avatar
Posts: 385 | Thanked: 344 times | Joined on Jan 2010 @ Israel
#188
Originally Posted by zlatko View Post
@omeriko9
Did the test - file /home/user/a.txt was NOT created.
I see.
To be honest, I feel a bit revealed, because now I'm sure there's nothing wrong with my code or the installation process.

But there's definitely something wrong or missing with your N900.
This is a bit beyond my knowledge, perhaps someone who have deeper experience with the hildon UI might be able to help here.

Sorry
 
zlatko's Avatar
Posts: 861 | Thanked: 936 times | Joined on Feb 2010 @ Bulgaria
#189
@omeriko9
Yeah, pity...but I also don't see any way out. May be mythical PR1.2 will save the day? ;-)
 
omeriko9's Avatar
Posts: 385 | Thanked: 344 times | Joined on Jan 2010 @ Israel
#190
Originally Posted by zlatko View Post
@omeriko9
Yeah, pity...but I also don't see any way out. May be mythical PR1.2 will save the day? ;-)
Maybe it will bring its own version of 'call notify'

Don't want put any ideas in your head, but just FYI - I reflashed a few days ago, reinstalled all software from backup list, installed CallNotify, and it worked.
 
Reply

Thread Tools

 
Forum Jump


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