Missing feature

Thomas Zimmermann ml at vdm-design.de
Mon Jun 21 12:14:49 CEST 2010

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:
That script still uses the old way, so you have to change it.

More information about the community mailing list