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)

omeriko9 2010-04-04 23:58

Re: [Announce] Call Notify
 
1 Attachment(s)
Quote:

Originally Posted by bob0smith (Post 595633)
New to N900 (Hi all!) but have installed CallNotify. I too get the same message. Have done the above as root, restarted the N900 but same message.

Welcome :)

I'd like to check with you for missing dependencies.
Can you please download the attached file, place it in /home/user, and then run from terminal (as root):


mv test.txt text.py
chmod 755 test.py
python test.py


and paste the results here?
thanks.

bob0smith 2010-04-05 13:13

Re: [Announce] Call Notify
 
Quote:

Originally Posted by omeriko9 (Post 595647)
Welcome :)

I'd like to check with you for missing dependencies.
Can you please download the attached file, place it in /home/user, and then run from terminal (as root):


mv test.txt test.py
chmod 755 test.py
python test.py


and paste the results here?
thanks.

Ok, bear with me, I'm pretty new to this ...

I did the above; without root the file appears to run but outputs no results to terminal. If I sudo gainroot first, then I get -

process 4784: 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 applications using the D-Bus library.
process 4784: arguments to dbus_connection_get_data () were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 5721.
This is normally a bug in some applications using the D-Bus library.
Aborted

HTH

omeriko9 2010-04-05 13:25

Re: [Announce] Call Notify
 
Quote:

Originally Posted by bob0smith (Post 596221)
Ok, bear with me, I'm pretty new to this ...

I did the above; without root the file appears to run but outputs no results to terminal. If I sudo gainroot first, then I get -

process 4784: 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 applications using the D-Bus library.
process 4784: arguments to dbus_connection_get_data () were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 5721.
This is normally a bug in some applications using the D-Bus library.
Aborted

HTH

Thank you very much for trying.

Apparently there are no dependencies issue, but looks like there's a problem with the python-dbus bindings.

I did some google on that error, and it might be related to scratchbox, so I must ask - are you trying to install it on scratchbox? (I guess not because you do "sudo gainroot" and not "fakeroot").

Anyway, there's a workaround in the wiki, but it refers to the scratchbox issue. Perhaps it can help in case you're not running on scratchbox rather on the n900 itself.
I copied it from the wiki. Do in x-term:

Code:

eval $(dbus-launch --sh-syntax)
export DBUS_SESSION_BUS_ADDRESS
export DBUS_SESSION_BUS_PID

Can't take guarantee on that code, didn't try it on my n900 (currently restoring from another reflash :) ), so don't do it unless you're willing to reflash on worst case (although I don't expect anything like that to be necessary).

After executing the above, run
"killall hildon-status-menu"
from x-term, and check again if you get the "internal error" from the control panel.

Thanks!

zomby 2010-04-05 20:26

Re: [Announce] Call Notify
 
Quote:

Originally Posted by omeriko9 (Post 595500)
Can you please go to x-term, root, and then run
chmod 755 /usr/lib/hildon-desktop/CallNotify.py
then restart, and then try go again to settings/extras/Call Notify and tell me please if you get this "Internal Error" again.

Thanks.

The was no execute flag on this file, it was 644.

chmod +x /usr/lib/hildon-desktop/CallNotify.py doesn't helped, I got the same error after the restart.

omeriko9 2010-04-05 21:07

Re: [Announce] Call Notify
 
Quote:

Originally Posted by zomby (Post 596796)
The was no execute flag on this file, it was 644.

chmod +x /usr/lib/hildon-desktop/CallNotify.py doesn't helped, I got the same error after the restart.

Thanks, this is not the first case of execution flag missing, I'll update this for next version.

Next step is checking for missing dependencies, can you please try this as user and as root?

Thank you.

omeriko9 2010-04-06 10:14

Re: [Announce] Call Notify
 
Hi All,

I've updated version 0.0.7-1 in extras-devel.

Anyone who downloaded it before and couldn't get it to work - please try this version.

Changes:

- No permission issue on the main execution file - fixed
- Refined dependencies (now using python2.5-xxx instead of python-xxx).

Please report here if it's working for you now, and even if it's not working.

Thanks and enjoy!

loukkis 2010-04-06 10:54

Re: [Announce] Call Notify
 
Quote:

Originally Posted by omeriko9 (Post 597461)
Hi All,

I've updated version 0.0.7-1 in extras-devel.

Anyone who downloaded it before and couldn't get it to work - please try this version.

Changes:

- No permission issue on the main execution file - fixed
- Refined dependencies (now using python2.5-xxx instead of python-xxx).

Please report here if it's working for you now, and even if it's not working.

Thanks and enjoy!

Not working...

omeriko9 2010-04-06 10:58

Re: [Announce] Call Notify
 
Quote:

Originally Posted by loukkis (Post 597506)
Not working...

thanks! Well I definitely hoped it will :)
back to the planning board...

BTW - do you mind doing some troubleshooting together?

zlatko 2010-04-06 14:06

Re: [Announce] Call Notify
 
Updated to 0.0.7-1 - not working again.

kylepsp 2010-04-06 14:46

Re: [Announce] Call Notify
 
Mine still isnt working, opening it in settings produces an internal error.


All times are GMT. The time now is 23:20.

vBulletin® Version 3.8.8