Crash on initial playlist reading in 0.3

Bug #378557 reported by Veloce
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Exaile
Invalid
Undecided
Unassigned

Bug Description

When upgrading to Ubuntu Jaunty I switched from using an old bzr version to the Jaunty excel-devel (exaile-devel_20090425-bzr4) and I get this error:

INFO : Loading Exaile 0.2.99.1+...
INFO : Loading settings
INFO : Loading plugins...
INFO : Loading collection...
INFO : Loading devices...
INFO : Loading interface...
Traceback (most recent call last):
  File "/usr/lib/exaile/exaile.py", line 55, in <module>
    main()
  File "/usr/lib/exaile/exaile.py", line 52, in main
    exaile = main.Exaile()
  File "/usr/lib/exaile/xl/main.py", line 74, in __init__
    self.__init()
  File "/usr/lib/exaile/xl/main.py", line 171, in __init
    self.gui = xlgui.Main(self)
  File "/usr/lib/exaile/xlgui/__init__.py", line 52, in __init__
    exaile.player, exaile.queue, exaile.covers)
  File "/usr/lib/exaile/xlgui/main.py", line 235, in __init__
    'saved_tabs')
  File "/usr/lib/exaile/xl/playlist.py", line 1057, in __init__
    self.load_names()
  File "/usr/lib/exaile/xl/playlist.py", line 1116, in load_names
    pl.load_from_location(os.path.join(self.playlist_dir, f))
  File "/usr/lib/exaile/xl/playlist.py", line 761, in load_from_location
    locs.append(line.decode('utf-8').strip())
  File "/usr/lib/python2.6/encodings/utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0x81 in position 84: unexpected code byte

Switching back to 0.2.14 works fine but I can't get past this in exaile devel.

Tags: 0.3
Revision history for this message
Abhishek Mukherjee (linkinpark342) wrote :

Can you please try with exaile trunk and report back? the code that this is referring to has taken a fairly major change since then.

Revision history for this message
Veloce (kerry-mayes) wrote :

Not sure how to use "exaile trunk" but using the latest weekly package:

exaile_0.3.0_20090520.tar.gz 20-May-2009 18:00 1.3M

I get the following very similar result:

INFO : Loading settings
INFO : Loading Exaile 0.2.99.1+...
INFO : Loading plugins...
INFO : Loading collection...
INFO : Loading devices...
INFO : Loading interface...

(exaile.py:14917): libglade-WARNING **: could not look up stock id '_New Playlist'

(exaile.py:14917): libglade-WARNING **: could not look up stock id 'Open _URL'

(exaile.py:14917): libglade-WARNING **: could not look up stock id '_Collection Manager'

(exaile.py:14917): libglade-WARNING **: could not look up stock id 'Pl_ugins'

(exaile.py:14917): libglade-WARNING **: could not look up stock id '_Go to Playing Track'
Traceback (most recent call last):
  File "exaile.py", line 55, in <module>
    main()
  File "exaile.py", line 52, in main
    exaile = main.Exaile()
  File "/home/km/Desktop/exaile/xl/main.py", line 74, in __init__
    self.__init()
  File "/home/km/Desktop/exaile/xl/main.py", line 168, in __init
    self.gui = xlgui.Main(self)
  File "/home/km/Desktop/exaile/xlgui/__init__.py", line 52, in __init__
    exaile.player, exaile.queue, exaile.covers)
  File "/home/km/Desktop/exaile/xlgui/main.py", line 251, in __init__
    'saved_tabs')
  File "/home/km/Desktop/exaile/xl/playlist.py", line 1064, in __init__
    self.load_names()
  File "/home/km/Desktop/exaile/xl/playlist.py", line 1123, in load_names
    pl.load_from_location(os.path.join(self.playlist_dir, f))
  File "/home/km/Desktop/exaile/xl/playlist.py", line 768, in load_from_location
    locs.append(line.decode('utf-8').strip())
  File "/usr/lib/python2.6/encodings/utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0x81 in position 84: unexpected code byte

Revision history for this message
Veloce (kerry-mayes) wrote :

May 27th weekly version still not working. The error message is a bit different on the warnings but not on the crash.

Revision history for this message
Veloce (kerry-mayes) wrote :

I've managed to fix my system. I deleted the directory ~/.local/shared/exaile

So this may be a bug, or it may just be a case of needing apt to completely uninstall the bzr version. (Not sure which versions use ~/.local/shared/exaile as opposed to ~/.exaile )

Revision history for this message
reacocard (reacocard) wrote :

marking invalid since it appears to no longer be an issue

Changed in exaile:
status: New → Invalid
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.