Closed wngrtn closed 1 year ago
Thanks a lot! Will look into this right away.
One question: What do you mean by "custom module"?
Thanks! Ah, custom module = module placed in ~/.config/bumblebee-status/modules
.
I was looking into writing a custom module, copied the Hello World example to ~/.config/bumblebee-status/modules/helloworld.py
, and tried to run it with bumblebee-status -m helloworld
.
Affected module: custom modules
Description:
Loading any custom module fails with
AttributeError: module 'importlib' has no attribute 'util'
.I am on python 3.11.3 and, apparently,
importlib
no longer exportsutil
(see corresponding thread on discuss.python.org).The fix is probably as easy as adding
import importlib.util
incore/module.py
but my python experience is very limited and I am not sure how to test and build the project.