SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
ok so i am trying to install banshee with support for my ipod. i installed all the ipod dependencies from source as well as banshee itself. the install went fine with no hiccups at all. when i try and run banshee i get this message...
Code:
Warning: [2/22/2007 9:49:27 PM] (DBus is not available) - Your environment is not properly set up to use DBus. Please fix your environment or run Banshee through dbus-launch. Failure to do so may cause problems at a later time in Banshee during this instance.
Unable to open the system message bus.
System.Exception: Unable to open the system message bus. ---> System.IO.FileNotFoundException: No such file or directory ---> Mono.Unix.UnixIOException: No such file or directory [ENOENT].
at Mono.Unix.UnixMarshal.ThrowExceptionForLastError () [0x00000]
at Mono.Unix.UnixMarshal.ThrowExceptionForLastErrorIf (Int32 retval) [0x00000]
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.Open (System.String path, Boolean abstract) [0x00000]
at NDesk.DBus.Transports.UnixTransport.Open (NDesk.DBus.AddressEntry entry) [0x00000]
at NDesk.DBus.Transports.Transport.Create (NDesk.DBus.AddressEntry entry) [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] --- End of inner exception stack trace ---
at NDesk.DBus.Bus.get_System () [0x00000]
at Hal.Manager..ctor () [0x00000]
at Banshee.Base.HalCore.Initialize () [0x00000]
at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void ()
at Banshee.Base.ComponentInitializer.Run () [0x00000]
Warning: [2/22/2007 9:49:27 PM] (Cannot connect to NetworkManager) - An available, working network connection will be assumed
Debug: [2/22/2007 9:49:28 PM] (Loading audio profiles) - /usr/local/share/banshee/audio-profiles
Debug: [2/22/2007 9:49:28 PM] (Default player engine) - GStreamer 0.10
System.ApplicationException: HAL is not initialized
at Banshee.Base.AudioCdCore..ctor () [0x00000]
at Banshee.Base.Globals+<>c__CompilerGenerated60.<>c__AnonymousMethod183 () [0x00000]
at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void ()
at Banshee.Base.ComponentInitializer.Run () [0x00000]
System.ApplicationException: Cannot initialize DapCore because HalCore is not initialized
at Banshee.Dap.DapCore.Initialize () [0x00000]
at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void ()
at Banshee.Base.ComponentInitializer.Run () [0x00000]
Segmentation fault
i would think that dbus would not be running. i have this in my .xinitrc though which (correct me if im wrong) supposed to start dbus when i startx.
Code:
if test x"$DBUS_SESSION_BUS_ADDRESS" = x""; then
dbuslaunch=`which dbus-launch`
if test x"$dbuslaunch" != x"" -a x"$dbuslaunch" != x"no"; then
eval `$dbuslaunch --sh-syntax --exit-with-session`
fi
fi
i also tried running dbus-launch from the terminal and i got this...
I've never used dbus/hal, so maybe take this with a grain of salt.
The problem is that dbus-sharp (specifically, NDesk.DBus.Transports.UnixSocket.Connect) is trying to call connect(), but passing along a bad or empty path (connect() only returns ENOENT in these cases). Looking over the little bit of dbus-sharp in which the error occurs, I'm led to believe that hal is supposed to provide the information. A non-existent hal could mean that dbus-sharp is being passed an empty path, resulting in the eventual failure. Moreover, you're getting additional errors about Hal not being initialized.
I'd check to see that hal is running properly. Maybe try recompiling and downgrading/upgrading dbus-sharp, although it doesn't look like this portion of the code has changed for the last few releases. If that all fails, you could try to run strace to look for the point of failure (strace -o foo.txt banshee); maybe post it here.
If you're just looking for the really easy way out, I use amarok for my ipod and it works pretty well.
yeah i have been using amarok but i didnt like the way it indexed my music. i have used banshee in the past and really liked it so i thought id give it another shot.
D-Bus actually uses two different buses, a system-wide bus and a local session bus. It looks like your session bus is fine, but I didn't see any system bus running in your ps output.
Try adding a system bus to your startup by adding the following line to /etc/rc.d/rc.local
Code:
/usr/bin/dbus-daemon --system
You may have to adjust the path to dbus-daemon based on your particular setup.
Also, you'll probably want hald (the HAL daemon) running as well. I think hal is what actually sends the signals over the system bus when new hardware is plugged in or unplugged.
Try after restarting. If it does not work then try
Code:
#/etc/init.d/hald start
If it says dbus-daemon is already running then kill all dbus-daemon and run HAL(the above code). This should work. If you get an error message after starting banshee(saying dbus blablabal), quit banshee and run banshee from the terminal using the dbus-launch
Code:
dbus-launch banshee
or
/usr/bin/dbus-launch /usr/bin/banshee
For those who want to know more about D-Bus, D-Bus is a system for interprocess communication. So if you want to pass commands or get information about Banshee from say gaim you can use DBus ( which I came to know only recently... If not for the error I would have been unaware of DBus features ).For more information see D-Bus Tutorial
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.