Package: gwibber Version: 3.0.0.1-2.1 Followup-For: Bug #605303 Dear Maintainer,
Gwibber-service currently has a (not needed) dependency on network-manager. If you're not using Gnome, or don't want network-manager, gwibber-service will crash hard during startup. The fix is relatively easy, basically wrapping the calls to nm in dispatcher.py in an if. Patch attached, which "Works for me" (TM) (YMMV) -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-2-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages gwibber depends on: ii gnome-keyring 3.2.2-2 ii gwibber-service 3.0.0.1-2.1 ii libjs-jquery 1.7.2-1 ii librsvg2-2 2.36.0-5 ii librsvg2-common 2.36.0-5 ii python 2.7.2-10 ii python-dbus 0.84.0-3 ii python-egenix-mxdatetime 3.2.1-1.1 ii python-gconf 2.28.1+dfsg-1 ii python-gtk2 2.24.0-3 ii python-gtkspell 2.25.3-11 ii python-imaging 1.1.7-4 ii python-mako 0.7.0-1 ii python-oauth 1.0.1-3 ii python-simplejson 2.5.0-1 ii python-support 1.0.14 ii python-webkit 1.1.8-2 ii python-wnck 2.32.0+dfsg-1 ii python-xdg 0.19-4 gwibber recommends no packages. Versions of packages gwibber suggests: pn gwibber-service-buzz <none> pn gwibber-service-digg <none> pn gwibber-service-flickr <none> pn gwibber-service-foursquare <none> pn gwibber-service-friendfeed <none> pn gwibber-service-pingfm <none> pn gwibber-service-qaiku <none> pn gwibber-service-statusnet <none> pn gwibber-themes <none> -- no debconf information
--- dispatcher.py.orig 2012-01-27 10:57:55.000000000 +0100 +++ dispatcher.py 2012-04-14 11:54:37.593832466 +0200 @@ -820,20 +820,21 @@ self.NM_STATE_UNKNOWN = 0 - log.logger.debug("NM Version is %s", str(self.nm.Get(NM_DBUS_INTERFACE, "Version"))) + if self.has_nm: + log.logger.debug("NM Version is %s", str(self.nm.Get(NM_DBUS_INTERFACE, "Version"))) - if str(self.nm.Get(NM_DBUS_INTERFACE, "Version")) >= "0.8.998": - log.logger.debug("NM Version is greater than 0.8.997") - self.NM_STATE_ASLEEP = 10 - self.NM_STATE_DISCONNECTED = 20 - self.NM_STATE_CONNECTING = 40 - self.NM_STATE_CONNECTED = 70 - else: - log.logger.debug("NM Version is less than 0.8.998") - self.NM_STATE_ASLEEP = 1 - self.NM_STATE_CONNECTING = 2 - self.NM_STATE_CONNECTED = 3 - self.NM_STATE_DISCONNECTED = 4 + if str(self.nm.Get(NM_DBUS_INTERFACE, "Version")) >= "0.8.998": + log.logger.debug("NM Version is greater than 0.8.997") + self.NM_STATE_ASLEEP = 10 + self.NM_STATE_DISCONNECTED = 20 + self.NM_STATE_CONNECTING = 40 + self.NM_STATE_CONNECTED = 70 + else: + log.logger.debug("NM Version is less than 0.8.998") + self.NM_STATE_ASLEEP = 1 + self.NM_STATE_CONNECTING = 2 + self.NM_STATE_CONNECTED = 3 + self.NM_STATE_DISCONNECTED = 4