Closed Bcez closed 1 year ago
Hi,
most likely, a Python module is missib.
2 options:
Hope that helps!
alright here is what i got from the logs [2022-12-06 15:38:01,587] input DEBUG registering callback ::wheel-up [2022-12-06 15:38:01,587] input DEBUG registering callback ::wheel-down [2022-12-06 15:38:01,589] module DEBUG importing debug from core [2022-12-06 15:38:01,590] module WARNING failed to import network from core: No module named 'modules.core.network' [2022-12-06 15:38:01,591] module DEBUG importing network from contrib [2022-12-06 15:38:01,591] module WARNING failed to import playerctl from core: No module named 'modules.core.playerctl' [2022-12-06 15:38:01,591] module DEBUG importing playerctl from contrib [2022-12-06 15:38:01,591] input DEBUG registering callback playerctl::0::left-mouse [2022-12-06 15:38:01,592] input DEBUG registering callback playerctl::2::left-mouse [2022-12-06 15:38:01,592] input DEBUG registering callback playerctl::3::left-mouse [2022-12-06 15:38:01,599] module DEBUG importing pulseaudio from core [2022-12-06 15:38:01,606] input DEBUG registering callback ::wheel-up [2022-12-06 15:38:01,606] input DEBUG registering callback ::wheel-down [2022-12-06 15:38:01,607] module DEBUG importing debug from core [2022-12-06 15:38:01,608] module WARNING failed to import network from core: No module named 'modules.core.network' [2022-12-06 15:38:01,609] module DEBUG importing network from contrib [2022-12-06 15:38:01,609] module WARNING failed to import playerctl from core: No module named 'modules.core.playerctl' [2022-12-06 15:38:01,609] module DEBUG importing playerctl from contrib [2022-12-06 15:38:01,610] input DEBUG registering callback playerctl::0::left-mouse [2022-12-06 15:38:01,610] input DEBUG registering callback playerctl::2::left-mouse [2022-12-06 15:38:01,610] input DEBUG registering callback playerctl::3::left-mouse [2022-12-06 15:38:01,617] module DEBUG importing pulseaudio from core
also do you have a theme that supports pywal?
yes, there is wal-powerline.
the log looks ok, can you narrow it down to a specific module my removing one at a time, maybe?
Sorry for the issues!
ok so i still get the same error. idk what is happening
i removed every modules one by one
Can you please tun the command directly in the terminal and paste the output here, please? just to check the format?
Also: Which version are you using?
~/.local/bin/bumblebee-status -m pulseaudio \
-p time.format="%H:%M CW %V" date.format="%a, %b %d %Y" \
-t solarized-powerline
and the lastest package from pip
{"version": 1, "click_events": true} [ {"version":1} [ [{"full_text": " Module.init() missing 1 required positional argument: 'channel' ", "background": "#ff0000", "color": "#ffffff", "name": "error", "instance": "the-only-one"}], [{"full_text": " Module.init() missing 1 required positional argument: 'channel' ", "background": "#ff0000", "color": "#ffffff", "name": "error", "instance": "the-only-one"}],
Yeah, pulseaudio cannot be used directly, you need to use pulsein and/or pulseout instead.
If you remove pulseaudio and use a simpler module such as cpu, does it work then?
I have to check later since i am at school rn
yea it does, what should i use to show volume then?
So, pulseaudio is actually managed by two modules:
pulsein for microphones and pulseout for headsets etc.
Do those two work for you?
BTW: You are by far not the first person to be falling into the pulseaudio trap, I need to find a better solution for this :(
Thank you for your patience!
Affected module: none Description: Installed Bumblebee status using pip, when put in config with the modules, paramters, and theme i get an error![Screenshot from 2022-12-05 14-54-39](https://user-images.githubusercontent.com/80232341/205730847-bbaba8c6-59aa-42f4-a13a-ac57431c790b.png)
here is my config for the bar ` bar { position top height 30 status_command ~/.local/bin/bumblebee-status -m network playerctl pulseaudio arch_update battery bluetooth2 date time \ -p time.format="%H:%M CW %V" date.format="%a, %b %d %Y" \ -t solarized-powerline font pango: FontAwesome 10, JetBrainsMono Nerd Font Bold
} `
If you are having problems with fonts, please read: https://github.com/tobi-wan-kenobi/bumblebee-status/issues/228 https://github.com/tobi-wan-kenobi/bumblebee-status/issues/210 https://github.com/tobi-wan-kenobi/bumblebee-status/issues/197 https://github.com/tobi-wan-kenobi/bumblebee-status/issues/233
Please note FontAwesome 5 is currently not supported: https://github.com/tobi-wan-kenobi/bumblebee-status/issues/239