Error when sound device can't be accessed #232

Closed
opened 2024-04-16 08:55:04 +01:00 by kae · 0 comments
Owner
    1780  palette.setColor(
    1781      QPalette.ColorRole.AlternateBase, QColor(Config.COLOUR_ODD_PLAYLIST)
    1782  )
    1783  app.setPalette(palette)
--> 1784  win = Window()
    1785  win.show()
    ..................................................
     QPalette.ColorRole.AlternateBase = <ColorRole.AlternateBase: 16>
     Config.COLOUR_ODD_PLAYLIST = '#f2f2f2'
     palette = <PyQt6.QtGui.QPalette object at 0x7ff773ec3450>
    ..................................................

File "/home/kae/mm/app/musicmuster.py", line 220, in __init__
    200  def __init__(self, parent=None, *args, **kwargs) -> None:
 (...)
    216      self.txtSearch = QLineEdit()
    217      self.statusbar.addWidget(self.txtSearch)
    218      self.txtSearch.setHidden(True)
    219      self.hide_played_tracks = False
--> 220      mixer.init()
    221      self.widgetFadeVolume.hideAxis("bottom")
    ..................................................
     self = <__main__.Window object at 0x7ff773f01bd0>
     parent = None
     args = ()
     kwargs = {}
     self.txtSearch = <PyQt6.QtWidgets.QLineEdit object at 0x7ff7680dd7e0>
     self.hide_played_tracks = False
     self.widgetFadeVolume.hideAxis = <method 'PlotItem.hideAxis' of <pyqtgraph.graphicsItems.Plot
                                       Item.PlotItem.PlotItem object at 0x7ff773f039a0> PlotItem.py
                                       :1261>
    ..................................................

error: ALSA: Couldn't open audio device: Connection refused```
```File "/home/kae/mm/app/musicmuster.py", line 1784, in <module> 1780 palette.setColor( 1781 QPalette.ColorRole.AlternateBase, QColor(Config.COLOUR_ODD_PLAYLIST) 1782 ) 1783 app.setPalette(palette) --> 1784 win = Window() 1785 win.show() .................................................. QPalette.ColorRole.AlternateBase = <ColorRole.AlternateBase: 16> Config.COLOUR_ODD_PLAYLIST = '#f2f2f2' palette = <PyQt6.QtGui.QPalette object at 0x7ff773ec3450> .................................................. File "/home/kae/mm/app/musicmuster.py", line 220, in __init__ 200 def __init__(self, parent=None, *args, **kwargs) -> None: (...) 216 self.txtSearch = QLineEdit() 217 self.statusbar.addWidget(self.txtSearch) 218 self.txtSearch.setHidden(True) 219 self.hide_played_tracks = False --> 220 mixer.init() 221 self.widgetFadeVolume.hideAxis("bottom") .................................................. self = <__main__.Window object at 0x7ff773f01bd0> parent = None args = () kwargs = {} self.txtSearch = <PyQt6.QtWidgets.QLineEdit object at 0x7ff7680dd7e0> self.hide_played_tracks = False self.widgetFadeVolume.hideAxis = <method 'PlotItem.hideAxis' of <pyqtgraph.graphicsItems.Plot Item.PlotItem.PlotItem object at 0x7ff773f039a0> PlotItem.py :1261> .................................................. error: ALSA: Couldn't open audio device: Connection refused```
kae added the
bug
label 2024-04-16 08:55:04 +01:00
kae closed this issue 2024-04-28 13:03:00 +01:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: kae/musicmuster#232
No description provided.