Bug 697167 - AudioScrobbler Submission with last.fm crashes
Summary: AudioScrobbler Submission with last.fm crashes
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: quodlibet
Version: 15
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: hannes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-16 10:57 UTC by Nikolay Vladimirov
Modified: 2011-08-28 14:52 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-07-28 09:34:24 UTC
Type: ---


Attachments (Terms of Use)

Description Nikolay Vladimirov 2011-04-16 10:57:41 UTC
Description of problem:
Activating the Audio Scrobbler plugin with last.fm yields and error

Version-Release number of selected component (if applicable):
quodlibet-2.3-2.fc15.x86_64

How reproducible:
Always
Just activate the the "AudioScrobbler Submission" plugin with last.fm


Steps to Reproduce:
1.Just activate the the "AudioScrobbler Submission" plugin with last.fm
  
Actual results:

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/quodlibet/plugins/events/lastfmsubmit.py", line 11, in <module>
    import lastfm.client
  File "/usr/lib/python2.7/site-packages/quodlibet/__init__.py", line 141, in import_ql
    old_import("quodlibet." + module, *args, **kwargs)
ImportError: No module named lastfm.client


Expected results:
No errors

Comment 1 Nikolay Vladimirov 2011-04-16 11:03:29 UTC
Also just removing ~/.quodlibet, starting the program and going to the plugins menu has the following in "Show Errors"

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/quodlibet/plugins/events/lastfmsubmit.py", line 11, in <module>
    import lastfm.client
  File "/usr/lib/python2.7/site-packages/quodlibet/__init__.py", line 141, in import_ql
    old_import("quodlibet." + module, *args, **kwargs)
ImportError: No module named lastfm.client

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/quodlibet/plugins/events/soundmenu.py", line 9, in <module>
    import indicate
  File "/usr/lib/python2.7/site-packages/quodlibet/__init__.py", line 141, in import_ql
    old_import("quodlibet." + module, *args, **kwargs)
ImportError: No module named indicate

Comment 2 hannes 2011-04-16 11:09:07 UTC
It appears to me that this plugin would need http://www.red-bean.com/decklin/lastfmsubmitd/

I hardly have many spare time at the moment to get a package into fedora, also I don't use lastfm personally.
I'll see what I could do about it but expect it to take a few weeks. Sorry for that but I am just preparing my final university thesis.

Greetings,

johannes

Comment 3 manduriano 2011-08-28 14:52:01 UTC
This exact bug happened to me today after updating to Python 3.2

I am no expert, but not having any clue, I was curious of what happened and I checked the folder where the plugin was supposed to be, since I smelled something was missing.

I noticed that in "/usr/lib/" there where two folders: "python3.2/site-packages" and "python2.7/site-packages". While the first was empty, and the second full of other folders, I assumed the new python3.2 folder was being used, so I just copied:

/usr/lib/python2.7/site-packages/quodlibet/

into

/usr/lib/python3.2/site-packages/quodlibet/

and the last.fm plugin is now working.

Hope this helps and I hope someone will shine more light on this.


Giulio Pepe


Note You need to log in before you can comment on or make changes to this bug.