Exaile doesn't quit and then..

Bug #409467 reported by Grzegorz Lachowski on 2009-08-05
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Exaile
Expired
Undecided
Unassigned

Bug Description

Sometimes exaile does not quit, just minimizes to tray.. If you kill it then, it won't start and shows trace like:

gregorl@ultramaryna:~$ exaile
INFO : Loading Exaile 0.2.99.3...
INFO : Loading settings...
INFO : Loading plugins...
INFO : AS: attempting to connect to audioscrobbler
INFO : Loading collection...
INFO : [AS]: Logged in successfully (http://post.audioscrobbler.com/)
INFO : AS: Connected to audioscrobbler
/usr/lib/exaile/xl/trackdb.py:198: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
  data[tr.get_loc()] = TrackHolder(tr, p[1], **p[2])
INFO : Loading devices...
INFO : Loading interface...
ERROR : 'Playlist %d' did not match valid playlist file
/usr/lib/exaile/xl/trackdb.py:682: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
  new_list[l] = tr
/usr/lib/exaile/xl/trackdb.py:358: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
  do_search[track.get_loc()] = track
/usr/lib/exaile/xl/trackdb.py:655: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
  if l not in to_remove:
Traceback (most recent call last):
  File "/usr/lib/exaile/exaile.py", line 56, in <module>
    main()
  File "/usr/lib/exaile/exaile.py", line 53, in main
    exaile = main.Exaile()
  File "/usr/lib/exaile/xl/main.py", line 76, in __init__
    self.__init()
  File "/usr/lib/exaile/xl/main.py", line 191, in __init
    self.gui = xlgui.Main(self)
  File "/usr/lib/exaile/xlgui/__init__.py", line 81, in __init__
    self.tray_icon = tray.TrayIcon(self.main)
  File "/usr/lib/exaile/xlgui/tray.py", line 48, in __init__
    self._setup_menu()
  File "/usr/lib/exaile/xlgui/tray.py", line 136, in _setup_menu
    self.rating_image = gtk.image_new_from_pixbuf (self._get_rating_pixbuf(self.queue.get_current ()))
  File "/usr/lib/exaile/xlgui/tray.py", line 185, in _get_rating_pixbuf
    return self.controller.main.get_current_playlist ().rating_images[0]
AttributeError: 'NoneType' object has no attribute 'rating_images'

After that one have to delete files from ~/.local/share/exaile/saved_tabs and it will work again. I've got Ubuntu 9.04

tags: added: quit
tags: added: playlist start tabs
Steve Dodier-Lazaro (sidi) wrote :

Hello,

Could you please update your Exaile version to 0.3.0 and check if this bug still happens ? Also, did you make sure you didn't enable the 'Minimize to tray' setting in the preferences dialog ?

Thanks in advance.

I did have 'Minimize to tray' enabled, but it didn't quit even if I right-clicked on tray icon and chose Quit.
I confirm this happens still in 0.3.0, but with no need of deleting saved_tabs after killing. All playlists are gone after that - there's not even an empty one.

If this occurs again, I'll try to gather a screenshot and a stacktrace.
One thing more, I've migrated to Arch Linux ;]

Please launch Exaile from console and attach a traceback. I can not
reproduce this bug.

Changed in exaile:
status: New → Incomplete

This is what i get when i run exaile from a terminal:

carl@ubufoxconn1:~$ exaile
INFO : Loading Exaile 0.3.0.1...
INFO : Loading settings...
INFO : Setting up deferred idle manager function...
INFO : Loading plugins...
INFO : Loading collection...
INFO : Loading devices...
INFO : HAL Providers: [<cd.CDHandler object at 0x2b3fbd0>]
INFO : Loading interface...
INFO : Loading main window...
ERROR : 'Playlist %d' did not match valid playlist file
ERROR : 'Playlist %d' did not match valid playlist file
INFO : Loading panels...
INFO : Connecting panel events...
INFO : Connecting main window events...
INFO : Done loading main window...
INFO : Playing file:///linstow1/music/Portishead/%20Dummy/01%20-%20Portishead%20-%20Mysterons.mp3
INFO : Attempting to find covers for 'Mysterons' by 'Portishead' from 'Dummy'
INFO : Exaile is shutting down...
INFO : Disabling plugins...
INFO : Saving state...
Traceback (most recent call last):
  File "/usr/lib/exaile/xl/main.py", line 463, in quit
    self.gui.quit()
  File "/usr/lib/exaile/xlgui/__init__.py", line 434, in quit
    self.main.save_current_tabs()
  File "/usr/lib/exaile/xlgui/main.py", line 439, in save_current_tabs
    self.tab_manager.save_playlist(pl, True)
  File "/usr/lib/exaile/xl/playlist.py", line 1152, in save_playlist
    encode_filename(name)))
  File "/usr/lib/exaile/xl/playlist.py", line 806, in save_to_location
    f.write(buffer.encode('utf-8'))
UnicodeDecodeError: 'utf8' codec can't decode byte 0xb4 in position 159: unexpected code byte
INFO : Found covers from lastfm
INFO : CoverDB: set cover /home/carl/.local/share/exaile/covers/b262dbc32ce93fa3b5b8b8f948edae5e.jpg for 'Dummy - Portishead'
^CTraceback (most recent call last):
  File "/usr/lib/exaile/exaile.py", line 56, in <module>
    main()
  File "/usr/lib/exaile/exaile.py", line 53, in main
    exaile = main.Exaile()
  File "/usr/lib/exaile/xl/main.py", line 99, in __init__
    xlgui.mainloop()
  File "/usr/lib/exaile/xlgui/__init__.py", line 57, in mainloop
    gtk.main()
KeyboardInterrupt
carl@ubufoxconn1:~$

Exaile won't quit, unless I do control+c

This reeally needs fixing, i'm having to use rhythmbox at the moment :(
i need a good music player that does gapless playback, supports tags/editing, playlists, visualisations and is also stable.

Launchpad Janitor (janitor) wrote :

[Expired for Exaile because there has been no activity for 60 days.]

Changed in exaile:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers