[pkg-fso-maint] openmoko-panel-plugin and notifications
Luca Capello
luca at pca.it
Thu Nov 6 00:07:36 UTC 2008
Hi Joachim!
On Thu, 06 Nov 2008 00:27:41 +0100, Joachim Breitner wrote:
> Am Mittwoch, den 05.11.2008, 23:49 +0100 schrieb Luca Capello:
>> Unfortunately, this is not enought, since python-notify is still a
>> dependency [1].
>>
>> I know I could fix this by myself, but I am already late with other
>> planned work, sorry.
>
> I was under the impression that
> 36 pynotify.init("panel-plugin")
> will throw an exception if no notification daemon is present, and thus
> 38 except:
> 39 notificationAvailable = False
> will happen. I can’t check it right now, though.
Actually, I was sure I tested before sending my mail. I re-tested now:
=====
debian-gta02:~# dpkg -l python-notify
[...]
ii python-notify 0.1.1-2+b1
debian-gta02:~# dpkg -l notification-\*
[...]
pn notification-daemon <none>
debian-gta02:~# dpkg -P openmoko-panel-plugin
[...]
debian-gta02:~# apt-get install openmoko-panel-plugin
[...]
Setting up openmoko-panel-plugin (0.5-1.2) ...
Processing triggers for python-support ...
debian-gta02:~# DISPLAY=:0.0 openmoko-panel-plugin
Traceback (most recent call last):
File "/usr/bin/openmoko-panel-plugin", line 1443, in <module>
icon = PanelPlugin( dbus_object )
File "/usr/bin/openmoko-panel-plugin", line 61, in __init__
self.configReader()
File "/usr/bin/openmoko-panel-plugin", line 76, in configReader
self.appendIcon(plugin)
File "/usr/bin/openmoko-panel-plugin", line 80, in appendIcon
self.icons.append(GSMIcon(self.dbus, self))
File "/usr/bin/openmoko-panel-plugin", line 522, in __init__
self.updateGSMNetworkStatus(status=self.gsmStatus)
File "/usr/bin/openmoko-panel-plugin", line 571, in updateGSMNetworkStatus
self.sendNotification()
File "/usr/bin/openmoko-panel-plugin", line 384, in sendNotification
n.show()
gobject.GError: The name org.freedesktop.Notifications was not provided by \
any .service files
debian-gta02:~#
=====
During the test above I made a typo and discovered another error not
related with this issue which should probably not generate a segfault:
=====
debian-gta02:~# DISPLAY=0.0 openmoko-panel-plugin
/var/lib/python-support/python2.5/gtk-2.0/gtk/__init__.py:72: \
GtkWarning: could not open display
warnings.warn(str(e), _gtk.Warning)
libnotify-Message: Unable to get session bus: dbus-launch failed \
to autolaunch D-Bus session: Autolaunch error: X11 initialization failed.
/usr/bin/openmoko-panel-plugin:322: Warning: invalid (NULL) pointer instance
self.icon = gtk.StatusIcon()
/usr/bin/openmoko-panel-plugin:322: Warning: g_signal_connect_data: \
assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
self.icon = gtk.StatusIcon()
/usr/bin/openmoko-panel-plugin:322: GtkWarning: Screen for GtkWindow not \
set; you must always set a screen for a GtkWindow before using the window
self.icon = gtk.StatusIcon()
/usr/bin/openmoko-panel-plugin:322: GtkWarning: gdk_screen_get_default_colormap: \
assertion `GDK_IS_SCREEN (screen)' failed
self.icon = gtk.StatusIcon()
/usr/bin/openmoko-panel-plugin:322: GtkWarning: gdk_colormap_get_visual: \
assertion `GDK_IS_COLORMAP (colormap)' failed
self.icon = gtk.StatusIcon()
/usr/bin/openmoko-panel-plugin:322: GtkWarning: gdk_screen_get_root_window: \
assertion `GDK_IS_SCREEN (screen)' failed
self.icon = gtk.StatusIcon()
/usr/bin/openmoko-panel-plugin:322: GtkWarning: gdk_window_new: \
assertion `GDK_IS_WINDOW (parent)' failed
self.icon = gtk.StatusIcon()
/usr/bin/openmoko-panel-plugin:322: GtkWarning: gdk_screen_get_display: \
assertion `GDK_IS_SCREEN (screen)' failed
self.icon = gtk.StatusIcon()
/usr/bin/openmoko-panel-plugin:322: GtkWarning: gdk_display_sync: \
assertion `GDK_IS_DISPLAY (display)' failed
self.icon = gtk.StatusIcon()
/usr/bin/openmoko-panel-plugin:322: GtkWarning: gdk_drawable_get_display: \
assertion `GDK_IS_DRAWABLE (drawable)' failed
self.icon = gtk.StatusIcon()
/usr/bin/openmoko-panel-plugin:322: GtkWarning: gdk_x11_get_xatom_by_name_for_display: \
assertion `GDK_IS_DISPLAY (display)' failed
self.icon = gtk.StatusIcon()
/usr/bin/openmoko-panel-plugin:322: GtkWarning: gdk_x11_display_get_xdisplay: \
assertion `GDK_IS_DISPLAY (display)' failed
self.icon = gtk.StatusIcon()
/usr/bin/openmoko-panel-plugin:322: GtkWarning: \
/build/buildd/gtk+2.0-2.12.11/gdk/x11/gdkdrawable-x11.c:878 \
drawable is not a pixmap or window
self.icon = gtk.StatusIcon()
Segmentation fault
debian-gta02:~#
=====
Thx, bye,
Gismo / Luca
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 314 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-fso-maint/attachments/20081106/6ce58f83/attachment.pgp
More information about the pkg-fso-maint
mailing list