From: Emre Sevinc
Subject: McCLIM, last.fm, how to run that sweet music browser in CL?
Date: 
Message-ID: <878xt9qzk3.fsf@ileriseviye.org>
From Lemodor's blog entry "CLIM Front-End to Last.fm"

http://lemonodor.com/archives/001036.html

 I have found the following address:

http://boinkor.net/lisp/clim-lastfm-0.0.tar.gz

downloaded, fired my Emacs, SLIME and SBCL:

CL-USER> (asdf-install:install "/home/fz/programming/Lisp/last.fm/clim-lastfm-0.0.tar.gz")

(lots of messages)

then as stated in its README manual,

CL-USER> (clim-lastfm:clim-lastfm :user "YAFZ" :pass "XXXXXX")

but I got:


CL-USER> (clim-lastfm:clim-lastfm :user "YAFZ" :pass "XXXXXX")
session=UPGRADE_YOUR_PLAYER
stream_url=http://moses.last.fm:80/last.mp3?Session=UPGRADE_YOUR_PLAYER
subscriber=0

Can't find key for subscriber in table #<HASH-TABLE :TEST EQUAL :COUNT 2 {9900049}>!
   [Condition of type SIMPLE-ERROR]

Restarts:
  0: [ABORT] Abort handling SLIME request.
  1: [TERMINATE-THREAD] Terminate this thread (3064527776)

Backtrace:
  0: (CLIM-LASTFM::INITARGS-FROM #<SB-SYS:FD-STREAM for "a constant string" {A4353E1}> #<HASH-TABLE :TEST EQUAL :COUNT 2 {9900049}>)
  1: (CLIM-LASTFM::MAKE-GET-SESSION-RESPONSE #<SB-SYS:FD-STREAM for "a constant string" {A4353E1}>)
  2: (CLIM-LASTFM::GET-SESSION "YAFZ" "XXXXXX")
  3: (CLIM-LASTFM:CLIM-LASTFM :USER "YAFZ" :PASS "XXXXXX")
  4: (SB-INT:EVAL-IN-LEXENV (CLIM-LASTFM:CLIM-LASTFM :USER "YAFZ" :PASS "XXXXXX") #<NULL-LEXENV>)



Any ideas what's going wrong? How to to fix it? 

-- 
Emre Sevinc

eMBA Software Developer         Actively engaged in:
http:www.bilgi.edu.tr           http://ileriseviye.org
http://www.bilgi.edu.tr         http://fazlamesai.net
Cognitive Science Student       http://cazci.com
http://www.cogsci.boun.edu.tr
From: Bill Atkins
Subject: Re: McCLIM, last.fm, how to run that sweet music browser in CL?
Date: 
Message-ID: <877j8txzh2.fsf@rpi.edu>
Emre Sevinc <·····@bilgi.edu.tr> writes:

> but I got:
>
>
> CL-USER> (clim-lastfm:clim-lastfm :user "YAFZ" :pass "XXXXXX")
> session=UPGRADE_YOUR_PLAYER
> stream_url=http://moses.last.fm:80/last.mp3?Session=UPGRADE_YOUR_PLAYER
> subscriber=0

I get the same thing.  The "session=UPGRADE_YOUR_PLAYER" makes me
think Last.fm has changed their protocol and clim-lastfm hasn't caught
up.

--

Bill Atkins