On Thu, Nov 28, 2019 at 09:00:34AM -0800, Ahmed Mohamedeen wrote: > that raises another __getattr__ related error, I don't think that's the > issue, and you might want to revert that change.
Can you post the error? (the change wasn't in mainline, but it does seem that there's some bug there...) > And after some debugging I think it's my file current_now is the problem, > my laptop -for some reason- makes the current_now file binary and > unreadable while it's discharging. > Maybe HP does that on the hardware level their goal is to make it > impossible to know estimated time left by not allowing accessing the > current power. even in windows I can't see my Battery Remaining Time. > > If you have time you can fix that in the code maybe don't require > calculating power_str and power_unit if the file is binary or something? > and then maybe raise an error if the widget format requires the time. > > I think some manufactures do this shady move after some googling. > > Maybe I can try to fix and make a PR for that if you don't have time. I think it's best if you fix it, as I've never heard of this problem before, and have no way to reproduce it :) Tycho > On Thursday, 28 November 2019 17:42:53 UTC+2, Tycho Andersen wrote: > > > > On Wed, Nov 27, 2019 at 01:20:55PM -0800, Ahmed Mohamedeen wrote: > > > Although I have it defined in the params but the logs indicate that it's > > > searching for the default file names > > > > Seems like we broke that somehow, does this fix it for you: > > > > > > https://github.com/tych0/qtile/commit/172f05528f8963b9179e8ac19acfb14fa54e8710 > > > > > > ? > > > > Tycho > > > > -- > 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/bd2b017d-8bf9-4222-a668-7a90523af748%40googlegroups.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/20191130020622.GC10070%40cisco.
