Git Product home page Git Product logo

Comments (4)

m-col avatar m-col commented on July 17, 2024 1

Update, I restarted qtile completely and the menus are working now, so it's definitely related to late setup of the widget. Interestingly reloading the config now doesn't induce the bug.

from qtile-extras.

elParaguayo avatar elParaguayo commented on July 17, 2024

Nice bug report. Thanks!

I'll take a look at that attach_menu point and think how best to handle when we're reloading the config.

One the second point, yes, it looks like the method is unsupported which probably means the icon is not following the StatusNotifier specification but we should handle it better than this.

Lastly, I've seen a few of those NoneType: None messages before and I've no idea where they're coming from. It's not this widget.

from qtile-extras.

m-col avatar m-col commented on July 17, 2024

Lastly, I've seen a few of those NoneType: None messages before and I've no idea where they're coming from. It's not this widget.

I also noticed this part today as something noteworthy, as I thought it was just the last part of this error message (following a newline character in the error message):

2022-10-11 16:53:18,558 ERROR libqtile loop.py:_handle_exception():L63 initializer for ctype 'PangoLayout *' must be a cdata pointer, not NoneType
NoneType: None

but in this SNI case no NoneType is involved 🤔 The _handle_exception method is a pattern here though, so maybe it's something to do with the data passed into that log.

from qtile-extras.

elParaguayo avatar elParaguayo commented on July 17, 2024

https://stackoverflow.com/questions/53162817/logging-exceptions-in-python-3

from qtile-extras.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.