Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: 'NoneType' object has no attribute 'create_layout' #384

Open
DeeeeLAN opened this issue Oct 21, 2024 · 2 comments
Open

AttributeError: 'NoneType' object has no attribute 'create_layout' #384

DeeeeLAN opened this issue Oct 21, 2024 · 2 comments

Comments

@DeeeeLAN
Copy link

I am not sure what is causing the error, but this is all over my logfile.

2024-10-21 12:51:23,277 ERROR libqtile loop.py:_handle_exception():L62 Exception in event loop:
Traceback (most recent call last):
  File "/usr/lib/python3.12/asyncio/events.py", line 88, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/lib/python3.12/site-packages/qtile_extras/resources/dbusmenu/__init__.py", line 273, in parse_menu
    callback(menu)
  File "/home/dillan/.config/qtile/widgets/globalmenu.py", line 152, in parse_root_menu
    layout = self.drawer.textlayout(
             ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/libqtile/backend/base/drawer.py", line 330, in textlayout
    textlayout = TextLayout(
                 ^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/libqtile/backend/base/drawer.py", line 391, in __init__
    layout = drawer.ctx.create_layout()
             ^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'create_layout'
@elParaguayo
Copy link
Owner

Which widget?

Also, do you reload your config regularly?

@DeeeeLAN
Copy link
Author

DeeeeLAN commented Nov 1, 2024

I haven't gone widget by widget, I will have to go figure that one out and get back to you. I reload maybe daily, if not more. Just depends if something gets stuck and I need to refresh or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants