Comments (33)
Do you get a different error message when you pass the theme_path
value?
Don't worry about time difference (despite my username, I'm in the UK!) - Argentina is a beautiful country, I miss my maté although I prefer an ice cold tereré!
from qtile-extras.
OK, so it looks like your icon theme doesn't include those icons (you want icons with those names and something like a .svg
or .png
extension.
If you think your icon theme does have those icons then try passing the path to the folder containing them. For example, my theme_path
is /usr/share/icons/Paper/24x24/panel
.
from qtile-extras.
Confirmed. Can replicate that on my system.
No idea why it happens. Will investigate.
Also, please note, that issue with the "~" in your theme path has been fixed and merged into the qtile git version.
from qtile-extras.
Found the error with StatusNotifier. It's actually a bug in the main widget. Will submit a fix for it.
Thanks for your help, would have taken a long time to work that one out without you!
from qtile-extras.
Thanks. Is there a message in the log file?
I'm guessing it can't find the icons in your system.
from qtile-extras.
Log file
2021-12-06 00:32:53,134 WARNING libqtile tasklist.py:_configure():L306 TaskList icons not supported in Wayland.
2021-12-06 00:32:53,595 ERROR libqtile bar.py:_configure_widget():L314 ALSAWidget widget crashed during _configure with error: TypeError('expected str, bytes or os.PathLike object, not NoneType')
2021-12-06 00:32:53,901 ERROR libqtile loop.py:_handle_exception():L64 maximum recursion depth exceeded
Traceback (most recent call last):
File "/usr/lib/python3.9/asyncio/events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "/usr/local/lib/python3.9/dist-packages/libqtile/core/manager.py", line 833, in f
func(*args)
File "/usr/local/lib/python3.9/dist-packages/libqtile/bar.py", line 554, in _actual_draw
i.draw()
File "/usr/local/lib/python3.9/dist-packages/libqtile/widget/statusnotifier.py", line 637, in draw
self.drawer.clear(self.background or self.bar.background)
File "/usr/local/lib/python3.9/dist-packages/qtile_extras-0.1.0-py3.9.egg/qtile_extras/widget/decorations.py", line 276, in new_clear
self._clear(colour)
File "/usr/local/lib/python3.9/dist-packages/qtile_extras-0.1.0-py3.9.egg/qtile_extras/widget/decorations.py", line 276, in new_clear
self._clear(colour)
File "/usr/local/lib/python3.9/dist-packages/qtile_extras-0.1.0-py3.9.egg/qtile_extras/widget/decorations.py", line 276, in new_clear
self._clear(colour)
[Previous line repeated 984 more times]
RecursionError: maximum recursion depth exceeded
2021-12-06 00:32:58,624 ERROR libqtile loop.py:_handle_exception():L64 maximum recursion depth exceeded
Traceback (most recent call last):
File "/usr/lib/python3.9/asyncio/events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "/usr/local/lib/python3.9/dist-packages/libqtile/core/manager.py", line 833, in f
func(*args)
File "/usr/local/lib/python3.9/dist-packages/libqtile/bar.py", line 554, in _actual_draw
i.draw()
File "/usr/local/lib/python3.9/dist-packages/libqtile/widget/statusnotifier.py", line 637, in draw
self.drawer.clear(self.background or self.bar.background)
File "/usr/local/lib/python3.9/dist-packages/qtile_extras-0.1.0-py3.9.egg/qtile_extras/widget/decorations.py", line 276, in new_clear
self._clear(colour)
File "/usr/local/lib/python3.9/dist-packages/qtile_extras-0.1.0-py3.9.egg/qtile_extras/widget/decorations.py", line 276, in new_clear
self._clear(colour)
File "/usr/local/lib/python3.9/dist-packages/qtile_extras-0.1.0-py3.9.egg/qtile_extras/widget/decorations.py", line 276, in new_clear
self._clear(colour)
[Previous line repeated 984 more times]
RecursionError: maximum recursion depth exceeded
2021-12-06 00:32:59,947 ERROR libqtile loop.py:_handle_exception():L64 maximum recursion depth exceeded
Traceback (most recent call last):
File "/usr/lib/python3.9/asyncio/events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "/usr/local/lib/python3.9/dist-packages/libqtile/core/manager.py", line 833, in f
func(*args)
File "/usr/local/lib/python3.9/dist-packages/libqtile/bar.py", line 554, in _actual_draw
i.draw()
File "/usr/local/lib/python3.9/dist-packages/libqtile/widget/statusnotifier.py", line 637, in draw
self.drawer.clear(self.background or self.bar.background)
File "/usr/local/lib/python3.9/dist-packages/qtile_extras-0.1.0-py3.9.egg/qtile_extras/widget/decorations.py", line 276, in new_clear
self._clear(colour)
File "/usr/local/lib/python3.9/dist-packages/qtile_extras-0.1.0-py3.9.egg/qtile_extras/widget/decorations.py", line 276, in new_clear
self._clear(colour)
File "/usr/local/lib/python3.9/dist-packages/qtile_extras-0.1.0-py3.9.egg/qtile_extras/widget/decorations.py", line 276, in new_clear
self._clear(colour)
[Previous line repeated 984 more times]
RecursionError: maximum recursion depth exceeded
2021-12-06 00:32:59,988 ERROR libqtile loop.py:_handle_exception():L64 maximum recursion depth exceeded
Traceback (most recent call last):
File "/usr/lib/python3.9/asyncio/events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "/usr/local/lib/python3.9/dist-packages/libqtile/core/manager.py", line 833, in f
func(*args)
File "/usr/local/lib/python3.9/dist-packages/libqtile/bar.py", line 554, in _actual_draw
i.draw()
File "/usr/local/lib/python3.9/dist-packages/libqtile/widget/statusnotifier.py", line 637, in draw
self.drawer.clear(self.background or self.bar.background)
File "/usr/local/lib/python3.9/dist-packages/qtile_extras-0.1.0-py3.9.egg/qtile_extras/widget/decorations.py", line 276, in new_clear
self._clear(colour)
File "/usr/local/lib/python3.9/dist-packages/qtile_extras-0.1.0-py3.9.egg/qtile_extras/widget/decorations.py", line 276, in new_clear
self._clear(colour)
File "/usr/local/lib/python3.9/dist-packages/qtile_extras-0.1.0-py3.9.egg/qtile_extras/widget/decorations.py", line 276, in new_clear
self._clear(colour)
[Previous line repeated 984 more times]
RecursionError: maximum recursion depth exceeded
2021-12-06 00:33:00,047 ERROR libqtile loop.py:_handle_exception():L64 maximum recursion depth exceeded
Traceback (most recent call last):
File "/usr/lib/python3.9/asyncio/events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "/usr/local/lib/python3.9/dist-packages/libqtile/core/manager.py", line 833, in f
func(*args)
File "/usr/local/lib/python3.9/dist-packages/libqtile/bar.py", line 554, in _actual_draw
i.draw()
File "/usr/local/lib/python3.9/dist-packages/libqtile/widget/statusnotifier.py", line 637, in draw
self.drawer.clear(self.background or self.bar.background)
File "/usr/local/lib/python3.9/dist-packages/qtile_extras-0.1.0-py3.9.egg/qtile_extras/widget/decorations.py", line 276, in new_clear
self._clear(colour)
File "/usr/local/lib/python3.9/dist-packages/qtile_extras-0.1.0-py3.9.egg/qtile_extras/widget/decorations.py", line 276, in new_clear
self._clear(colour)
File "/usr/local/lib/python3.9/dist-packages/qtile_extras-0.1.0-py3.9.egg/qtile_extras/widget/decorations.py", line 276, in new_clear
self._clear(colour)
[Previous line repeated 984 more times]
RecursionError: maximum recursion depth exceeded
2021-12-06 00:33:03,084 ERROR libqtile loop.py:_handle_exception():L64 maximum recursion depth exceeded
Traceback (most recent call last):
File "/usr/lib/python3.9/asyncio/events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "/usr/local/lib/python3.9/dist-packages/libqtile/core/manager.py", line 833, in f
func(*args)
File "/usr/local/lib/python3.9/dist-packages/libqtile/bar.py", line 554, in _actual_draw
i.draw()
File "/usr/local/lib/python3.9/dist-packages/libqtile/widget/statusnotifier.py", line 637, in draw
self.drawer.clear(self.background or self.bar.background)
File "/usr/local/lib/python3.9/dist-packages/qtile_extras-0.1.0-py3.9.egg/qtile_extras/widget/decorations.py", line 276, in new_clear
self._clear(colour)
File "/usr/local/lib/python3.9/dist-packages/qtile_extras-0.1.0-py3.9.egg/qtile_extras/widget/decorations.py", line 276, in new_clear
self._clear(colour)
File "/usr/local/lib/python3.9/dist-packages/qtile_extras-0.1.0-py3.9.egg/qtile_extras/widget/decorations.py", line 276, in new_clear
self._clear(colour)
[Previous line repeated 984 more times]
RecursionError: maximum recursion depth exceeded
2021-12-06 00:33:32,613 ERROR libqtile loop.py:_handle_exception():L64 maximum recursion depth exceeded
Traceback (most recent call last):
File "/usr/lib/python3.9/asyncio/events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "/usr/local/lib/python3.9/dist-packages/libqtile/core/manager.py", line 833, in f
func(*args)
File "/usr/local/lib/python3.9/dist-packages/libqtile/bar.py", line 554, in _actual_draw
i.draw()
File "/usr/local/lib/python3.9/dist-packages/libqtile/widget/statusnotifier.py", line 637, in draw
self.drawer.clear(self.background or self.bar.background)
File "/usr/local/lib/python3.9/dist-packages/qtile_extras-0.1.0-py3.9.egg/qtile_extras/widget/decorations.py", line 276, in new_clear
self._clear(colour)
File "/usr/local/lib/python3.9/dist-packages/qtile_extras-0.1.0-py3.9.egg/qtile_extras/widget/decorations.py", line 276, in new_clear
self._clear(colour)
File "/usr/local/lib/python3.9/dist-packages/qtile_extras-0.1.0-py3.9.egg/qtile_extras/widget/decorations.py", line 276, in new_clear
self._clear(colour)
[Previous line repeated 984 more times]
RecursionError: maximum recursion depth exceeded
2021-12-06 00:33:41,066 ERROR libqtile loop.py:_handle_exception():L64 maximum recursion depth exceeded
Traceback (most recent call last):
File "/usr/lib/python3.9/asyncio/events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "/usr/local/lib/python3.9/dist-packages/libqtile/core/manager.py", line 833, in f
func(*args)
File "/usr/local/lib/python3.9/dist-packages/libqtile/bar.py", line 554, in _actual_draw
i.draw()
File "/usr/local/lib/python3.9/dist-packages/libqtile/widget/statusnotifier.py", line 637, in draw
self.drawer.clear(self.background or self.bar.background)
File "/usr/local/lib/python3.9/dist-packages/qtile_extras-0.1.0-py3.9.egg/qtile_extras/widget/decorations.py", line 276, in new_clear
self._clear(colour)
File "/usr/local/lib/python3.9/dist-packages/qtile_extras-0.1.0-py3.9.egg/qtile_extras/widget/decorations.py", line 276, in new_clear
self._clear(colour)
File "/usr/local/lib/python3.9/dist-packages/qtile_extras-0.1.0-py3.9.egg/qtile_extras/widget/decorations.py", line 276, in new_clear
self._clear(colour)
[Previous line repeated 984 more times]
RecursionError: maximum recursion depth exceeded
2021-12-06 00:33:54,816 ERROR libqtile loop.py:_handle_exception():L64 maximum recursion depth exceeded
Traceback (most recent call last):
File "/usr/lib/python3.9/asyncio/events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "/usr/local/lib/python3.9/dist-packages/libqtile/core/manager.py", line 833, in f
func(*args)
File "/usr/local/lib/python3.9/dist-packages/libqtile/bar.py", line 554, in _actual_draw
i.draw()
File "/usr/local/lib/python3.9/dist-packages/libqtile/widget/statusnotifier.py", line 637, in draw
self.drawer.clear(self.background or self.bar.background)
File "/usr/local/lib/python3.9/dist-packages/qtile_extras-0.1.0-py3.9.egg/qtile_extras/widget/decorations.py", line 276, in new_clear
self._clear(colour)
File "/usr/local/lib/python3.9/dist-packages/qtile_extras-0.1.0-py3.9.egg/qtile_extras/widget/decorations.py", line 276, in new_clear
self._clear(colour)
File "/usr/local/lib/python3.9/dist-packages/qtile_extras-0.1.0-py3.9.egg/qtile_extras/widget/decorations.py", line 276, in new_clear
self._clear(colour)
[Previous line repeated 984 more times]
RecursionError: maximum recursion depth exceeded
from qtile-extras.
The ALSA widget error is this line:
2021-12-06 00:32:53,595 ERROR libqtile bar.py:_configure_widget():L314 ALSAWidget widget crashed during _configure with error: TypeError('expected str, bytes or os.PathLike object, not NoneType')
Can you share your config for the ALSAWidget?
I don't think the recursion error is directly related (or may be a consequence of the first error). If you still get that error after we fix the icons then we can open a separate issue.
from qtile-extras.
I suspect you haven't set theme_path
to let the widget know where to look for the icons. You can either set this in the widget itself or in the widget_defaults
section of your config.
from qtile-extras.
The ALSA widget error is this line:
2021-12-06 00:32:53,595 ERROR libqtile bar.py:_configure_widget():L314 ALSAWidget widget crashed during _configure with error: TypeError('expected str, bytes or os.PathLike object, not NoneType')
Can you share your config for the ALSAWidget?
I don't think the recursion error is directly related (or may be a consequence of the first error). If you still get that error after we fix the icons then we can open a separate issue.
Config for the ALSAWidget
extrawidget.ALSAWidget(
mode='icon'
),
if I change 'icon' to 'bar' it works
from qtile-extras.
You need to set the theme_path
for icons to work.
Looks like I should add some better error handling here.
from qtile-extras.
I suspect you haven't set
theme_path
to let the widget know where to look for the icons. You can either set this in the widget itself or in thewidget_defaults
section of your config.
I put the theme path option in the confi.py file and it works. Now the ALSAWidget configuration would look like this
extrawidgets.ALSAWidget(
mode='icon',
theme_path='/home/cr1ogen/.local/share/icons/Zafiro-Icons-Dark',
),
I had tried the theme_path option but this way
~/.local/share/icons/Zafiro-Icons-Dark
and it also gave me an error
Sorry for the inconvenience.
Sorry for not answering you before due to the time difference. Greetings from Argentina
from qtile-extras.
Do you get a different error message when you pass the
theme_path
value?Don't worry about time difference (despite my username, I'm in the UK!) - Argentina is a beautiful country, I miss my maté although I prefer an ice cold tereré!
when i pass the theme_path
~/.local/share/icons/Zafiro-Icons-Dark
value, get this error
2021-12-06 14:41:42,194 ERROR libqtile bar.py:_configure_widget():L314 ALSAWidget widget crashed during _configure with error: LoadingError("Wasn't able to find images corresponding to the names: {'audio-volume-muted.', 'audio-volume-medium.', 'audio-volume-high.', 'audio-volume-low.'}")
3 2021-12-06 14:41:42,564 ERROR libqtile loop.py:_handle_exception():L64 maximum recursion depth exceeded
Aguante el mate y el tereré!!!
from qtile-extras.
My folder icons in the path have the folder panel and the icons. And it works when I put in the path /home/cr1ogen/path_to_the_folder_icon/
but it gives me this error when I put the variable ~/
in the path When I get home I'm going to prove what you told me
from qtile-extras.
For example, to put a wallpaper in the config.py file it works both ways, both when I put /home/ cr1ogen/path_to_wallpaper/
and when I put ~/path_to_wallpaper
from qtile-extras.
That's because the image loader isn't converting "~" to your home folder.
I'd rather fix that at the root in qtile rather than adding code to widgets here so, for now, you'll need to stick with the full path.
Do you still get the recursion errors?
from qtile-extras.
No problem, I can keep putting the full path. I still have recursion errors.
2021-12-06 17:55:56,761 ERROR libqtile loop.py:_handle_exception():L64 maximum recursion depth
exceeded
raceback (most recent call last):
File "/usr/lib/python3.9/asyncio/events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "/usr/local/lib/python3.9/dist-packages/libqtile/core/manager.py", line 833, in f
func(*args)
File "/usr/local/lib/python3.9/dist-packages/libqtile/bar.py", line 554, in _actual_draw
i.draw()
File "/usr/local/lib/python3.9/dist-packages/libqtile/widget/statusnotifier.py", line 637, in draw
self.drawer.clear(self.background or self.bar.background)
File
"/usr/local/lib/python3.9/dist-packages/qtile_extras-0.1.0-py3.9.egg/qtile_extras/widget/decoratio\ns.py", line 276, in new_clear
self._clear(colour)
File
"/usr/local/lib/python3.9/dist-packages/qtile_extras-0.1.0-py3.9.egg/qtile_extras/widget/decoratio\ns.py", line 276, in new_clear
self._clear(colour)
File
"/usr/local/lib/python3.9/dist-packages/qtile_extras-0.1.0-py3.9.egg/qtile_extras/widget/decoratio\ns.py", line 276, in new_clear
self._clear(colour)
[Previous line repeated 984 more times]
RecursionError: maximum recursion depth exceeded
what I couldn't tell you how it would affect, since I don't know how to program xD.
Also for me it is a pleasure to help as much as I can.
from qtile-extras.
Looks like there's something wrong with the decorations. Can you share your whole config file.
from qtile-extras.
from typing import List # noqa: F401
from libqtile import bar, layout, hook
from libqtile import widget
from qtile_extras import widget as extrawidgets
from libqtile.config import Click, Drag, Group, Key, Match, Screen
from libqtile.lazy import lazy
from libqtile.utils import guess_terminal
Autostart
import os
import subprocess
@hook.subscribe.startup_once
def autostart():
home = os.path.expanduser('~')
subprocess.call([home + '/.config/qtile/autostart.sh'])
mod = "mod4"
terminal = "kitty"
keys = [
# A list of available commands that can be bound to keys can be found
# at https://docs.qtile.org/en/latest/manual/config/lazy.html
# Switch between windows
Key([mod], "h", lazy.layout.left(), desc="Move focus to left"),
Key([mod], "l", lazy.layout.right(), desc="Move focus to right"),
Key([mod], "j", lazy.layout.down(), desc="Move focus down"),
Key([mod], "k", lazy.layout.up(), desc="Move focus up"),
Key([mod], "space", lazy.layout.next(),
desc="Move window focus to other window"),
# Move windows between left/right columns or move up/down in current stack.
# Moving out of range in Columns layout will create new column.
Key([mod, "shift"], "h", lazy.layout.shuffle_left(),
desc="Move window to the left"),
Key([mod, "shift"], "l", lazy.layout.shuffle_right(),
desc="Move window to the right"),
Key([mod, "shift"], "j", lazy.layout.shuffle_down(),
desc="Move window down"),
Key([mod, "shift"], "k", lazy.layout.shuffle_up(), desc="Move window up"),
# Grow windows. If current window is on the edge of screen and direction
# will be to screen edge - window would shrink.
Key([mod, "control"], "h", lazy.layout.grow_left(),
desc="Grow window to the left"),
Key([mod, "control"], "l", lazy.layout.grow_right(),
desc="Grow window to the right"),
Key([mod, "control"], "j", lazy.layout.grow_down(),
desc="Grow window down"),
Key([mod, "control"], "k", lazy.layout.grow_up(), desc="Grow window up"),
Key([mod], "n", lazy.layout.normalize(), desc="Reset all window sizes"),
# Toggle between split and unsplit sides of stack.
# Split = all windows displayed
# Unsplit = 1 window displayed, like Max layout, but still with
# multiple stack panes
Key([mod, "shift"], "Return", lazy.layout.toggle_split(),
desc="Toggle between split and unsplit sides of stack"),
# Aplicaciones principales
Key([mod], "Return", lazy.spawn(terminal), desc="Launch terminal"),
Key([mod], "backslash", lazy.spawn("firefox"), desc="Launch Browser"),
Key([mod,"shift"], "backslash", lazy.spawn("nautilus"), desc="Launch File"),
#Audio
Key(
[], "XF86AudioRaiseVolume",
lazy.spawn("pactl set-sink-volume @DEFAULT_SINK@ +5%")
),
Key(
[], "XF86AudioLowerVolume",
lazy.spawn("pactl set-sink-volume @DEFAULT_SINK@ -5%")
),
Key(
[], "XF86AudioMute",
lazy.spawn("pactl set-sink-mute @DEFAULT_SINK@ toggle")
),
#Run Apps
Key([mod], "b", lazy.spawn("rofi -show drun -modi drun" ),
desc="Spawn a command using a prompt widget"),
# Toggle between different layouts as defined below
Key([mod], "Tab", lazy.next_layout(), desc="Toggle between layouts"),
Key([mod], "w", lazy.window.kill(), desc="Kill focused window"),
Key([mod, "control"], "r", lazy.reload_config(), desc="Reload the config"),
Key([mod, "control"], "q", lazy.shutdown(), desc="Shutdown Qtile"),
Key([mod], "r", lazy.spawncmd(),
desc="Spawn a command using a prompt widget"),
]
groups = [Group(i) for i in "12345678"]
for i in groups:
keys.extend([
# mod1 + letter of group = switch to group
Key([mod], i.name, lazy.group[i.name].toscreen(),
desc="Switch to group {}".format(i.name)),
# mod1 + shift + letter of group = switch to & move focused window to group
Key([mod, "shift"], i.name, lazy.window.togroup(i.name, switch_group=True),
desc="Switch to & move focused window to group {}".format(i.name)),
# Or, use below if you prefer not to switch to that group.
# # mod1 + shift + letter of group = move focused window to group
# Key([mod, "shift"], i.name, lazy.window.togroup(i.name),
# desc="move focused window to group {}".format(i.name)),
])
layouts = [
layout.MonadTall(border_width=0, margin=8),
layout.Floating(),
layout.Max(),
]
widget_defaults = dict(
font='JetBrains Mono',
fontsize=13,
padding=3,
)
extension_defaults = widget_defaults.copy()
screens = [
Screen(
wallpaper = '~/Imágenes/Wallpapers/wallpaper-nord/ign-0011.png',
wallpaper_mode = 'fill',
top=bar.Bar(
[
widget.GroupBox(
highlight_method='text',
active='f6737d',
this_current_screen_border='f6737d',
fontsize=14,
padding_x=5,
),
widget.TaskList(
highlight_method='text',
border='f6737d',
this_current_screen_border='f6737d',
max_title_width=350,
icon_size=26,
padding=2,
),
widget.Clock(
format='%A %d-%m %H:%M %p'
),
widget.Spacer(
),
widget.Moc(
play_color='f6737d',
),
#widget.Volume(
# channel="Master",
# volume_app='pavucontrol',
#),
extrawidgets.ALSAWidget(
mode='both',
theme_path='/home/cr1ogen/.local/share/icons/Zafiro-Icons-Dark',
bar_width=25,
),
widget.CurrentLayoutIcon(
scale=0.5,
),
extrawidgets.StatusNotifier(
)
],
28,
margin=[4, 8, 0, 8],
background='#232831',
opacity=0.95,
border_width=[2, 2, 2, 2], # Draw top and bottom borders
# border_color=["ff00ff", "000000", "ff00ff", "000000"] # Borders are magenta
),
),
]
Drag floating layouts.
mouse = [
Drag([mod], "Button1", lazy.window.set_position_floating(),
start=lazy.window.get_position()),
Drag([mod], "Button3", lazy.window.set_size_floating(),
start=lazy.window.get_size()),
Click([mod], "Button2", lazy.window.bring_to_front())
]
dgroups_key_binder = None
dgroups_app_rules = [] # type: List
follow_mouse_focus = True
bring_front_click = False
cursor_warp = False
floating_layout = layout.Floating(float_rules=[
# Run the utility of xprop
to see the wm class and name of an X client.
*layout.Floating.default_float_rules,
Match(wm_class='confirmreset'), # gitk
Match(wm_class='makebranch'), # gitk
Match(wm_class='maketag'), # gitk
Match(wm_class='ssh-askpass'), # ssh-askpass
#Match(wm_class='wlogout'),
Match(title='branchdialog'), # gitk
Match(title='pinentry'), # GPG key password entry
])
auto_fullscreen = True
focus_on_window_activation = "smart"
reconfigure_screens = True
from qtile-extras.
I share a link of my configuration, because the copy and paste came out very strange
from qtile-extras.
Can you remove the StatusNotifier widget and see if the error disappears.
from qtile-extras.
Can you remove the StatusNotifier widget and see if the error disappears.
yes, no problem
from qtile-extras.
Can you remove the StatusNotifier widget and see if the error disappears.
yes, no problem
I remove the StatusNotifier widget and the recursion error disappeared
from qtile-extras.
OK. That's very odd. I don't have any error messages with it on my system. Is there anything in your autostart script that generates an icon in that widget?
from qtile-extras.
OK. That's very odd. I don't have any error messages with it on my system. Is there anything in your autostart script that generates an icon in that widget?
my autostar.sh
1 #!/bin/sh
2 #lxpolkit &
3 #xfsettingsd &
4 wlr-randr --output DP-2 --scale 2 &
5 /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 &
6 #mpvpaper -f -o "loop" DP-2 /home/cr1ogen/Imágenes/Videowall/video.mp4 &
7 #xrandr -s 3840x2160 --output DP-2 --scale 0.5x0.5 &
8 #picom --experimental-backends
9 dunst &
10 #mako &
11 #wal -R &
i'm use qtile-wayland
from qtile-extras.
Hmm. Can't recreate that at all. Can you try removing and reinstalling qtile-extras?
Will need to pick this up again tomorrow. It's getting late here.
from qtile-extras.
Hmm. Can't recreate that at all. Can you try removing and reinstalling qtile-extras?
Will need to pick this up again tomorrow. It's getting late here.
ok. in qtile X-11 extrawiget.StatusNotifier give me this error
2021-12-06 19:04:22,760 ERROR libqtile loop.py:_handle_exception():L64 invalid object path:
org.kde.StatusNotifierItem-21233-2
6 Traceback (most recent call last):
7 File "/usr/lib/python3.9/asyncio/events.py", line 80, in _run
8 self._context.run(self._callback, *self._args)
9 File "/usr/local/lib/python3.9/dist-packages/libqtile/widget/statusnotifier.py", line 501, in item_added
10 success = future.result()
11 File "/usr/local/lib/python3.9/dist-packages/libqtile/widget/statusnotifier.py", line 100, in start
12 introspection = await self.bus.introspect(
13 File "/home/cr1ogen/.local/lib/python3.9/site-packages/dbus_next/aio/message_bus.py", line 214, in
introspect
14 super().introspect(bus_name, path, reply_handler)
15 File "/home/cr1ogen/.local/lib/python3.9/site-packages/dbus_next/message_bus.py", line 204, in
introspect
16 Message(destination=bus_name,
17 File "/home/cr1ogen/.local/lib/python3.9/site-packages/dbus_next/message.py", line 92, in init
18 assert_object_path_valid(self.path)
19 File "/home/cr1ogen/.local/lib/python3.9/site-packages/dbus_next/validators.py", line 153, in
assert_object_path_valid
20 raise InvalidObjectPathError(path)
21 dbus_next.errors.InvalidObjectPathError: invalid object path: org.kde.StatusNotifierItem-21233-2
from qtile-extras.
Hmm. Can't recreate that at all. Can you try removing and reinstalling qtile-extras?
Will need to pick this up again tomorrow. It's getting late here.
ok I'll do it. Good rest
from qtile-extras.
Removing cloning and reinstalling qtile-extras and the recursion error persist.
The installation of qtile-extras did not give me any error.
I don't know if it will be relevant but the qtile
check command gives me this error
checking qtile config file /home/cr1ogen/.config/qtile/config.py
/tmp/tmpi10tltqv/config.py:31: error: Skipping analyzing "qtile_extras": found module but no type hints or library stubs
/tmp/tmpi10tltqv/config.py:31: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
Found 1 error in 1 file (checked 1 source file)
config file type checking failed: Command '['mypy', '--python-version=3.8', '/tmp/tmpi10tltqv/config.py']' returned non-zero exit status 1.
My line 31 in config.py is this
from qtile_extras import widget as extrawidgets
from qtile-extras.
You can ignore the mypy error.
It also looks like something is trying to create an icon and the code isn't working.
Can you disable your startup script and then run the lines one by one (checking the log each time) to see which one is trying to createt the icon. You can run tail -f ~/.local/share/qtile/qtile.log
in a window to view the log live.
from qtile-extras.
You can ignore the mypy error.
It also looks like something is trying to create an icon and the code isn't working.
Can you disable your startup script and then run the lines one by one (checking the log each time) to see which one is trying to createt the icon. You can run
tail -f ~/.local/share/qtile/qtile.log
in a window to view the log live.
Now I'm at work, when I get home in a few hours I'll try to do what he tells me
from qtile-extras.
You can ignore the mypy error.
It also looks like something is trying to create an icon and the code isn't working.
Can you disable your startup script and then run the lines one by one (checking the log each time) to see which one is trying to createt the icon. You can run
tail -f ~/.local/share/qtile/qtile.log
in a window to view the log live.
Hi. I disable my startup script and i run the line one by one and the line that gave me the recursion problem is this
wlr-randr --output DP-2 --scale 2 &
from qtile-extras.
Oh Thanks a pleasure to be able to help. I'm going to update Qtile to test the issue with ~ /
from qtile-extras.
Found the error with StatusNotifier. It's actually a bug in the main widget. Will submit a fix for it.
Thanks for your help, would have taken a long time to work that one out without you!
No please, it was my pleasure to help
from qtile-extras.
Related Issues (20)
- PulseVolumeExtra error HOT 8
- wrong install instruction HOT 1
- `GithubNotifications` errors when not connected to internet HOT 3
- Add support for pango markup to `PopupText`
- Colors of the text in the popup of the bluetooth widget not changing HOT 6
- Bar on a second monitor not working if reusing the same list of widgets HOT 13
- Popup size HOT 1
- After an update to 0.25.0 lazy calls stopped working in custom popup windows HOT 4
- Global Menu dynamic menu width HOT 1
- Interactive network widget with NetworkManager HOT 1
- Trouble keeping popups above other windows HOT 2
- Window border decorations crashing on Wayland
- Tooltips not working when added to wallpaper widget HOT 4
- Import Error: StatusNotifier HOT 6
- the ALSAWidget bar keeps showing after hide_interval time HOT 1
- RectDecorations problem HOT 5
- GlobalMenu spams dbus error to qtile logs HOT 3
- StatusNotifier in bar causing widget overlap HOT 23
- StatusNotifier Widget Exception on Shutdown HOT 2
- [enhancement] adding popup toolkit config to the doc HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qtile-extras.