GNOME Bugzilla – Bug 584035
Last.FM plugin won't scrobble - no NetworkManager = always assumes disconnected?
Last modified: 2009-06-12 19:39:29 UTC
Description: I've enabled the Last.fm plugin in Banshee, but none of my tracks are being scrobbled. I do not use NetworkManager (it isn't even installed as I'm on a desktop machine that is only ever going to be connected to a wired network) and so Banshee generally assumes I have a network connection (e.g. getting album art) but the Last.fm seems to fail to record my tracks. The log data makes it look like the Last.fm plugin is failing to connect or assuming that I don't have a network connection. I have checked my username and password and re-entered them several times without any change. Clearing the cache file and starting again hasn't helped either. In the attached log file the events at 19:17:45 are me setting my username and password and saving them again. The log covered three tracks before I quit, none of which have been scrobbled. I don't know the plugin, but state changes of NoNetwork -> Disconnected -> NoNetwork don't look promising! Steps to reproduce: 0) Set up machine with no NetworkManager (openSuse 11.1 with DHCP issued IP address on working network connection) 1) Enable Last.fm plugin 2) Make sure "Enable song reporting" is checked 3) Enter and save username and password in Tools > Last.fm > Configure 4) Play tracks to let them be scrobbled 5) Go to http://www.last.fm/user/ibboard to check listings Actual result: No scrobbling occurs (no tracks scrobbled since March when I moved to Banshee from Exaile) Expected result: Scrobbled tracks in my Last.fm profile Build info: banshee-1-1.4.3-3.2 RPM from openSuse 11.1 repos. Last.fm plugin version 1.4.0 (according to banshee)
Created attachment 135461 [details] Banshee log file for lack of scrobbling
Is it the same as bug 573420?
(In reply to comment #2) > Is it the same as bug 573420? Yes. As mentioned in the email [1], IBBoard has the NetworkManager process running. IBBoard, thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. [1] http://www.nabble.com/Last.fm----No-network-connection-detected.-tp23615085p23703435.html *** This bug has been marked as a duplicate of 573420 ***
I'm not so sure it is the same bug. What I said in the email is the exact opposite of what you just said - I specifically *don't* have NetworkManager installed or running since I'm on a desktop machine on a wired network. $ rpm -qa *NetworkManager* NetworkManager-glib-0.7.0.r4359-17.1 So the only part still remaining is a core library that I can't remove because it'll take out the main menu and Yast's control centre for Gnome. $ ps aux|grep nm root 3454 0.0 0.0 54012 1788 ? Ss 18:32 0:00 /usr/sbin/nmbd -D -s /etc/samba/smb.conf ibboard 10710 0.0 0.0 5288 820 pts/2 S+ 21:34 0:00 grep nm No NM applet-like processes running $ ps aux|grep -i network root 3517 0.0 0.0 16484 336 ? Ss 18:32 0:00 /sbin/dhcpcd --netconfig -L -E -HHH -c /etc/sysconfig/network/scripts/dhcpcd-hook -t 0 -h ankhmorpork eth0 ibboard 10716 0.0 0.0 5288 848 pts/2 S+ 21:34 0:00 grep -i network Only the DHCP shows up for "network" ibboard@ankhmorpork:/home/ibboard> ps aux|grep -i manager root 3118 0.0 0.1 52252 3172 ? S 18:32 0:00 /usr/lib/gdm/gdm-simple-slave --display-id /org/gnome/DisplayManager/Display1 ibboard 4688 0.0 0.5 231192 10932 ? Ss 18:41 0:00 gnome-power-manager ibboard 10722 0.0 0.0 5288 848 pts/2 S+ 21:34 0:00 grep -i manager Nothing under the other half of the name. Yast's Network Settings says I'm using "Traditional method ifup". Also, as I said in that email, Banshee seemed to be quite happy to download album art over the network.
(In reply to comment #4) > I'm not so sure it is the same bug. What I said in the email is the exact > opposite of what you just said - I specifically *don't* have NetworkManager > installed or running since I'm on a desktop machine on a wired network. NetworkManager doesn't mean that you're using a wireless network. Also, keep in mind grep'ing ps' output will be case-sensitive, so nm/network/manager may not pull up the NetworkManager process. > Yast's Network Settings says I'm using "Traditional method ifup". > > Also, as I said in that email, Banshee seemed to be quite happy to download > album art over the network. Bug 573420 is about the Last.fm extension not working the same way as the rest of Banshee's network-aware functionality. I don't know what kind of downstream problems you may be running into (Yast means Fedora? Maybe?) but you may want to check with someone downstream to make sure NetworkManager can be sidestepped in that way.
Yast is openSuse. I know NetworkManager isn't just for wireless, but since my machine only has one configuration (connected to my home network by wire) I purposefully removed every trace of it that I could since there was no point in running it when ifup does the job perfectly. Greping ps was only case sensitive for the first one where I forgot "-i" while looking for NMApplet or something similar. The only NetworkManager package I've got is NetworkManager-glib, which shows: $ rpm -q --filesbypkg NetworkManager-glib NetworkManager-glib /usr/lib64/libnm-util.so.0 NetworkManager-glib /usr/lib64/libnm-util.so.0.0.0 NetworkManager-glib /usr/lib64/libnm_glib.so.0 NetworkManager-glib /usr/lib64/libnm_glib.so.0.0.0 NetworkManager-glib /usr/lib64/libnm_glib_vpn.so.0 NetworkManager-glib /usr/lib64/libnm_glib_vpn.so.0.0.0 all shared libraries and no executables. The package manager shows various other packages like NetworkManager, NetworkManager-gnome, and protocol specific extensions like NetworkManager-openvpn, none of which are installed on my machine. Unless you can think of any other way to identify NetworkManager running on my machine then I'm fairly sure it isn't running and so it isn't the same issue. Thanks.
Re-opening the bug. The attached log shows that the NetworkManager is not running meaning this issue is different from bug 573420.
Same problem here... No NetworkManager on my computer as I use wicd. [*] Still Banshee gives me the infamous 'No Network Connection Detected' when clicking on Last.fm or any sub-entries (Banshee Group,...). BTW, I have the same problem weither on Ubuntu Jaunty or on Linux Mint Gloria. [*] wicd package installation process removes network-manager and network-manager-gnome.
Just as an update, it looks like this may be fixed in 1.5. I've now got a second machine (I convinced the wife to share her newer machine :D) and upgraded it to the openSuse "unstable" build of 1.5 and there are now new tracks appearing on my LastFM page.
As additional confirmation, I've been on my other computer for the past hour or so (still on 1.4.3 from the openSuse "Mono Community" repo) and no tracks have been submitted to LastFM. I'll keep the two machines as they are with Banshee builds so that I can test between the two :)
(In reply to comment #8) Mea culpa! Next time I ought to go through all the settings... I just found there is a "Disable features requiring Internet access" in the General > Miscellaneous preferences and it was checked :-( Everything works fine now. Sorry for my erroneous bug report.
Now that you mention it, I've got the same here! I didn't realise I had that setting. It'd be useful if Banshee warned you or disabled the option to scrobble when you've disabled the network! I've just tried something and it looks like I must have set it to try and remove the Last.fm radio list at some point. Banshee had been downloading album art but a test networking disabled in Banshee wouldn't get album art for a new album so I must have been doing that before I tried scrobbling. Sorry for the invalid ticket!