[ubuntu-mono] [Bug 584215] Re: thelastripper crashes on "Tune in" System.Net.WebException: Error getting response stream

Hanky hankschwie at web.de
Sat Jun 19 11:51:59 BST 2010


Hi!

The problem seem to be two //-signs within the link-response from
lastfm, which causes problems for mono.

see http://code.google.com/p/thelastripper/issues/detail?id=211 for
details. So this probably isn't a thelastripper problem, but a mono-
problem. I was able to "fix" it with the method described patching
mono-2.6.4, but a workaround within thelastripper would be nicer.

so long\
hank

** Bug watch added: code.google.com/p/thelastripper/issues #211
   http://code.google.com/p/thelastripper/issues/detail?id=211

-- 
thelastripper crashes on "Tune in" System.Net.WebException: Error getting response stream
https://bugs.launchpad.net/bugs/584215
You received this bug notification because you are a member of Ubuntu
CLI/Mono Uploaders, which is subscribed to thelastripper in ubuntu.

Status in “thelastripper” package in Ubuntu: New

Bug description:
Binary package hint: thelastripper

~$ thelastripper
/usr/bin/mp3gain
LastManager.ParseHandshake() Unknown key: info_message Value: 
LastManager.ParseHandshake() Unknown key: fingerprint_upload_url Value: http://ws.audioscrobbler.com/fingerprint/upload.php
LastManager.ParseHandshake() Unknown key: permit_bootstrap Value: 0
LastManager.ParseHandshake() Unknown key: freetrial Value: 0
get 'Trackname' (Comment)  from 'Artist'

Trachname, Comment and Artist are variable.

System.Net.WebException: Error getting response stream (ReadDone2): ReceiveFailure ---> System.Exception:    at System.Net.WebConnection.HandleError(WebExceptionStatus st, System.Exception e, System.String where)
   at System.Net.WebConnection.ReadDone(IAsyncResult result)
   at System.Net.Sockets.Socket+SocketAsyncResult.Complete()
   at System.Net.Sockets.Socket+Worker.Receive()
  at System.Net.WebConnection.HandleError (WebExceptionStatus st, System.Exception e, System.String where) [0x00000] 
  --- End of inner exception stack trace ---
  at System.Net.HttpWebRequest.EndGetResponse (IAsyncResult asyncResult) [0x00000] 
  at System.Net.HttpWebRequest.GetResponse () [0x00000] 
  at LibLastRip.LastManager.StartRecording (Boolean newStation) [0x00000] 

~$ apt-cache policy thelastripper $(apt-cache  depends thelastripper|awk '{print $2}')
thelastripper:
  Installed: 1.4.0+dfsg-2
  Candidate: 1.4.0+dfsg-2
  Version table:
 *** 1.4.0+dfsg-2 0
        500 http://de.archive.ubuntu.com/ubuntu/ lucid/universe Packages
        100 /var/lib/dpkg/status
mono-runtime:
  Installed: 2.4.4~svn151842-1ubuntu4
  Candidate: 2.4.4~svn151842-1ubuntu4
  Version table:
 *** 2.4.4~svn151842-1ubuntu4 0
        500 http://de.archive.ubuntu.com/ubuntu/ lucid/main Packages
        500 http://archive.ubuntu.com/ubuntu/ lucid/main Packages
        100 /var/lib/dpkg/status
libglib2.0-cil:
  Installed: 2.12.9-4
  Candidate: 2.12.9-4
  Version table:
 *** 2.12.9-4 0
        500 http://de.archive.ubuntu.com/ubuntu/ lucid/main Packages
        500 http://archive.ubuntu.com/ubuntu/ lucid/main Packages
        100 /var/lib/dpkg/status
libgtk2.0-cil:
  Installed: 2.12.9-4
  Candidate: 2.12.9-4
  Version table:
 *** 2.12.9-4 0
        500 http://de.archive.ubuntu.com/ubuntu/ lucid/main Packages
        500 http://archive.ubuntu.com/ubuntu/ lucid/main Packages
        100 /var/lib/dpkg/status
libmono-corlib2.0-cil:
  Installed: 2.4.4~svn151842-1ubuntu4
  Candidate: 2.4.4~svn151842-1ubuntu4
  Version table:
 *** 2.4.4~svn151842-1ubuntu4 0
        500 http://de.archive.ubuntu.com/ubuntu/ lucid/main Packages
        500 http://archive.ubuntu.com/ubuntu/ lucid/main Packages
        100 /var/lib/dpkg/status
libmono-posix2.0-cil:
  Installed: 2.4.4~svn151842-1ubuntu4
  Candidate: 2.4.4~svn151842-1ubuntu4
  Version table:
 *** 2.4.4~svn151842-1ubuntu4 0
        500 http://de.archive.ubuntu.com/ubuntu/ lucid/main Packages
        500 http://archive.ubuntu.com/ubuntu/ lucid/main Packages
        100 /var/lib/dpkg/status
libmono-system2.0-cil:
  Installed: 2.4.4~svn151842-1ubuntu4
  Candidate: 2.4.4~svn151842-1ubuntu4
  Version table:
 *** 2.4.4~svn151842-1ubuntu4 0
        500 http://de.archive.ubuntu.com/ubuntu/ lucid/main Packages
        500 http://archive.ubuntu.com/ubuntu/ lucid/main Packages
        100 /var/lib/dpkg/status
libtaglib2.0-cil:
  Installed: 2.0.3.7+dfsg-1
  Candidate: 2.0.3.7+dfsg-1
  Version table:
 *** 2.0.3.7+dfsg-1 0
        500 http://de.archive.ubuntu.com/ubuntu/ lucid/universe Packages
        100 /var/lib/dpkg/status

I found this bugreport upstream, but the binaries of the current source work flawlessy under windows seven. Therefor I think this is due to mono in lucid lynx.

http://code.google.com/p/thelastripper/issues/detail?id=211&start=100

And you can find several similar error messages not related to thelastripper using google:
http://www.google.com/search?hl=de&q=System.Net.WebException:+Error+getting+response+stream+%28ReadDone2%29:+ReceiveFailure+---%3E+System.Exception:++++at+System.Net.WebConnection.HandleError%28WebExceptionStatus+st,+System.Exception+e,+System.String+where%29++++at+System.Net.WebConnection.ReadDone%28IAsyncResult+result%29++++at+System.Net.Sockets.Socket%2BSocketAsyncResult.Complete%28%29++++at+System.Net.Sockets.Socket%2BWorker.Receive%28%29+++at+System.Net.WebConnection.HandleError+%28WebExceptionStatus+st,+System.Exception+e,+System.String+where%29+[0x00000]++++---+End+of+inner+exception+stack+trace+---+++at+System.Net.HttpWebRequest.EndGetResponse+%28IAsyncResult+asyncResult%29+[0x00000]++++at+System.Net.HttpWebRequest.GetResponse+%28%29+[0x00000]++++at+LibLastRip.LastManager.StartRecording+%28Boolean+newStation%29+[0x00000]





More information about the Ubuntu-mono mailing list