After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 646539 - Last.fm Crashes Banshee
Last.fm Crashes Banshee
Status: RESOLVED FIXED
Product: banshee
Classification: Other
Component: Last.fm
1.8.1
Other Linux
: Normal normal
: 1.x
Assigned To: Banshee Maintainers
Banshee Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-04-02 15:56 UTC by Chow Loong Jin
Modified: 2011-04-03 13:27 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Chow Loong Jin 2011-04-02 15:56:22 UTC
Originally reported at:
  https://bugs.launchpad.net/bugs/741292

Hello,

Whenever I click on the last.fm item in Banshee, Banshee crashes.  I have uninstalled and reinstalled a few times (I even checked the option to remove config files).  Additionally, I manually removed 2 folders containing Banshee files in /home.

I am not sure if its important or not, but when I ran Banshee via the terminal the following is what showed when it crashed:

-----
Last.fm State Changed to Connected
Exception in Gtk# callback delegate
  Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
System.Net.WebException: The remote server returned an error: (404) Resource Not Found.
  at System.Net.HttpWebRequest.CheckFinalStatus (System.Net.WebAsyncResult result) [0x00000] 
  at System.Net.HttpWebRequest.SetResponseData (System.Net.WebConnectionData data) [0x00000] 
   at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal)
   at Gtk.Widget.buttonpressevent_cb(IntPtr widget, IntPtr evnt)
   at Gtk.Application.gtk_main()
   at Gtk.Application.Run()
   at Banshee.Gui.GtkBaseClient.Run()
   at Banshee.Gui.GtkBaseClient.Startup()
   at Hyena.Gui.CleanRoomStartup.Startup(Hyena.Gui.StartupInvocationHandler startup)
   at Banshee.Gui.GtkBaseClient.Startup()
   at Banshee.Gui.GtkBaseClient.Startup(System.String[] args)
   at Nereid.Client.Main(System.String[] args)
   at System.AppDomain.ExecuteAssembly(System.Reflection.Assembly , System.String[] )
   at System.AppDomain.ExecuteAssemblyInternal(System.Reflection.Assembly a, System.String[] args)
   at System.AppDomain.ExecuteAssembly(System.String assemblyFile, System.Security.Policy.Evidence assemblySecurity, System.String[] args)
   at System.AppDomain.ExecuteAssembly(System.String assemblyFile)
   at Booter.Booter.BootClient(System.String clientName)
   at Booter.Booter.Main()
-----

Any ideas?

Thanks
Comment 1 Bertrand Lorentz 2011-04-03 12:44:51 UTC
I can reproduce this on git master, but only if I go into GConf and modify the "/apps/banshee-1/plugins/lastfm/username" to set it to a non-existing account.

Please go to the Last.fm preferences (Edit > Preferences, Source Specific tab and select Last.fm in the list), check the username that is indicated.
Maybe try to click on the "Logout from Last.fm" button and go through the login procedure again.

I'll try to find a way to better handle the situation.
Comment 2 Bertrand Lorentz 2011-04-03 13:27:10 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.