Package: gpodder
Version: 0.15.1-1
Severity: normal
Tags: patch

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I get an error message when executing "gpodder --run" from cron:

Traceback (most recent call last):
  File "/usr/bin/gpodder", line 185, in <module>
    sys.exit( main())
  File "/usr/bin/gpodder", line 132, in main
    session_bus = dbus.SessionBus()
  File "/var/lib/python-support/python2.5/dbus/_dbus.py", line 219, in __new__
    mainloop=mainloop)
  File "/var/lib/python-support/python2.5/dbus/_dbus.py", line 108, in __new__
    bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
  File "/var/lib/python-support/python2.5/dbus/bus.py", line 125, in __new__
    bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.Spawn.ExecFailed: 
dbus-launch failed to autolaunch
D-Bus session: Autolaunch error: X11 initialization failed.

The following patch should fix the issue:
- --- /usr/bin/gpodder.orig       2009-03-19 07:37:42.000000000 +0100
+++ /usr/bin/gpodder    2009-03-19 07:38:07.000000000 +0100
@@ -129,8 +129,8 @@
         enable_verbose()

     # Try to find an already-running instance of gPodder
- -    session_bus = dbus.SessionBus()
     try:
+        session_bus = dbus.SessionBus()
         remote_object = session_bus.get_object(gpodder.dbus_bus_name, 
gpodder.dbus_gui_object_path)
         from gpodder.liblogger import log
         log('Found gPodder GUI instance already running')


- -- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.28.8grog1 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gpodder depends on:
ii  python                        2.5.4-2    An interactive high-level object-o
ii  python-dbus                   0.83.0-1   simple interprocess messaging syst
ii  python-feedparser             4.1-12     Universal Feed Parser for Python
ii  python-glade2                 2.14.1-1   GTK+ bindings: Glade support
ii  python-gtk2                   2.14.1-1   Python bindings for the GTK+ widge
ii  python-support                0.8.7      automated rebuilding support for P

Versions of packages gpodder recommends:
pn  python-gpod                   <none>     (no description available)
pn  python-gtkhtml2               <none>     (no description available)
pn  python-pymtp                  <none>     (no description available)

Versions of packages gpodder suggests:
pn  gnome-bluetooth <none>                   (no description available)
ii  mplayer-nogui [ 1:1.0.rc2svn20090316-0.0 The Ultimate Movie Player For Linu
pn  python-bluez |  <none>                   (no description available)
ii  python-eyed3    0.6.17-1                 Python module for id3-tags manipul
pn  python-pymad    <none>                   (no description available)

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAknB6N0ACgkQeBwlBDLsbz7pKgCeOrnzoQC655sjPnybfV7Ielxk
AgsAoJVPquQ6+yYD3zB1S1EJ0ack84RH
=Gubb
-----END PGP SIGNATURE-----



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to