Closed vzaliva closed 8 months ago
It was the case of missing dependencies. The following commands helped:
pipx inject py3status dbus-python
sudo apt install libcairo2-dev libgirepository1.0-dev
pipx inject py3status pygobject
I think package specification in pip needs to add dependencies for dbus-python and pygobject
If you clicked on (red/error) vpn_status
, it should expand with a message similar to your error log. As for missing dependencies, I see this is already documented in vpn_status
module.
dbus-python: to interact with dbus pygobject: which in turn requires libcairo2-dev, libgirepository1.0-dev
This is necessary only for vpn_status
. I don't think we should add module dependencies to py3status and if we do, there would be several unwanted dependencies. Users should install them manually.
Alternatively, we split up py3status modules into individual packages with additional dependencies. Meh.
Describe the bug
"vpn_status" module does not work as expected. It just shows "vpn_status" text.
Your py3status version
py3status version 3.52 (python 3.11.4) on i3
To Reproduce
Add module "vpn_status" Run
py3status -d -l log.txt
Expected behavior
to show VPN status. Instead in the log file I see the following error:
Additional context py3status installed via :
I have following system-wide packages installed:
apt install python3-dbus sudo apt install python-dbus-dev