DAP 1.03 not start

Bug #512892 reported by Ričardas V.
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Decibel Audio Player
Fix Released
Undecided
Anonym25712

Bug Description

File "/usr/share/decibel-audio-player/src/decibel-audio-player.py", line 191, in <module>
    elif viewMode == consts.VIEW_MODE_NANO: wTree.get_widget('menu-mode-nano').set_active(True)
AttributeError: 'module' object has no attribute 'VIEW_MODE_NANO'

Revision history for this message
Anonym25712 (anonym25712) wrote :

Can you delete ~/.config/decibel-audio-player/prefs.txt ? This mode no longer exists, and cannot be restored.

Revision history for this message
Ričardas V. (ricardas-v) wrote :

Thanks. It has helped.

Revision history for this message
Schiphol (manolo-austrohungaro) wrote :

Hello,

This does no help me. Even after deleting prefs.txt I keep having 'module' object has no attribute 'VIEW_MODE_NANO'.

I get Decibel to work by replacing, in decibel-audio-player.py, the line

viewMode = prefs.get(__name__, 'view-mode', DEFAULT_VIEW_MODE)

with

viewMode = consts.VIEW_MODE_FULL

But that is, of course, the crudest of hacks :)

Best,
Manolo

Revision history for this message
Kristof Imre Szabo (krisek) wrote :

Removing the reference to the NANO MODE seems to be a smaller hack

kris@kris-laptop ~/projects/decibel/dap-play$ diff src/decibel-audio-player.py ../decibel-audio-player-1.03/src/decibel-audio-player.py
190a191
> elif viewMode == consts.VIEW_MODE_NANO: wTree.get_widget('menu-mode-nano').set_active(True)

This seems to be something around the nano mode introduced in 1.02 and disappeared in 1.03 (?)

Changed in decibel-audio-player:
status: New → Confirmed
status: Confirmed → New
Mark Finger (markfinger)
Changed in decibel-audio-player:
status: New → In Progress
status: In Progress → New
Revision history for this message
Anonym25712 (anonym25712) wrote :

Fixed on trunk.

Changed in decibel-audio-player:
assignee: nobody → François Ingelrest (athropos)
status: New → Fix Committed
Revision history for this message
Anonym25712 (anonym25712) wrote :

See v1.04

Changed in decibel-audio-player:
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.