tobi-wan-kenobi / bumblebee-status

bumblebee-status is a modular, theme-able status line generator for the i3 window manager.
https://bumblebee-status.readthedocs.io/en/main/
MIT License
1.2k stars 229 forks source link

Sometime CPU module freezes #935

Closed HappyCthulhu closed 9 months ago

HappyCthulhu commented 1 year ago

Bug Report

Description

Affected module: CPU Version used: AUR

#### How to reproduce Idk why its happening. I just wanna tell, that sometimes this happening. So, in rare cases, CPU module "freeze". I mean, he is showing constant value. And dont change it. For changing it, u need to reload i3. Maybe in future i will be able to tell u, why and in which cases its happening.
tobi-wan-kenobi commented 1 year ago

I had a look at the code and the only thing I can think of is an exception in psutil, and even that would probably just cause an error.

I will research (=google) some more, but right now, I have no idea what could cause this.

HappyCthulhu commented 1 year ago

it reproducing rn. Right in current moment. What can i do, to help u find the root of this issue? Pls try to respond quick, im not reloading my pc, bc bug will dissapear)

tobi-wan-kenobi commented 1 year ago

are all the other modules also stuck? how is cpu util. of bumblebee in "ps aux"?

does clicking on the module help?

also, please send your python version and whether you installes psutil from pypi or via distro (+ which distro)

thanks!

HappyCthulhu commented 1 year ago

hmmm. yes, i think, other modules stuck 2. ram module stuck for sure. i think, time module 2. I can reach to volume module. I mean, it changes value of volume, if trying to change it.

Yes, clicking on CPU module helped. So, i cant test it rn, bc bug is done for now)

image

tobi-wan-kenobi commented 1 year ago

got it, that still helps me, i think. thanks!

tobi-wan-kenobi commented 1 year ago

just to clarify that i am not ignoring this:

i have tried a lot of things to reproduce this, but the only sensible idea i can come up with is that the module does not receive updates anymore (and since other modules still work, i have zero idea how this is possible)

the module code is extremely simple, so i guess it has to be the framework. but only cpu is affected, which is weird.

so: sorry, i am still investigating, but it is an elusive issue.

tobi-wan-kenobi commented 9 months ago

Closing as "cannot reproduce". Please reopen if the issue persists.