Missing feature

Am 21.06.2010 12:14, schrieb Thomas Zimmermann:
> Am Montag 21 Juni 2010, 11:54:57 schrieb Fox Mulder:
>> I had to replace a few program paths which were no more correct. But
>> then the first try was not so successfull as i hoped. It seems that the
>> script tries to create a simple gui which fails with an AttributeError.
>>>> /usr/lib/python2.6/site-packages/dbus/connection.py:242:
>> DeprecationWarning: object.__init__() takes no parameters
>> super(Connection, self).__init__(*args, **kwargs)
>> Let's go on
>> Traceback (most recent call last):
>> File "./notifier", line 337, in <module>
>> win.destroy = destroy
>> AttributeError: 'elementary.c_elementary.Window' object has no attribute
>> 'destroy'
>>>> When i just remove the line 337 and run it i got another error:
>>>> Traceback (most recent call last):
>> File "./notifier", line 360, in <module>
>> bt_calls.clicked = show_missed_calls
>> AttributeError: 'elementary.c_elementary.Button' object has no attribute
>> 'clicked'
>>>> When i also remove the two lines for the clicked event the script seems
>> to run. But when i call myself and hang up nothing happens. I don't know
>> if nothing hapens because of the commented out gui lines or if the code
>> doesn't work anymore in general. I see that there are quite some dbus
>> calls and maybe the syntax for them also has changed. :/
>>>> When i interpret it right then the gui part only shows the missed
>> calls/sms. So maybe the gui part isn't needed anymore because we can use
>> opimd-notifier to show the missed calls/sms.
>> But without the script's gui we need another way to confirm and
>> deactivate the reminder.
>>>> Ciao,
>> Rainer
>> Callback handling in python elementary changed in november 2009:
>http://lists.shr-project.org/pipermail/shr-devel/2009-November/001374.html> That script still uses the old way, so you have to change it.
Thanks for the hint. Now i got no error when starting the script (except
for __init__) but it seems that it doesn't work. When the script runs
and i have a missed call it seems to do nothing except for the fact that
opimd-notifier also doesn't pop up anymore. So i thought if maybe
opimd-notifier and this script get in the way of each other. But after i
killed opimd-notifier and tried it again also nothing happens. So i
think that the scripts core functionality isn't working correctly. But i
don't know how to investigate the problem because i have no clue of
python programming.
Ciao,
Rainer