hi, i make some test with Drakma and the Audioscrobbler API. for the identification, the protocol is :
http://post.audioscrobbler.com/?hs=true&p=1.2& c=<client-id>&v=<client-ver>&u=<user>&t=<timestamp>&a=<auth>
with auth : The algorithm for generating this token is as follows: token := md5(md5(password) + timestamp)
Parse error:URI "http://post.audioscrobbler.com/?hs=true&p=1.2&c=tst&v=1.0&u=... 21:29:54&a=,÷¯*²h|I3ðÈ" contains illegal character #\ at position 77. [Condition of type PURI:URI-PARSE-ERROR]
Restarts: 0: [ABORT] Return to SLIME's top level. 1: [ABORT] Exit debugger, returning to top level.
Backtrace: 0: (PURI::.PARSE-ERROR #<unavailable argument> #<unavailable &REST argument>) 1: (PURI::.PARSE-ERROR #<unavailable argument>) Locals: SB-DEBUG::ARG-0 = :<NOT-AVAILABLE> SB-DEBUG::ARG-1 = :<NOT-AVAILABLE> 2: ((FLET PURI::READ-TOKEN) #<unavailable argument> #<unavailable argument>) 3: (PURI::PARSE-URI-STRING #<unavailable argument>) 4: (PURI:PARSE-URI #<unavailable argument> :CLASS #<unavailable argument>) 5: (DRAKMA:HTTP-REQUEST "http://post.audioscrobbler.com/?hs=true&p=1.2&c=tst&v=1.0&u=... 21:29:54&a=,÷¯*²h|I3ðÈ")
someone have any idea to resolve this problem ?
thanks for any help
On Fri, 15 Jun 2007 21:32:41 +0200, Nicolas Lamirault lam@tuxfamily.org wrote:
i make some test with Drakma and the Audioscrobbler API. for the identification, the protocol is :
http://post.audioscrobbler.com/?hs=true&p=1.2&c=<client-id>&v=<client-ver>&u=<user>&t=<timestamp>&a=<auth>
with auth : The algorithm for generating this token is as follows: token := md5(md5(password) + timestamp)
Parse error:URI "http://post.audioscrobbler.com/?hs=true&p=1.2&c=tst&v=1.0&u=... 21:29:54&a=,÷¯*²h|I3ðÈ" contains illegal character #\ at position 77. [Condition of type PURI:URI-PARSE-ERROR]
That's clearly an illegal URI, so PURI is right to complain. I have never heard of Audioscrobbler, but they probably mean the /hexadecimal/ MD5 representation or something like that.