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 584035 - Last.FM plugin won't scrobble - no NetworkManager = always assumes disconnected?
Last.FM plugin won't scrobble - no NetworkManager = always assumes disconnected?
Status: RESOLVED INVALID
Product: banshee
Classification: Other
Component: Last.fm
1.4.3
Other Linux
: Normal normal
: 1.x
Assigned To: Gabriel Burt
Depends on:
Blocks:
 
 
Reported: 2009-05-27 19:00 UTC by IBBoard
Modified: 2009-06-12 19:39 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Banshee log file for lack of scrobbling (13.45 KB, text/plain)
2009-05-27 19:01 UTC, IBBoard
Details

Description IBBoard 2009-05-27 19:00:56 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)
Comment 1 IBBoard 2009-05-27 19:01:59 UTC
Created attachment 135461 [details]
Banshee log file for lack of scrobbling
Comment 2 Alexander Kojevnikov 2009-05-28 23:44:31 UTC
Is it the same as bug 573420?
Comment 3 Andrew Conkling 2009-05-30 20:24:36 UTC
(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 ***
Comment 4 IBBoard 2009-05-30 20:43:03 UTC
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.
Comment 5 Andrew Conkling 2009-05-30 21:33:48 UTC
(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.
Comment 6 IBBoard 2009-05-31 07:41:32 UTC
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.
Comment 7 Alexander Kojevnikov 2009-06-01 08:46:03 UTC
Re-opening the bug. The attached log shows that the NetworkManager is not running meaning this issue is different from bug 573420.
Comment 8 O.N. 2009-06-01 13:13:15 UTC
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.
Comment 9 IBBoard 2009-06-07 08:34:22 UTC
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.
Comment 10 IBBoard 2009-06-07 20:54:58 UTC
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 :)
Comment 11 O.N. 2009-06-11 19:12:19 UTC
(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.
Comment 12 IBBoard 2009-06-12 19:39:29 UTC
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!