You are not logged in.

#1 2009-06-06 01:44:29

dioltas
Member
Registered: 2009-06-03
Posts: 44

mpdscribble frustration :(

Hi all.
Been trying to get mpdscribbler working for the last few hours.

Tried mpdscribble.git from AUR, no joy. Then tried just installing from source from the mpdscribble website.
Installed it ok, but couldn't get it working properly, it kept telling me that files didn't exist, even though they did and had all permissions set roll and it kept failing to connect, handshake error or something.
So messed around with that for a good bit trying different configs without success.
Then tried older version from AUR, it tried to download something and failed, so I said f**k it.

Anyway back to the mdpscribble.git. It seems to be failing because git can't download the latest version of mpdscribbler or whatever. I know nothing about git tbh, but I tried changing the git address in PKGBUILD to different servers and using http protocol as well, as the addresses opened in firefox. I also tried using git clone command, and reinstalling git. Tried some other stupid stuff that also didn't work.


So there must be a problem with git or something, all the servers I tried can't be down. Can someone please help me with this?

Here is the part of PKGBUILD with the git stuff:

build() {
  cd ${srcdir}
  msg "Connecting to $pkgname GIT server...."

  if [ -d ${srcdir}/$_gitname ] ; then
          cd $_gitname && git pull origin
          msg "The local files are updated."
  else
          git clone $_gitroot
  fi

  msg "GIT checkout done or server timeout

Here is the output when I try makepkg -s :

[jack@arch_laptop mpdscribble-git]$ makepkg -s
==> Determining latest git revision...
  -> Version found: 20090606
==> Making package: mpdscribble-git 20090606-1 i686 (Sat Jun  6 02:39:42 IST 2009)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
  -> Found mpdscribble.init in build dir
  -> Found mpdscribble.conf.example in build dir
  -> Found mpdscribble.install in build dir
==> Validating source files with md5sums...
    mpdscribble.init ... Passed
    mpdscribble.conf.example ... Passed
    mpdscribble.install ... Passed
==> Extracting Sources...
==> Entering fakeroot environment...
==> Starting build()...
==> Connecting to mpdscribble-git GIT server....
Initialized empty Git repository in /home/jack/builds/mpdscribble-git/src/mpdscribble/.git/
fatal: Unable to look up git.musicpd.org (port 9418) (Temporary failure in name resolution)
==> GIT checkout done or server timeout
cp: cannot stat `/home/jack/builds/mpdscribble-git/src/mpdscribble': No such file or directory
PKGBUILD: line 36: cd: /home/jack/builds/mpdscribble-git/src/mpdscribble-build: No such file or directory
==> Starting autogen.sh...
PKGBUILD: line 39: ./autogen.sh: No such file or directory
==> Starting configure...
PKGBUILD: line 41: ./configure: No such file or directory
==> Starting make...
make: *** No rule to make target `install'.  Stop.
==> ERROR: Build Failed.
    Aborting...

Sorry for the length of this post, but this is really driving me mad. Hopefully it's something small and simple after all... tongue

p.s. I think someone else who is having the same problem posted on the AUR page http://aur.archlinux.org/packages.php?ID=22274

Last edited by dioltas (2009-06-06 01:46:51)

Offline

#2 2009-06-06 01:53:58

SamC
Member
From: Calgary
Registered: 2008-05-13
Posts: 611
Website

Re: mpdscribble frustration :(

Have you tried mpdas, or scrobby? Both perform the same function, and work.

Offline

#3 2009-06-06 02:09:26

dioltas
Member
Registered: 2009-06-03
Posts: 44

Re: mpdscribble frustration :(

Thanks for the reply Sam. Was just going trying mpdas and makepkg failed to download something again.
So I went back and replaced git.musicpd.org with 78.47.240.179 in the PKGBUILD. It was a DNS problem apparently, it's weird though cause ping and firefox work fine! Anyway it seems to be ok now. If I still can't get mpdscribbler working I'll try mpdas, like the look of it. Thanks.

Offline

#4 2009-06-06 02:46:15

dioltas
Member
Registered: 2009-06-03
Posts: 44

Re: mpdscribble frustration :(

No luck with mpdscribbler. mpdas didn't work for me either

(03:44:03) [INFO] Config file (/usr/local/etc/mpdasrc) does not exist or is not readable.
(03:44:03) [ERROR] Bad session ID, re-handshaking!
^C

Going to bed now, gonna forget about scrobbling mpd for a while.

Offline

#5 2009-06-06 03:10:58

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: mpdscribble frustration :(

Ncmpc is another alternative smile.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#6 2009-06-06 03:25:08

SamC
Member
From: Calgary
Registered: 2008-05-13
Posts: 611
Website

Re: mpdscribble frustration :(

B: The difference is that these run as daemons, which is nice.

Offline

#7 2009-06-06 11:58:25

dioltas
Member
Registered: 2009-06-03
Posts: 44

Re: mpdscribble frustration :(

Hey, turns out my main problem was a dns thing, which I havn't sorted out properly yet.
dhcpcd wasn't setting the dns servers properly in /etc/resolv.conf which was stopping me installing things and stopping the scrobblers form working!
Must have been too tired to realise it last night.
I manually edited resollv.conf with my isp's dns servers which fixed that problem, only a quick fix as dhcpcd will wipe it again when I reboot. Might try dhcpclient or whatever it's called! Maybe once I set up wicd or netcfg it'll be ok.

Anyway, mpdscribble still wasn't working, so tried mpdas again and it's working nicely! Thanks for the suggestion

"Listening now using mpdas, a scrobbler for MPD" big_smile

(12:47:59) [INFO] Config file (/usr/local/etc/mpdasrc) does not exist or is not readable.
(12:47:59) [INFO] Connected to MPD.
(12:47:59) [INFO] AudioScrobbler handshake successful.
(12:47:59) [INFO] New song: The Chemical Brothers - Don't Stop the Rock
(12:48:13) [INFO] New song: Pixies - Monkey Gone to Heaven
(12:49:43) [INFO] Scrobbling: Pixies - Monkey%20Gone%20to%20Heaven
(12:51:12) [INFO] New song: Ramones - 53rd & 3rd
(12:52:22) [INFO] Scrobbling: Ramones - 53rd%20%26%203rd
(12:53:33) [INFO] New song: Red Hot Chili Peppers - Knock Me Down

I'm really delighted, thanks again.

Offline

#8 2009-06-06 12:26:14

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: mpdscribble frustration :(

SamC wrote:

B: The difference is that these run as daemons, which is nice.

My bad! I was talking about scmpc... That is a scrobbling client, and it can be run as a daemon too. Ncmpc is just a regular client like sonata tongue.

(12:47:59) [INFO] Config file (/usr/local/etc/mpdasrc) does not exist or is not readable.

Well that PKGBUILD surely needs some brushing up. The app shouldn't be looking in /usr/local for config files...

I took the liberty of playing with it and put up a (imho) improved version in the comments on the AUR page.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

Board footer

Powered by FluxBB