Missing dependency: dbus-x11

Bug #89832 reported by zdenek smetana
16
Affects Status Importance Assigned to Milestone
f-spot (Debian)
Fix Released
Unknown
f-spot (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: f-spot

while starting f-spot there is an error:

An unhandled exception was thrown: Unable to open the session message bus.

  at NDesk.DBus.Bus.get_Session () [0x00000]
  at NDesk.DBus.BusG.Init () [0x00000]
  at FSpot.Driver.Main (System.String[] args) [0x00000]
.NET Version: 2.0.50727.42

Assembly Version Information:

System.Data (2.0.0.0)
Mono.Data.SqliteClient (2.0.0.0)
gdk-sharp (2.10.0.0)
gnome-vfs-sharp (2.16.0.0)
NDesk.DBus.GLib (1.0.0.0)
NDesk.DBus (1.0.0.0)
System (2.0.0.0)
Mono.Posix (2.0.0.0)
atk-sharp (2.10.0.0)
gtk-sharp (2.10.0.0)
glib-sharp (2.10.0.0)
gnome-sharp (2.16.0.0)
f-spot (0.3.4.0)
Mono.GetOptions (2.0.0.0)
mscorlib (2.0.0.0)

Platform Information: Linux 2.6.20-9-generic i686 unknown GNU/Linux

Distribution Information:

[/etc/debian_version]
4.0

[/etc/lsb-release]
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=7.04
DISTRIB_CODENAME=feisty
DISTRIB_DESCRIPTION="Ubuntu feisty (development branch)"

Related branches

Revision history for this message
Cristian Aravena Romero (caravena) wrote :

Thank you for the bug report. Also, please answer these questions:

* Is this crash reproducible?
* If so, which are the steps that lead to it?

This will greatly aid us in tracking down your problem.

Changed in f-spot:
assignee: nobody → caravena
status: Unconfirmed → Needs Info
Revision history for this message
zdenek smetana (zyghom) wrote :

it is reproducible 100%

if X is started by command "startx" with .xinitrc like below:
------------
#!/bin/bash
exec startkde
------------

then it gives error like at the beginning plus from terminal we can see:
___________
17:22:30 pawjan@baboon:~$ f-spot
System.Exception: Unable to open the session message bus. ---> System.ArgumentNullException: Argument cannot be null.
Parameter name: address
  at NDesk.DBus.Bus.Open (System.String address) [0x00000]
  at NDesk.DBus.Bus.get_Session () [0x00000] --- End of inner exception stack trace ---

  at NDesk.DBus.Bus.get_Session () [0x00000]
  at NDesk.DBus.BusG.Init () [0x00000]
  at FSpot.Driver.Main (System.String[] args) [0x00000]
___________

attache you will find also output of command: "strace f-spot"

but when X started by means of "/etc/init.d/kdm start" then it is ok

Revision history for this message
Andrew Mitchell (ajmitch) wrote :

You said in http://bugzilla.gnome.org/show_bug.cgi?id=415417 that you found the solution, so can this bug be closed?

Revision history for this message
zdenek smetana (zyghom) wrote :

yes yes yes, please close it

Revision history for this message
Pedro Villavicencio (pedro) wrote :

Closing it, feel free to re open if you experience the same problem in the future, thanks in advance.

Changed in f-spot:
status: Incomplete → Invalid
Revision history for this message
Michael Totschnig (michael-totschnig) wrote :

I am seeing this same error message, although I am not starting KDE with startx, but normally from KDM. So I think, there is a problem either with f-spot or the KDE packages.

Revision history for this message
Edward Shornock (ed-shornock+launchpad) wrote :

I had the same problem. Install dbus-x11 to resolve it. I think that there should probably be a dependency on dbus-x11 by f-spot. The problem is that without dbus-x11 installed the DBUS_SESSION_BUS_ADDRESS variable is empty. With the empty variable, f-spot doesn't know how to find the session bus.

$ env |grep dbus
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-ZvZLnHIH6V,guid=008017166bdeda5072adf400476f38bf

Revision history for this message
Edward Shornock (ed-shornock+launchpad) wrote :

Missing dependency on dbus-x11

Changed in f-spot:
status: Invalid → Incomplete
Revision history for this message
Maia Everett (linneris) wrote :

Thanks. I'll forward it to Debian.

Changed in f-spot:
assignee: caravena → sikon
importance: Undecided → Medium
status: Incomplete → Triaged
Maia Everett (linneris)
Changed in f-spot:
status: New → Unknown
Changed in f-spot:
status: Unknown → New
Changed in f-spot:
status: New → Confirmed
Maia Everett (linneris)
Changed in f-spot:
status: Triaged → Fix Committed
Revision history for this message
Maia Everett (linneris) wrote :

This bug has been fixed in version 0.4.1-4ubuntu1.

Manually closing because the upload failed to autoclose it.

Changed in f-spot:
assignee: sikon → nobody
status: Fix Committed → Fix Released
Changed in f-spot:
status: Confirmed → Fix Committed
Changed in f-spot:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.