thelastripper crashes on "Tune in" System.Net.WebException: Error getting response stream

Bug #584215 reported by GerhardGaußling
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
thelastripper (Ubuntu)
New
Undecided
Unassigned

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]

Revision history for this message
Jonas Finnemann Jensen (jopsen) wrote :

As former active TheLastRipper developer... I can confirm this bug... I've been getting mail from Windows users with the same problem... So it's probably not a .Net/mono issue.

My guess is that last.fm did some redirects which TheLastRipper doesn't handle nicely... Anyway, I'll look into this as soon as I can find the time.

Revision history for this message
Hanky (hankschwie) wrote :

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

Revision history for this message
Jonas Finnemann Jensen (jopsen) wrote :

As Hanky says this appears to be a mono related bug, the appropriate mono bugreport is:
https://bugzilla.novell.com/show_bug.cgi?id=506734

 - Thanks Hank...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.