Git Product home page Git Product logo

Comments (8)

elParaguayo avatar elParaguayo commented on August 17, 2024 1

I'll need to look into that one too.

from qtile-extras.

elParaguayo avatar elParaguayo commented on August 17, 2024

Is your volume greater than 100%?

from qtile-extras.

researcher2312 avatar researcher2312 commented on August 17, 2024

Yes, it appears that the PulseVolume allows for volumes greater than 100%

from qtile-extras.

elParaguayo avatar elParaguayo commented on August 17, 2024

Ok. I'll add some code to catch that scenario.

from qtile-extras.

researcher2312 avatar researcher2312 commented on August 17, 2024

And do you know anything about the popup? When i change the mode to popup, I get a different error:

ERROR libqtile loop.py:_handle_exception():L62 Exception in event loop:
Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/libqtile/widget/pulse_volume.py", line 81, in _check_pulse_connection
    await self.pulse.connect()
  File "/home/researcher/.local/lib/python3.11/site-packages/pulsectl_asyncio/pulsectl_async.py", line 122, in connect
    self._ctx_init()
  File "/home/researcher/.local/lib/python3.11/site-packages/pulsectl_asyncio/pulsectl_async.py", line 110, in _ctx_init
    self._ctx = c.pa.context_new(self._loop.api_pointer, self.name)
                                 ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'api_pointer'

I have pulsectl_asyncio installed

from qtile-extras.

elParaguayo avatar elParaguayo commented on August 17, 2024

I can't recreate that one. Popup works ok for me. Can you give me some steps to try?

from qtile-extras.

researcher2312 avatar researcher2312 commented on August 17, 2024

OS: Arch Linux x86_64
Host: VirtualBox 1.2
Kernel: 6.6.1-arch1-1
Shell: bash 5.2.15
Resolution: 1280x800
DE: qtile
Python: 3.11.5
pulseaudio: 16.1
pulsectl: 23.5.2
pulsectl-asyncio: 1.1.1
qtile: 0.23.0
qtile-extras: 0.23.0

volume_widget = widget.PulseVolume(
            emoji=True,
            emoji_list=['󰸈', '󰕿', '󰖀', '󰕾'],
	)
volume_popup = widget.PulseVolumeExtra(mode="popup")
widgets=[volume_widget, volume_popup]
mybar = bar.Bar(widgets, 25)
ERROR libqtile loop.py:_handle_exception():L62 Exception in event loop:
Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/libqtile/widget/pulse_volume.py", line 98, in _event_listener
    async for event in self.pulse.subscribe_events("sink", "server"):
  File "/home/researcher/.local/lib/python3.11/site-packages/pulsectl_asyncio/pulsectl_async.py", line 514, in subscribe_events
    yield await self._wait_disconnect_or(queue.get())
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/researcher/.local/lib/python3.11/site-packages/pulsectl_asyncio/pulsectl_async.py", line 182, in _wait_disconnect_or
    raise PulseDisconnected()
pulsectl.pulsectl.PulseDisconnected
ERROR libqtile loop.py:_handle_exception():L62 Exception in event loop:
Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/libqtile/widget/pulse_volume.py", line 81, in _check_pulse_connection
    await self.pulse.connect()
  File "/home/researcher/.local/lib/python3.11/site-packages/pulsectl_asyncio/pulsectl_async.py", line 122, in connect
  File "/home/researcher/.local/lib/python3.11/site-packages/pulsectl_asyncio/pulsectl_async.py", line 110, in _ctx_init
AttributeError: 'NoneType' object has no attribute 'api_pointer'

from qtile-extras.

elParaguayo avatar elParaguayo commented on August 17, 2024

Still can't recreate this.

from qtile-extras.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.