andialbrecht / crunchyfrog

Head over to RunSQLRun, the successor of CrunchyFrog
http://runsqlrun.org
GNU General Public License v3.0
4 stars 2 forks source link

DBusException #12

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
start the application from the command line

What is the expected output? What do you see instead?

mersmann@fmemain:~$ crunchyfrog
WARNING environ 1224867460.931852       No de_DE translation found for
domain kiwi
18:57:40 environ              No de_DE translation found for domain kiwi
Traceback (most recent call last):
  File "/usr/lib/crunchyfrog/cf/__init__.py", line 60, in <module>
    from cf import release
  File "/usr/lib/crunchyfrog/cf/__init__.py", line 103, in <module>
    from cf.app import CFApplication
  File "/usr/lib/crunchyfrog/cf/app.py", line 37, in <module>
    from dbus_manager import CFService
  File "/usr/lib/crunchyfrog/cf/dbus_manager.py", line 28, in <module>
    bus = dbus.SessionBus(mainloop=main_loop)
  File "/var/lib/python-support/python2.5/dbus/_dbus.py", line 217, in __new__
    mainloop=mainloop)
  File "/var/lib/python-support/python2.5/dbus/_dbus.py", line 106, 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:
Failed to execute dbus-launch to autolaunch D-Bus session
mersmann@fmemain:~$

What version of the product are you using? On what operating system? Python
version?
this output is on 0.30 and on 0.2.1. I did not try other releases.

Please provide any additional information below.

my system is kubuntu 8.04 (hardy heron). All requirements are installed.

Frank Mersmann
frank dot mersmann at gmail dot com

Original issue reported on code.google.com by frank.mersmann@gmail.com on 24 Oct 2008 at 5:03

GoogleCodeExporter commented 9 years ago
Looks like there's no DBUS daemon available. I'm not sure when DBUS was 
introduced in
KDE, but I think it was in KDE4 (assuming you are running CrunchyFrog with KDE).

The DBUS part is only required to handle multiple instance of CrunchyFrog, so I 
think
it's no problem to make this optional for the next release.

Original comment by albrecht.andi on 25 Oct 2008 at 7:45

GoogleCodeExporter commented 9 years ago

Original comment by albrecht.andi on 25 Oct 2008 at 7:46

GoogleCodeExporter commented 9 years ago
In addition, there are other issues with DBus on different systems:

ImportError on Arch: http://aur.archlinux.org/packages.php?ID=16988
Something similar on Fedora:
http://groups.google.com/group/crunchyfrog/browse_thread/thread/1d84eaca3a2f61e1

Original comment by albrecht.andi on 25 Oct 2008 at 7:07

GoogleCodeExporter commented 9 years ago
DBus is now completely removed, we don't really need it here and it has caused 
too
much troubles on some systems.

Original comment by albrecht.andi on 14 Nov 2008 at 10:07