After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 390221 - File not found at Startup
File not found at Startup
Status: RESOLVED NOTGNOME
Product: banshee
Classification: Other
Component: general
0.11.3
Other All
: Normal critical
: 2.x
Assigned To: Banshee Maintainers
Banshee Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-12-28 02:52 UTC by Zak
Modified: 2007-02-20 15:13 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Zak 2006-12-28 02:52:06 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:
Comment 1 John-Michael Fischer 2007-01-22 05:59:47 UTC
this happened to me as well.  Make sure hald and dbus are both installed and running.
Comment 2 junt 2007-02-17 10:37:25 UTC
Happens for me also, under both xfce and gnome. hald and dbus are running.
Comment 3 Ruben Vermeersch 2007-02-17 16:26:57 UTC
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?
Comment 4 junt 2007-02-17 16:58:43 UTC
~ $ env | grep -i dbus
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-Ns8cB9TeSt,guid=6f00d745396b81e35f4b16aec23afb00
Comment 5 Aaron Bockover 2007-02-17 19:45:17 UTC
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.
Comment 6 junt 2007-02-17 19:58:07 UTC
after init scripts update and system reboot things started to work. seems like manually started dbus/hal caused the problem
Comment 7 alp 2007-02-18 05:36:23 UTC
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.
Comment 8 Aaron Bockover 2007-02-19 20:58:05 UTC
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.
Comment 9 Zak 2007-02-20 15:13:14 UTC
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)