TagPlayer doesn't start

Bug #780595 reported by vovkkk
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
TagPlayer
Fix Released
High
filipe

Bug Description

$ tagplayer
Traceback (most recent call last):
  File "/usr/bin/tagplayer", line 315, in <module>
    window = TagplayerWindow()
  File "/usr/bin/tagplayer", line 90, in __new__
    new_object.finish_initializing(builder)
  File "/usr/bin/tagplayer", line 141, in finish_initializing
    self.__init_taglib()
  File "/usr/bin/tagplayer", line 244, in __init_taglib
    self.taglib = taglib.TagLib(self.preferences['music_dir'])
  File "/usr/lib/pymodules/python2.7/tagplayer/daemon/taglib.py", line 43, in __init__
    self.__music_dir.remove(x)
AttributeError: 'unicode' object has no attribute 'remove'

Version: 0.2.09-daily~r56~natty1
Python 2.7.1

filipe (hikibi)
Changed in tagplayer:
assignee: nobody → filipe (hikibi)
Revision history for this message
filipe (hikibi) wrote :

Hmmmmmm.... that shouldn't happen, I went through the code and can't figure it out where the underlying cause (music directories list being a string instead of a list) could be coming from.

Unfortunately I might need some more info to try to reproduce it.
Is this the first time you've ran TagPlayer?
What directories have you set up as your music dirs (external media, network folders, plain old local dirs)?
Is there any other symptom (visually or something)?
Where have you gotten it from (I assume it was the ppa, but still I'd like to be sure)?

Thanks for the feedback!

Changed in tagplayer:
importance: Undecided → High
Revision history for this message
vovkkk (vovkkk) wrote :

> Is this the first time you've ran TagPlayer?
I used TagPlayer on Maverick, then updating to Natty (30 Aptil or about), and yesterday i ran TagPlayer again.

> What directories have you set up as your music dirs (external media, network folders, plain old local dirs)?
NTFS partition, /media/MUF/Музыка
But i tried remove ~/.tagplayer-library, the same error.

> Where have you gotten it from (I assume it was the ppa, but still I'd like to be sure)?
Yes, it's from PPA
deb http://ppa.launchpad.net/hikibi/tagplayer/ubuntu natty main

Oh, and thank you for app and support :)

Revision history for this message
filipe (hikibi) wrote :

Still can't find a way to reproduce it... :S

However, I will put up an update (in the next few minutes, it will be in the ppa) with a workaround to at least allow you to go to the Preferences and choose a dir again to see if it fixes. Also I will make it write some debug info to the terminal, please post it here so I can figure this out and (hopefully) correct it.

Just as a sidenote, ~/.tagplayer_library (which is now followed by a number) stores the library's metadata only, not the user's preferences, those are in couchdb.

Revision history for this message
vovkkk (vovkkk) wrote :

I can change dir in the Preferences, but if i press Authenticate it freezes, if i press Ok instead of Authenticate it freezes.

$ tagplayer
Music Dirs should be list, is <type 'unicode'>

Revision history for this message
vovkkk (vovkkk) wrote :

Well, actually after a few launchings TagPlayer works just fine now.
But there is nothing in terminal.

So… you fix it, thank you very much, sir! :D

vovkkk (vovkkk)
Changed in tagplayer:
status: New → Fix Released
Revision history for this message
filipe (hikibi) wrote :

Glad to know it's working now! ( Plus, I think I found where the bug came from!!! :D )
Having nothing on terminal is a good sign, it should only print stuff when there are problems.

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.