Skip to content

crash at startup #81

@JohnFinn

Description

@JohnFinn

When connecting an external speakers I'm getting the following error when starting
Image
when pressing Ctrl+C the following is printed to the terminal

Traceback (most recent call last):
  File "/nix/store/bbyp6vkdszn6a14gqnfx8l5j3mhfcnfs-python3-3.12.11/lib/python3.12/curses/__init__.py", line 94, in wrapper
    return func(stdscr, *args, **kwds)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/jouni/.nix-profile/bin/pulsemixer", line 1275, in run
    c = self.getch()
        ^^^^^^^^^^^^
  File "/home/jouni/.nix-profile/bin/pulsemixer", line 1103, in getch
    self.ev.wait()
  File "/nix/store/bbyp6vkdszn6a14gqnfx8l5j3mhfcnfs-python3-3.12.11/lib/python3.12/threading.py", line 655, in wait
    signaled = self._cond.wait(timeout)
               ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/nix/store/bbyp6vkdszn6a14gqnfx8l5j3mhfcnfs-python3-3.12.11/lib/python3.12/threading.py", line 355, in wait
    waiter.acquire()
  File "/home/jouni/.nix-profile/bin/pulsemixer", line 1243, in <lambda>
    signal.signal(signal.SIGINT, lambda s, f: self.terminate())
                                              ^^^^^^^^^^^^^^^^
  File "/home/jouni/.nix-profile/bin/pulsemixer", line 1228, in terminate
    sys.exit()
SystemExit

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/jouni/.nix-profile/bin/pulsemixer", line 2054, in <module>
    main()
  File "/home/jouni/.nix-profile/bin/pulsemixer", line 1948, in main
    curses.wrapper(Screen(CFG.ui.color, CFG.ui.mouse).run)
  File "/nix/store/bbyp6vkdszn6a14gqnfx8l5j3mhfcnfs-python3-3.12.11/lib/python3.12/curses/__init__.py", line 101, in wrapper
    endwin()
_curses.error: endwin() returned ERR
❯ pulsemixer --list
Sink:            ID: sink-60, Name: Family 17h/19h/1ah HD Audio Controller Analog Stereo, Mute: 0, Channels: 2, Volumes: ['43%', '43%']
Sink:            ID: sink-4690, Name:  Pebble V3
, Mute: 0, Channels: 2, Volumes: ['52%', '52%'], Default
Sink input:      ID: sink-input-3544, Name: spotify, Mute: 0, Channels: 2, Volumes: ['100%', '100%']
Sink input:      ID: sink-input-4700, Name: mpv, Mute: 0, Channels: 2, Volumes: ['100%', '100%']
Source:          ID: source-60, Name: Monitor of Family 17h/19h/1ah HD Audio Controller Analog Stereo, Mute: 0, Channels: 2, Volumes: ['98%', '98%']
Source:          ID: source-61, Name: Family 17h/19h/1ah HD Audio Controller Analog Stereo, Mute: 0, Channels: 2, Volumes: ['27%', '27%'], Default
Source:          ID: source-4690, Name: Monitor of  Pebble V3
, Mute: 0, Channels: 2, Volumes: ['100%', '100%']

pulsemixer's version 1.5.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions