Cannot access right-click menu in first library folder

Bug #917831 reported by Sean Talbot
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Decibel Audio Player
New
Undecided
Unassigned

Bug Description

Cannot access right-click menu in first library folder

Version: 1.08

OS : Ubuntu 10.04

Problem: After upgrading from 1.06 I had to refresh my two library folders as they were deprecated. After the upgrade, accessing the right-click menu in one of the libraries no longer works. Right-clicking just highlights whatever the mouse is over; nothing else happens. Refreshing the problematic folder via the Preferences menu makes no difference.

The other library folder is fine: Right-click works, and I can select the items inside.

Revision history for this message
Sean Talbot (sean-talbot) wrote :

To clarify: the first folder is affected by this and the second folder is fine.

Revision history for this message
Anonym25712 (anonym25712) wrote :

Could you do the same thing using an instance of DAP launched from a terminal? I guess there will be an error message displayed there.

Revision history for this message
Sean Talbot (sean-talbot) wrote :

I have attached the output from running DAP from the terminal. All I did was load it up and right click in the first library folder.

Revision history for this message
Sean Talbot (sean-talbot) wrote :

(and here's the exception raised)

Traceback (most recent call last):
  File "/usr/share/decibel-audio-player/src/modules/Library.py", line 804, in onButtonPressed
    self.showPopupMenu(tree, event.button, event.time, path)
  File "/usr/share/decibel-audio-player/src/modules/Library.py", line 553, in showPopupMenu
    genreItem = gtk.CheckMenuItem(genre.capitalize())
TypeError: GtkCheckMenuItem.__init__() argument 1 must be string without null bytes or None, not str

Revision history for this message
Anonym25712 (anonym25712) wrote :

It looks like some of your tracks have a genre that cannot be handled (like an invalid string of characters). There's a file named 'genres' in '~/.config/decibel-audio-player/Library/XXX/' where XXX is the name of the library that causes this problem. Could you attach it to this report?

Revision history for this message
Sean Talbot (sean-talbot) wrote :

Certainly. Please find it attached (it's rather long).

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.