LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 02-23-2007, 04:02 PM   #1
thelastknowngod
Member
 
Registered: Nov 2006
Location: jersey
Distribution: Arch
Posts: 54

Rep: Reputation: 15
banshee


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...

Code:
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-ZukE5lmtlP,guid=fae59be9ed82b477a64cfe0045de57c7
DBUS_SESSION_BUS_PID=8669
im running slackware 11 with fluxbox.

hopefully this is enough info. ideas? thanks.
 
Old 02-25-2007, 11:49 AM   #2
Crooksey
LQ Newbie
 
Registered: Mar 2006
Distribution: Gentoo
Posts: 25

Rep: Reputation: 15
Are you sure dbus is running?

Code:
ps aux | grep dbus
 
Old 02-25-2007, 07:37 PM   #3
thelastknowngod
Member
 
Registered: Nov 2006
Location: jersey
Distribution: Arch
Posts: 54

Original Poster
Rep: Reputation: 15
hey Crooksey! haha. heres the output...

Code:
tlkg     28597  0.0  0.1   2164   752 ?        Ss   Feb24   0:00 /usr/bin/dbus-daemon --fork --print-pid 4 --print-address 6 --session
tlkg     14541  0.0  0.0   2740   360 ?        S    19:27   0:00 dbus-launch --autolaunch be99c9c7f8bcb4badb16930045e0b900 --binary-syntax
tlkg     14542  0.0  0.1   2168   748 ?        Ss   19:27   0:00 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
tlkg     29161  0.0  0.1   1876   612 pts/0    S+   19:38   0:00 grep dbus
 
Old 02-26-2007, 08:03 PM   #4
thelastknowngod
Member
 
Registered: Nov 2006
Location: jersey
Distribution: Arch
Posts: 54

Original Poster
Rep: Reputation: 15
anyone else have an idea?
 
Old 02-27-2007, 05:45 AM   #5
shotwellj
Member
 
Registered: Jul 2005
Location: Tempe, AZ
Distribution: Slackware
Posts: 66

Rep: Reputation: 15
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.

Cheers,
Jacob
 
Old 02-27-2007, 11:58 AM   #6
thelastknowngod
Member
 
Registered: Nov 2006
Location: jersey
Distribution: Arch
Posts: 54

Original Poster
Rep: Reputation: 15
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.

thanks for the info. ill give it a shot.
 
Old 02-27-2007, 05:25 PM   #7
mas7997
LQ Newbie
 
Registered: Feb 2007
Posts: 3

Rep: Reputation: 0
System bus vs session bus

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.
 
Old 03-06-2007, 05:51 AM   #8
riyu
LQ Newbie
 
Registered: Mar 2007
Location: India
Distribution: gentoo,debian and FreeBSD
Posts: 7

Rep: Reputation: 0
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
 
  


Reply

Tags
banshee, dbus, error, hald


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
banshee thelastknowngod Slackware 1 01-18-2007 12:53 AM
Banshee acting up?? Hitboxx Fedora 2 11-11-2006 10:52 PM
banshee is slow doralsoral Linux - Software 3 11-11-2006 09:56 AM
a Banshee bug? jern Linux - Newbie 0 07-23-2006 10:54 AM
Help With Banshee Voodoo Kenneth Rivera Linux - Newbie 2 11-16-2002 09:11 AM


All times are GMT -5. The time now is 04:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration