Skip to content

Not starting on login #171

Description

@nailerNAS

Most of the times I login or reboot (with automatic login) Kurve won't start CAVA, showing the following exception:

Error: Traceback (most recent call last):
  File "/usr/lib/python3.14/site-packages/websockets/asyncio/client.py", line 546, in __await_impl__
    await self.connection.handshake(
    ...<2 lines>...
    )
  File "/usr/lib/python3.14/site-packages/websockets/asyncio/client.py", line 105, in handshake
    await asyncio.wait(
    ...<2 lines>...
    )
  File "/usr/lib/python3.14/asyncio/tasks.py", line 432, in wait
    return await _wait(fs, timeout, return_when, loop)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.14/asyncio/tasks.py", line 521, in _wait
    await waiter
asyncio.exceptions.CancelledError

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/lib/python3.14/site-packages/websockets/asyncio/client.py", line 542, in __await_impl__
    async with asyncio_timeout(self.open_timeout):
               ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.14/asyncio/timeouts.py", line 115, in __aexit__
    raise TimeoutError from exc_val
TimeoutError

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/nailer/.local/share/plasma/plasmoids/luisbocanegra.audio.visualizer/contents/ui/tools/commandMonitor", line 62, in <module>
    loop.run_until_complete(main_task)
    ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
  File "/usr/lib/python3.14/asyncio/base_events.py", line 719, in run_until_complete
    return future.result()
           ~~~~~~~~~~~~~^^
  File "/home/nailer/.local/share/plasma/plasmoids/luisbocanegra.audio.visualizer/contents/ui/tools/commandMonitor", line 19, in monitor_command_output
    async with websockets.connect(ws_url) as ws:
               ~~~~~~~~~~~~~~~~~~^^^^^^^^
  File "/usr/lib/python3.14/site-packages/websockets/asyncio/client.py", line 590, in __aenter__
    return await self
           ^^^^^^^^^^
  File "/usr/lib/python3.14/site-packages/websockets/asyncio/client.py", line 581, in __await_impl__
    raise TimeoutError("timed out during opening handshake") from exc
TimeoutError: timed out during opening handshake

❌ CAVA is not running
Widget version: 3.5.1
CAVA version: 0.10.7
Using ProcessMonitorFallback: true
Widget install location: /home/nailer/.local/share/plasma/plasmoids/luisbocanegra.audio.visualizer/

Cava command:
exec cava -p /dev/stdin <<-EOF
[general]
framerate=30
bars=154
autosens=1
lower_cutoff_freq=50
higher_cutoff_freq=10000
sleep_timer=5
[input]
sample_rate=44100
sample_bits=16
channels=2
autoconnect=2
active=0
remix=1
virtual=1
[output]
channels=mono
mono_option=average
reverse=0
method=raw
raw_target=/dev/stdout
data_format=ascii
ascii_max_range=656
[smoothing]
noise_reduction=77
monstercat=0
waves=0

EOF

It does start when clicking 'Start CAVA' in the widget.

Plasma: 6.7.3
Kurve: 3.5.1
CAVA: 0.10.7-1
Python: 3.14.6-1
python-websockets: 16.0-1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions