You are not logged in.

#1 2006-03-28 09:53:05

EAD
Member
Registered: 2006-03-11
Posts: 255

Problem with beep-media-player-2

Hii I think the problem is in my midi, any way when running beep-media-player-2, it refuse to run and say

beep-media-player-2: Couldn't connect to session bus: Unable to determine the address of the message bus

What shell I do please?

Offline

#2 2006-03-28 10:46:44

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: Problem with beep-media-player-2

EAD wrote:

What shell I do please?

File a bug tongue

Temporary I threw this kinda dirty PKGBUILD together, which works for me

pkgname=bmpx
pkgver=0.14.2
pkgrel=1
pkgdesc="BMPx is the follow-up of the BMP project with a codebase rewritten from scratch"
url="http://beep-media-player.org/"
license="GPL"
depends=(
    'musicbrainz>=2.1.2' 
    'gstreamer0.10>=0.10.3.1' 
    'gstreamer0.10-base' 
    'neon>=0.25.5' 
    #'gamin>=0.1.1' 
    'gtk2>=2.8.0' 
    'hal>=0.5.6' 
    'gconf>=2.6.4' 
    'cairo>=1.0.0' 
    'taglib>=1.4' 
    'libglade>=2.5.1' 
    'dbus>=0.60' 
    #'curl' 
    'pango>=1.9.1' 
    'libxml2>=2.6.1' 
    'startup-notification>=0.8' 
    'glib2>=2.10' 
    )
source=(http://switch.dl.sourceforge.net/sourceforge/beepmp/$pkgname-$pkgver.tar.gz)
md5sums=()

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr --enable-amazon --enable-hal
  make || return 1
  make DESTDIR=$startdir/pkg install
}

[edit] running it for about 10 minutes now, it is slowly eating memory, now about 43 megs and rising, with no gui running.
I would not advice to use bmpx for everyday use, but feel free to do so.

[edit2]stupid applications doesn't let me kill the process  :twisted:

Offline

#3 2006-03-28 13:10:32

EAD
Member
Registered: 2006-03-11
Posts: 255

Re: Problem with beep-media-player-2

amm, so the program is full of bugs?
Shell I use it or not?

Offline

#4 2006-03-28 13:19:07

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: Problem with beep-media-player-2

If you should use it or not is a matter of personal preferences. All I can say is that I removed it already wink...
...but on the other hand, it does not harm you giving it a testdrive.

About the bugs, yes there are some, but they won't go away when nobody is using it & submitting bug report to the bmpx devs.

Offline

#5 2006-03-28 13:37:46

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Problem with beep-media-player-2

Bear in mind that bmpx is not the same as beep-media-player-2 - more like the cutting-edge next-gen version of it. Re your first question, is dbus running?

Offline

#6 2006-03-28 13:38:45

EAD
Member
Registered: 2006-03-11
Posts: 255

Re: Problem with beep-media-player-2

What is dbus?
and why should I run it?

Offline

#7 2006-03-28 13:58:27

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: Problem with beep-media-player-2

tomk wrote:

Bear in mind that bmpx is not the same as beep-media-player-2 - more like the cutting-edge next-gen version of it. Re your first question, is dbus running?

bmpx from testing should be started with beep-media-player-2, so I thought that's what he meant.

I tried it too, but it was not working here, also some sort of dbus error (yes, dbus was running roll )

EAD wrote:

What is dbus?
and why should I run it?

I think it is possible to build bmpx without dbus, you should check their homepage about that.

Offline

#8 2006-03-28 14:50:36

matsche
Member
From: .at
Registered: 2004-04-27
Posts: 120

Re: Problem with beep-media-player-2

same error here! but my dbus is running!


THX!!
cu matsche

Offline

#9 2006-03-28 14:54:32

EAD
Member
Registered: 2006-03-11
Posts: 255

Re: Problem with beep-media-player-2

Yep even with Dbus I still get this erorr

Offline

#10 2006-03-28 14:58:12

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: Problem with beep-media-player-2

EAD wrote:

Yep even with Dbus I still get this erorr

so compile the package with the above PKGBUILD and it runs wink

Are all of you guys running a 'testing' system? Maybe the package is build on a current/extra system? somebody in a postition to verify?

Offline

#11 2006-03-28 16:39:25

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Problem with beep-media-player-2

bmpx is in testing now - since yesterday, actually. Obviously, it's compiled against the testing versions of dbus, neon, gstreamer, etc. So that would be the one to try.

Offline

#12 2006-03-28 16:49:02

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: Problem with beep-media-player-2

tomk wrote:

bmpx is in testing now - since yesterday, actually. Obviously, it's compiled against the testing version of dbus, neon, gstreamer, etc. So that would be the one to try.

so we did  roll

and obviously it is not working, but compiling myself does.....well kinda, except for the bugs in the program

Offline

#13 2006-03-28 17:27:00

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Problem with beep-media-player-2

OK - sorry. I'm obviously suffering from time-lag. :oops:

Having said that, I'm running it now with no problems - I'll leave it going for a while and see what happens.

Offline

#14 2006-03-28 19:48:49

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Problem with beep-media-player-2

Right, bmpx has been running here since my last post, playing mp3s from a NFS share, and it's been solid - CPU 12-15%, memory 6-7%.

I think I'll keep it around for a while. smile

Offline

#15 2006-03-28 20:00:23

EAD
Member
Registered: 2006-03-11
Posts: 255

Re: Problem with beep-media-player-2

So why can't I run it?

Offline

#16 2006-03-28 20:00:32

kpiche
Forum Fellow
From: Ottawa, ON, Canada
Registered: 2004-03-30
Posts: 246
Website

Re: Problem with beep-media-player-2

matsche wrote:

same error here! but my dbus is running!

Having a dbus daemon running is not the same thing as having a dbus session.  Either you start your X server in a dbus session or in a terminal try:

dbus-launch beep-media-player-2

Offline

#17 2006-03-28 22:25:17

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Problem with beep-media-player-2

Why would that be necessary for some users, but not others? Assuming we're all running the same versions of everything from testing.

Offline

#18 2006-03-29 08:10:45

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: Problem with beep-media-player-2

kpiche wrote:
matsche wrote:

same error here! but my dbus is running!

Having a dbus daemon running is not the same thing as having a dbus session.  Either you start your X server in a dbus session or in a terminal try:

dbus-launch beep-media-player-2

so that's why my own version did run, as I did not add the --enable-dbus switch to configure.

Is it possible to add an .install file, which says that a dbus-session needs to run?
thanks

Offline

#19 2006-03-29 09:01:16

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Problem with beep-media-player-2

pressh wrote:

so that's why my own version did run, as I did not add the --enable-dbus switch to configure.

Actually, dbus is enabled by default. If you don't want it, you need --disable-dbus, so your PKGBUILD would have included it. The essential difference between your version and the testing version is that you have --enable-hal - kpiche has not put that in the testing PKGBUILD, and it is disabled by default.

Offline

#20 2006-03-29 09:26:52

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: Problem with beep-media-player-2

tomk wrote:

Actually, dbus is enabled by default.

which makes there website look stupid   tongue

Build BMPx with D-BUS support
First and foremost, you must build BMPx with D-BUS support. You can accomplish that by adding the switch --enable-dbus to configure. BMPx currently requires D-BUS version 0.35.2 or greater (0.60 is current and will work with 0.13 or SVN HEAD).

I'll try if I can get the testing version working on my machine.

ps. where did you found the PKGBUILD, I cannot seem to find it?

[edit]
New error  big_smile

Process /usr/libexec/beep-media-player-2-bin exited with status 127

quite helpfull such an error message

Offline

#21 2006-03-29 09:52:01

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: Problem with beep-media-player-2

I got it big_smile

[ronald@pressh_box pacman]$ /usr/libexec/beep-media-player-2-bin
/usr/libexec/beep-media-player-2-bin: error while loading shared libraries: libn eon.so.26: cannot open shared object file: No such file or directory
[root@pressh_box ronald]# ln -s /usr/lib/libneon.so.25 /usr/lib/libneon.so.26
[ronald@pressh_box pacman]$ /usr/libexec/beep-media-player-2-bin

So neon provides libneon.so.25 instead of libneon.so.26 (both testing/current) !

[edit] it kinda works stable atm, but not able to play radio streams

(beep-media-player-2-bin:5225): GLib-GObject-WARNING **: IA__g_object_set_valist: object class `GstNeonhttpSrc' has no property named `location'

Offline

#22 2006-03-29 12:47:47

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Problem with beep-media-player-2

The website's up to date here. Like many open-source projects, I suspect the major effort goes into the actual development. with websites, documentation, etc, playing catch-up.

I have neon 0.26.0 installed here, which is why I didn't get that error. Have you posted it on Flyspray?

Offline

#23 2006-03-29 13:02:42

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: Problem with beep-media-player-2

tomk wrote:

The website's up to date here. Like many open-source projects, I suspect the major effort goes into the actual development. with websites, documentation, etc, playing catch-up.

I have neon 0.26.0 installed here, which is why I didn't get that error. Have you posted it on Flyspray?

Yup, it's here: http://bugs.archlinux.org/task/4312

Offline

#24 2006-03-29 19:05:48

kpiche
Forum Fellow
From: Ottawa, ON, Canada
Registered: 2004-03-30
Posts: 246
Website

Re: Problem with beep-media-player-2

tomk wrote:

Why would that be necessary for some users, but not others? Assuming we're all running the same versions of everything from testing.

It's because some desktop environments start a dbus session for you.  If you check the the processes under GNOME you can see that gnome-session is run under a DBUS session:

$ ps auwx|grep dbus-launch
kpiche    2255  0.0  0.1   3056   788 ?        Ss   09:33   0:00 /usr/bin/ssh-agent -- /usr/bin/dbus-launch /opt/gnome/bin/gnome-ses

If your DE doesn't do this you need to add dbus-launch to your .xinitrc or something.  There's a note about this on the bmpx site.

Sorry about the neon library version.  Neon wasn't in testing when I started building bmpx so I had 0.26 installed at the time.  I'll be putting update tonight.

Offline

#25 2006-03-29 19:18:11

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: Problem with beep-media-player-2

kpiche wrote:

Sorry about the neon library version.  Neon wasn't in testing when I started building bmpx so I had 0.26 installed at the time.  I'll be putting update tonight.

no problem, it's just that bmpx gives such not-clear error messages wink

Offline

Board footer

Powered by FluxBB