contextinfo plugin doesnt work on latest revision

Bug #467618 reported by Jaap Broekhuizen
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Exaile
Fix Released
High
Adam Olsen

Bug Description

Title explains all, terminal output:

jaapz@kermit:~/.exaile/exaile$ ./exaile
INFO : Loading Exaile 0.3.1+...
INFO : Loading settings...
INFO : Setting up deferred idle manager function...
INFO : Loading plugins...
INFO : Attempting to connect to AudioScrobbler (http://post.audioscrobbler.com/)
INFO : Loading collection...
INFO : Logged in successfully to AudioScrobbler (http://post.audioscrobbler.com/)
INFO : Connected to AudioScrobbler
INFO : Loading devices...
INFO : HAL Providers: [<cd.CDHandler object at 0x9647f6c>]
INFO : Loading interface...
INFO : Loading main window...
INFO : Connecting main window events...
INFO : Loading panels...
INFO : Connecting panel events...
INFO : Done loading main window...
INFO : Playing file:///home/jaapz/Data/Muziek/Audioslave/Out%20of%20Exile/12-audioslave-the_curse.mp3
INFO : Attempting to find covers for 'The Curse' by 'Audioslave' from 'Out Of Exile'
INFO : Found covers from local
INFO : Attempting to find covers for 'The Takedown' by 'Yellowcard' from 'Paper Walls'
INFO : Found covers from local
INFO : Attempting to submit "Now Playing" information to AudioScrobbler...
Traceback (most recent call last):
  File "/home/jaapz/.exaile/exaile/data/plugins/contextinfo/__init__.py", line 163, in on_home_clicked
    self.push(DefaultPage(self.theme))
  File "/home/jaapz/.exaile/exaile/data/plugins/contextinfo/__init__.py", line 180, in push
    self.load(page)
  File "/home/jaapz/.exaile/exaile/data/plugins/contextinfo/__init__.py", line 206, in load
    h = open('/home/synic/test.html', 'w')
IOError: [Errno 2] Bestand of map bestaat niet: '/home/synic/test.html'

When replacing synic by my own username it works again, after creating test.html in my home dir. But this is a very ugly bug XD

reacocard (reacocard)
Changed in exaile:
assignee: nobody → Adam Olsen (arolsen)
Changed in exaile:
importance: Undecided → High
milestone: none → 0.3.1
status: New → Confirmed
Revision history for this message
cruiseoveride (cruiseoveride) wrote :

The backend that contextinfo uses to access last.fm is called pylast. http://code.google.com/p/pylast/

The version supplied (and built on) as part of the contextinfo plugin is pylast-v0.3

The current version is v0.4 - a complete rewrite since v0.3. Therefore it is reasonable to assume that currently using v0.3 to access last.fm has significant issues that spurred the author of pylast to rewrite the interface.

contextinfo should be updated to use pylast-v0.4.

Revision history for this message
reacocard (reacocard) wrote :

note about 0.4 moved to bug 504043, as the OP's report is fixed.

Changed in exaile:
status: Confirmed → Fix Committed
reacocard (reacocard)
Changed in exaile:
status: Fix Committed → Fix Released
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.