GNOME Bugzilla – Bug 390221
File not found at Startup
Last modified: 2007-02-20 15:13:14 UTC
Steps to reproduce: 1. Install on Gentoo 2. Attempt to run banshee 3. Stack trace: LD_LIBRARY_PATH=/usr/lib/banshee mono --debug /usr/lib/banshee/banshee.exe No such file or directory System.IO.FileNotFoundException: No such file or directory ---> Mono.Unix.UnixIOException: No such file or directory [ENOENT]. at Mono.Unix.UnixMarshal.ThrowExceptionForLastError () [0x00000] in /var/tmp/portage/mono-1.2.2.1/work/mono-1.2.2.1/mcs/class/Mono.Posix/Mono.Unix/UnixMarshal.cs:456 at Mono.Unix.UnixMarshal.ThrowExceptionForLastErrorIf (Int32 retval) [0x00007] in /var/tmp/portage/mono-1.2.2.1/work/mono-1.2.2.1/mcs/class/Mono.Posix/Mono.Unix/UnixMarshal.cs:469 at NDesk.DBus.Transports.UnixSocket.Connect (System.Byte[] remote_end) [0x00000] at NDesk.DBus.Transports.UnixNativeTransport.OpenUnix (System.String path) [0x00000] at NDesk.DBus.Transports.UnixNativeTransport..ctor (System.String path, Boolean abstract) [0x00000] at NDesk.DBus.Connection.Open (System.String path, Boolean abstr) [0x00000] at NDesk.DBus.Connection.OpenPrivate (System.String address) [0x00000] at NDesk.DBus.Connection..ctor (System.String address) [0x00000] at NDesk.DBus.Bus..ctor (System.String address) [0x00000] at NDesk.DBus.Bus.Open (System.String address) [0x00000] at NDesk.DBus.Bus.get_System () [0x00000] at NDesk.DBus.BusG.Init () [0x00000] at Banshee.BansheeEntry.Startup (System.String[] args) [0x00028] in /var/tmp/portage/banshee-0.11.3/work/banshee-0.11.3/src/Main.cs:57 at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_string[] (string[]) at Banshee.Gui.CleanRoomStartup.Startup (Banshee.Gui.StartupInvocationHandler startup, System.String[] args) [0x00045] in /var/tmp/portage/banshee-0.11.3/work/banshee-0.11.3/src/Banshee.Base/Gui/CleanRoomStartup.cs:54 (/usr/lib/banshee/banshee.exe:13050): Gtk-WARNING **: Unable to locate theme engine in module_path: "clearlooks", Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object at Banshee.Base.Branding.get_ApplicationIconName () [0x00000] in /var/tmp/portage/banshee-0.11.3/work/banshee-0.11.3/src/Banshee.Base/Branding.cs:119 at Banshee.Base.IconThemeUtils.SetWindowIcon (Gtk.Window window) [0x00000] in /var/tmp/portage/banshee-0.11.3/work/banshee-0.11.3/src/Banshee.Base/IconThemeUtils.cs:105 at Banshee.Gui.Dialogs.ExceptionDialog..ctor (System.Exception e) [0x001f0] in /var/tmp/portage/banshee-0.11.3/work/banshee-0.11.3/src/Banshee.Base/Gui/ExceptionDialog.cs:110 at Banshee.Gui.CleanRoomStartup.Startup (Banshee.Gui.StartupInvocationHandler startup, System.String[] args) [0x0006b] in /var/tmp/portage/banshee-0.11.3/work/banshee-0.11.3/src/Banshee.Base/Gui/CleanRoomStartup.cs:60 at Banshee.BansheeEntry.Main (System.String[] args) [0x00000] in /var/tmp/portage/banshee-0.11.3/work/banshee-0.11.3/src/Main.cs:43 Other information:
this happened to me as well. Make sure hald and dbus are both installed and running.
Happens for me also, under both xfce and gnome. hald and dbus are running.
It looks like it can't find the unix socket for dbus, which means your environment variables are probably not set. Could you try the following: env | grep -i dbus And paste the output here?
~ $ env | grep -i dbus DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-Ns8cB9TeSt,guid=6f00d745396b81e35f4b16aec23afb00
junt, Zak: would you mind trying against Banshee 0.11.6. There have been a number of dbus-sharp related fixes since 0.11.3.
after init scripts update and system reboot things started to work. seems like manually started dbus/hal caused the problem
The error relates to the D-Bus system bus, not the session bus. Changing DBUS_SESSION_BUS_ADDRESS won't help. Starting a session bus with dbus-launch won't help. For this to work, /var/run/dbus/system_bus_socket needs to be present and actively listened to by dbus-daemon. Later versions of Banshee have improved error reporting, but the same issue will exist, so you really need to get your system fixed. It sounds like a broken distribution. If this is the case, you'd need to contact your vendor.
In 0.11.7, this error will be handled, but you will get a warning dialog telling you that your DBus is hosed and/or to launch banshee using dbus-launch. At least it won't crash though.
Thanks for the fix. I did get it working with 0.11.6 already. I had hal and dbus version conflicts with the version of udev I had installed on my machine. Thanks for all of the great work on banshee. Now all I need is an ebuild for libgphoto2-sharp and I will be rocking. (I might do this myself but I heard a rumor that there is one in the works)