Looking at github, this is the module that looks like it should generate
the _pulse_audio module you're after:
https://github.com/qtile/qtile/blob/master/libqtile/widget/pulseaudio_ffi.py

I'm guessing that that script needs to be run once on it's own in order to
trigger the build of the module before it can be imported. From the commit (
https://github.com/qtile/qtile/commit/18a59fce9c80a921f5606c1da72965ae22d5ef87#diff-6e3b11dfef4ab8efbaaaf3ccdffd88a6R6)
there's a script which builds the FFI modules. That script is called from
the Makefile:
https://github.com/qtile/qtile/blob/fa24ee75840408071d0f97e14ed40edc0aebff8b/Makefile#L8

I don't know how you installed qtile but the above might help you solve
this one...

On Sat, 26 Sep 2020 at 13:23, el Paraguayo <[email protected]>
wrote:

> I don't use the widget but I'm guessing it's broken because the docs page
> just shows an import error for that widget.
>
> On Sat, 26 Sep 2020, 12:19 Kai Stian Olstad, <[email protected]>
> wrote:
>
>> I'm trying to use the PulseVolume widget, but the documentation[1] looks
>> strange
>> as it only shows
>> "alias of
>> libqtile.widget.import_error.make_error.<locals>.ImportErrorWidget"
>>
>> When enabled, the widget shows following error "Import Error:
>> PulseVolume".
>> Running it manually I get this
>>
>> $ python3
>> Python 3.8.5 (default, Aug 11 2020, 13:06:53)
>> >>>
>> >>> from libqtile import widget
>> >>> w = widget.PulseVolume()
>> Unmet dependencies for '.widget.pulse_volume.PulseVolume': No module
>> named 'libqtile.widget._pulse_audio'
>>
>> Qtile is installed with pip3
>>
>> $ pip3 list | egrep "qtile|ffi"
>> cairocffi  1.1.0
>> cffi       1.14.0
>> qtile      0.16.1
>> xcffib     0.9.0
>>
>>
>> Have I missed a installation step or missing a dependency?
>>
>>
>> [1] http://docs.qtile.org/en/latest/manual/ref/widgets.html#pulsevolume
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "qtile-dev" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/qtile-dev/20200926111908.ckxzl7oqk5tloouu%40olstad.com
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"qtile-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qtile-dev/CADPQLhA%3DgEGXOtrPc-3rOZcqL-jrk_%3DhxPMZxrZ77Ykw%3D0Bfog%40mail.gmail.com.

Reply via email to