System update reconfigured Qtile

Just updated my system, and after rebooting whenever I login I get the Qtile bar at the bottom of the screen (was at the top), but what looks like the login manager doesn’t go away until I use to spawn a program. My default Garuda wallpaper doesn’t show up, and the login won’t disappear until I spawn a terminal. While I can see the workspaces numbered, they aren’t sorted by the Greek letters (it’s all Arabic numerals as usual) any longer. As a result, I can’t click on the Garuda logo on the bar to launch jgmenu either. I did install litecli-git from the AUR after doing the system update (and before rebooting). I don’t THINK that should’ve caused this, but just including it for full disclosure. I can boot into an old snapshot, and everything works like normal. I’m just trying to figure out what/how everything got messed up. There was a snapshot mentioning some things about adwaita (not sure why since I’m not running Gnome), but I did not explicitly upgrade that and build a snapshot. So that was must’ve been done by the system upgrade.

System:
  Kernel: 6.9.2-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 14.1.1
    clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=c70eb515-37ec-4022-a15b-471e53b86e63 rw rootflags=subvol=@
    quiet resume=UUID=d1fd6920-972d-40c8-90de-eb9e5b5e7602 loglevel=3
    amdgpu.ppfeaturemask=0xffffffff ibt=off
  Desktop: Qtile v: 0.26.1.dev0+ge4b4bb8b.d20240523 tools:
    avail: i3lock,lxlock,xautolock vt: 2 dm: SDDM Distro: Garuda
    base: Arch Linux
Machine:
  Type: Desktop Mobo: ASRock model: B650E PG Riptide WiFi
    serial: <superuser required> uuid: <superuser required> UEFI: American
    Megatrends LLC. v: 1.30.AS02 date: 09/28/2023
CPU:
  Info: model: AMD Ryzen 7 7800X3D bits: 64 type: MT MCP arch: Zen 4 gen: 5
    level: v4 note: check built: 2022+ process: TSMC n5 (5nm) family: 0x19 (25)
    model-id: 0x61 (97) stepping: 2 microcode: 0xA601203
  Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
    L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 8 MiB desc: 8x1024 KiB
    L3: 96 MiB desc: 1x96 MiB
  Speed (MHz): avg: 1342 high: 4836 min/max: 400/5050 scaling:
    driver: amd-pstate-epp governor: powersave cores: 1: 400 2: 400 3: 4836
    4: 4831 5: 400 6: 3302 7: 400 8: 400 9: 400 10: 3704 11: 400 12: 400
    13: 400 14: 400 15: 400 16: 400 bogomips: 134147
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities: <filter>
Graphics:
  Device-1: AMD Navi 31 [Radeon RX 7900 XT/7900 XTX/7900M]
    vendor: Sapphire PULSE driver: amdgpu v: kernel arch: RDNA-3 code: Navi-3x
    process: TSMC n5 (5nm) built: 2022+ pcie: gen: 4 speed: 16 GT/s lanes: 16
    ports: active: DP-1 empty: DP-2, HDMI-A-1, HDMI-A-2, Writeback-1
    bus-ID: 03:00.0 chip-ID: 1002:744c class-ID: 0300
  Device-2: AMD Raphael driver: amdgpu v: kernel arch: RDNA-2 code: Navi-2x
    process: TSMC n7 (7nm) built: 2020-22 pcie: gen: 4 speed: 16 GT/s lanes: 16
    ports: active: none empty: DP-3, DP-4, DP-5, HDMI-A-3, Writeback-2
    bus-ID: 11:00.0 chip-ID: 1002:164e class-ID: 0300 temp: 32.0 C
  Display: x11 server: X.Org v: 21.1.13 compositor: Qtile
    v: 0.26.1.dev0+ge4b4bb8b.d20240523 driver: X: loaded: amdgpu
    unloaded: modesetting,radeon alternate: fbdev,vesa dri: radeonsi
    gpu: amdgpu display-ID: :0 screens: 1
  Screen-1: 0 s-res: 3840x2160 s-dpi: 96 s-size: 1016x571mm (40.00x22.48")
    s-diag: 1165mm (45.88")
  Monitor-1: DP-1 mapped: DisplayPort-0 model: Acer XV273K serial: <filter>
    built: 2021 res: 3840x2160 hz: 120 dpi: 163 gamma: 1.2
    size: 597x336mm (23.5x13.23") diag: 685mm (27") ratio: 16:9 modes:
    max: 3840x2160 min: 640x480
  API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi
    device: 1 drv: radeonsi device: 2 drv: swrast gbm: drv: kms_swrast
    surfaceless: drv: radeonsi x11: drv: radeonsi inactive: wayland
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 24.1.0-arch1.1
    glx-v: 1.4 direct-render: yes renderer: AMD Radeon RX 7900 XTX (radeonsi
    navi31 LLVM 17.0.6 DRM 3.57 6.9.2-zen1-1-zen) device-ID: 1002:744c
    memory: 23.44 GiB unified: no
  API: Vulkan v: 1.3.279 layers: 11 device: 0 type: discrete-gpu name: AMD
    Radeon RX 7900 XTX (RADV NAVI31) driver: mesa radv v: 24.1.0-arch1.1
    device-ID: 1002:744c surfaces: xcb,xlib device: 1 type: integrated-gpu
    name: AMD Radeon Graphics (RADV RAPHAEL_MENDOCINO) driver: mesa radv
    v: 24.1.0-arch1.1 device-ID: 1002:164e surfaces: xcb,xlib device: 2
    type: cpu name: llvmpipe (LLVM 17.0.6 256 bits) driver: mesa llvmpipe
    v: 24.1.0-arch1.1 (LLVM 17.0.6) device-ID: 10005:0000 surfaces: xcb,xlib
Audio:
  Device-1: AMD Navi 31 HDMI/DP Audio driver: snd_hda_intel v: kernel pcie:
    gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 03:00.1 chip-ID: 1002:ab30
    class-ID: 0403
  Device-2: AMD Rembrandt Radeon High Definition Audio driver: snd_hda_intel
    v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 11:00.1
    chip-ID: 1002:1640 class-ID: 0403
  Device-3: AMD Family 17h/19h HD Audio vendor: ASRock driver: snd_hda_intel
    v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 11:00.6
    chip-ID: 1022:15e3 class-ID: 0403
  Device-4: FiiO K3 driver: snd-usb-audio type: USB rev: 2.0 speed: 480 Mb/s
    lanes: 1 mode: 2.0 bus-ID: 3-2:2 chip-ID: 2972:0047 class-ID: fe01
  API: ALSA v: k6.9.2-zen1-1-zen status: kernel-api
    tools: alsactl,alsamixer,amixer
  Server-1: PipeWire v: 1.0.7 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: MEDIATEK MT7921K Wi-Fi 6E 80MHz driver: mt7921e v: kernel pcie:
    gen: 2 speed: 5 GT/s lanes: 1 bus-ID: 0c:00.0 chip-ID: 14c3:0608
    class-ID: 0280
  IF: wlp12s0 state: up mac: <filter>
  Device-2: Realtek Killer E3000 2.5GbE vendor: ASRock driver: r8169
    v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1 port: c000 bus-ID: 0d:00.0
    chip-ID: 10ec:3000 class-ID: 0200
  IF: enp13s0 state: down mac: <filter>
  Info: services: NetworkManager, systemd-timesyncd, wpa_supplicant
Bluetooth:
  Device-1: MediaTek Wireless_Device driver: btusb v: 0.8 type: USB rev: 2.1
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-5:3 chip-ID: 0e8d:0608
    class-ID: e001 serial: <filter>
  Report: btmgmt ID: hci0 rfk-id: 0 state: down bt-service: enabled,running
    rfk-block: hardware: no software: yes address: <filter> bt-v: 5.2 lmp-v: 11
    status: discoverable: no pairing: no
Drives:
  Local Storage: total: 1.86 TiB used: 803.85 GiB (42.1%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: solidgm model: SSDPFKKW020X7
    size: 1.86 TiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s
    lanes: 4 tech: SSD serial: <filter> fw-rev: 001C temp: 39.9 C scheme: GPT
Partition:
  ID-1: / raw-size: 1.83 TiB size: 1.83 TiB (100.00%) used: 803.85 GiB (42.9%)
    fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 584 KiB (0.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
  ID-3: /home raw-size: 1.83 TiB size: 1.83 TiB (100.00%)
    used: 803.85 GiB (42.9%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-4: /var/log raw-size: 1.83 TiB size: 1.83 TiB (100.00%)
    used: 803.85 GiB (42.9%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-5: /var/tmp raw-size: 1.83 TiB size: 1.83 TiB (100.00%)
    used: 803.85 GiB (42.9%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
  ID-1: swap-1 type: zram size: 30.47 GiB used: 0 KiB (0.0%) priority: 100
    comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 16 dev: /dev/zram0
  ID-2: swap-2 type: partition size: 33.52 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/nvme0n1p3 maj-min: 259:3
Sensors:
  System Temperatures: cpu: 39.5 C mobo: 32.0 C
  Fan Speeds (rpm): N/A
  GPU: device: amdgpu temp: 45.0 C mem: 50.0 C fan: 2 watts: 24.00
    device: amdgpu temp: 32.0 C
Info:
  Memory: total: 32 GiB note: est. available: 30.47 GiB used: 2.65 GiB (8.7%)
  Processes: 305 Power: uptime: 10m states: freeze,mem,disk suspend: deep
    avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
    suspend, test_resume image: 12.18 GiB Init: systemd v: 255
    default: graphical tool: systemctl
  Packages: pm: pacman pkgs: 1441 libs: 444 tools: paru pm: flatpak pkgs: 0
    Compilers: clang: 17.0.6 gcc: 14.1.1 Shell: garuda-inxi default: Bash
    v: 5.2.26 running-in: kitty inxi: 3.3.34
Garuda (2.6.26-1):
  System install date:     2023-11-22
  Last full system update: 2024-05-30
  Is partially upgraded:   No
  Relevant software:       snapper NetworkManager dracut
  Windows dual boot:       No/Undetected
  Failed units:            

Hi, I am having the exact same issue. Black background, bar at bottom that says “default config” and some numbers for desktops. I don’t have the login window. Still scratching my head on how to fix. I’m sticking to rolling back the snapshot, but I have a lot of packages on the update and don’t know how to narrow down what the cause is.

Maybe @RohitSingh can help?

Hello,

I was away for 2 weeks on vacation and had hoped that it might be an upstream issue. However, when updating, I continue to find the same error. When I log in the screen is black and has a bar on the bottom with the workspaces, “default-config”, " press to spawn" (this does nothing and I cannot figure out how to spawn terminal), and a shutdown button which logs me out.

Has anyone found a solution or has a recommendation? I am going to roll back and post my system info shortly. There weren’t any errors when I ran garuda-update

UPDATE: tried following the advice here and now rolling back doesnt even help. Qtile is broken after the last update - #2 by Hrle

garuda-inxi

System:
  Kernel: 6.9.1-zen1-2-zen arch: x86_64 bits: 64 compiler: gcc v: 14.1.1
    clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=07673fcd-7381-4a95-904f-ae4a01aa632b rw rootflags=subvol=@
    rd.udev.log_priority=3 vt.global_cursor_default=0 loglevel=3 ibt=off
  Desktop: Qtile v: 0.25.1.dev0+g005da458.d20240413 with: jgmenu tools:
    avail: i3lock,lxlock,xautolock vt: 2 dm: SDDM Distro: Garuda
    base: Arch Linux
Machine:
  Type: Desktop Mobo: Gigabyte model: B550 AORUS ELITE AX V2 v: x.x
    serial: <superuser required> uuid: <superuser required> UEFI: American
    Megatrends LLC. v: FD date: 06/08/2023
CPU:
  Info: model: AMD Ryzen 9 5900X bits: 64 type: MT MCP arch: Zen 3+ gen: 4
    level: v3 note: check built: 2022 process: TSMC n6 (7nm) family: 0x19 (25)
    model-id: 0x21 (33) stepping: 2 microcode: 0xA20120A
  Topology: cpus: 1x cores: 12 tpc: 2 threads: 24 smt: enabled cache:
    L1: 768 KiB desc: d-12x32 KiB; i-12x32 KiB L2: 6 MiB desc: 12x512 KiB
    L3: 64 MiB desc: 2x32 MiB
  Speed (MHz): avg: 2290 high: 3700 min/max: 2200/4950 boost: enabled
    scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 3700 2: 2874
    3: 2200 4: 2200 5: 2200 6: 2200 7: 2200 8: 2200 9: 2200 10: 2200 11: 2200
    12: 2200 13: 2200 14: 2200 15: 2200 16: 2200 17: 2200 18: 2200 19: 2200
    20: 2200 21: 2200 22: 2200 23: 2195 24: 2200 bogomips: 177254
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3
  Vulnerabilities: <filter>
Graphics:
  Device-1: AMD Navi 22 [Radeon RX 6700/6700 XT/6750 XT / 6800M/6850M XT]
    vendor: ASRock driver: amdgpu v: kernel arch: RDNA-2 code: Navi-2x
    process: TSMC n7 (7nm) built: 2020-22 pcie: gen: 4 speed: 16 GT/s
    lanes: 16 ports: active: DP-1,DP-2 empty: DP-3,HDMI-A-1,Writeback-1
    bus-ID: 06:00.0 chip-ID: 1002:73df class-ID: 0300
  Display: x11 server: X.Org v: 21.1.13 with: Xwayland v: 24.1.0
    compositors: 1: Picom v: git-c4107 2: Qtile
    v: 0.25.1.dev0+g005da458.d20240413 driver: X: loaded: amdgpu
    unloaded: modesetting,radeon alternate: fbdev,vesa dri: radeonsi
    gpu: amdgpu display-ID: :0 screens: 1
  Screen-1: 0 s-res: 4480x1440 s-dpi: 96 s-size: 1185x381mm (46.65x15.00")
    s-diag: 1245mm (49.01")
  Monitor-1: DP-1 mapped: DisplayPort-0 pos: primary,right
    model: AOC Q27G1WG4 serial: <filter> built: 2020 res: 2560x1440 hz: 60
    dpi: 109 gamma: 1.2 size: 597x336mm (23.5x13.23") diag: 685mm (27")
    ratio: 16:9 modes: max: 2560x1440 min: 720x400
  Monitor-2: DP-2 mapped: DisplayPort-1 pos: left model: Dell U2312HM
    serial: <filter> built: 2012 res: 1920x1080 hz: 60 dpi: 96 gamma: 1.2
    size: 510x287mm (20.08x11.3") diag: 585mm (23") ratio: 16:9 modes:
    max: 1920x1080 min: 720x400
  API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi
    device: 1 drv: swrast surfaceless: drv: radeonsi x11: drv: radeonsi
    inactive: gbm,wayland
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 24.0.8-arch1.1
    glx-v: 1.4 direct-render: yes renderer: AMD Radeon RX 6700 XT (radeonsi
    navi22 LLVM 17.0.6 DRM 3.57 6.9.1-zen1-2-zen) device-ID: 1002:73df
    memory: 11.72 GiB unified: no
  API: Vulkan v: 1.3.279 layers: 8 device: 0 type: discrete-gpu name: AMD
    Radeon RX 6700 XT (RADV NAVI22) driver: mesa radv v: 24.0.8-arch1.1
    device-ID: 1002:73df surfaces: xcb,xlib device: 1 type: cpu name: llvmpipe
    (LLVM 17.0.6 256 bits) driver: mesa llvmpipe v: 24.0.8-arch1.1 (LLVM
    17.0.6) device-ID: 10005:0000 surfaces: xcb,xlib
Audio:
  Device-1: AMD Navi 21/23 HDMI/DP Audio driver: snd_hda_intel v: kernel pcie:
    gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 06:00.1 chip-ID: 1002:ab28
    class-ID: 0403
  Device-2: AMD Starship/Matisse HD Audio vendor: Gigabyte
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: 0a:00.4 chip-ID: 1022:1487 class-ID: 0403
  Device-3: Logitech G733 Gaming Headset
    driver: hid-generic,snd-usb-audio,usbhid type: USB rev: 1.1 speed: 12 Mb/s
    lanes: 1 mode: 1.1 bus-ID: 3-4:3 chip-ID: 046d:0ab5 class-ID: 0300
  API: ALSA v: k6.9.1-zen1-2-zen status: kernel-api
    tools: alsactl,alsamixer,amixer
  Server-1: sndiod v: N/A status: off tools: aucat,midicat,sndioctl
  Server-2: PipeWire v: 1.0.7 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Realtek RTL8125 2.5GbE vendor: Gigabyte driver: r8169 v: kernel
    pcie: gen: 2 speed: 5 GT/s lanes: 1 port: e000 bus-ID: 07:00.0
    chip-ID: 10ec:8125 class-ID: 0200
  IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter>
  Device-2: Realtek RTL8852CE PCIe 802.11ax Wireless Network
    driver: rtw89_8852ce v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1
    port: d000 bus-ID: 08:00.0 chip-ID: 10ec:c852 class-ID: 0280
  IF: wlp8s0 state: down mac: <filter>
  Info: services: NetworkManager, systemd-timesyncd, wpa_supplicant
Bluetooth:
  Device-1: Realtek Bluetooth Radio driver: btusb v: 0.8 type: USB rev: 1.0
    speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-5:2 chip-ID: 0bda:0852
    class-ID: e001 serial: <filter>
  Report: btmgmt ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 5.3
    lmp-v: 12 status: discoverable: no pairing: no class-ID: 6c0104
Drives:
  Local Storage: total: 2.73 TiB used: 1.2 TiB (43.8%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Western Digital
    model: WDS100T3X0C-00SJG0 size: 931.51 GiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 tech: SSD serial: <filter>
    fw-rev: 111110WD temp: 36.9 C scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 vendor: Seagate model: ST2000DM008-2FR102
    size: 1.82 TiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
    tech: HDD rpm: 7200 serial: <filter> fw-rev: 0001 scheme: GPT
Partition:
  ID-1: / raw-size: 931.22 GiB size: 931.22 GiB (100.00%)
    used: 93.35 GiB (10.0%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 584 KiB (0.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
  ID-3: /home raw-size: 931.22 GiB size: 931.22 GiB (100.00%)
    used: 93.35 GiB (10.0%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-4: /var/log raw-size: 931.22 GiB size: 931.22 GiB (100.00%)
    used: 93.35 GiB (10.0%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-5: /var/tmp raw-size: 931.22 GiB size: 931.22 GiB (100.00%)
    used: 93.35 GiB (10.0%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
  ID-1: swap-1 type: zram size: 31.26 GiB used: 0 KiB (0.0%) priority: 100
    comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 24 dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 45.4 C mobo: 29.0 C gpu: amdgpu temp: 40.0 C
    mem: 40.0 C
  Fan Speeds (rpm): N/A gpu: amdgpu fan: 0
Info:
  Memory: total: 32 GiB available: 31.26 GiB used: 3.29 GiB (10.5%)
  Processes: 440 Power: uptime: 2m states: freeze,mem,disk suspend: deep
    avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
    suspend, test_resume image: 12.48 GiB Init: systemd v: 255
    default: graphical tool: systemctl
  Packages: pm: pacman pkgs: 1398 libs: 458 tools: pamac,paru Compilers:
    gcc: 14.1.1 Shell: garuda-inxi default: Bash v: 5.2.26 running-in: alacritty
    inxi: 3.3.34
Garuda (2.6.26-1):
  System install date:     2023-05-24
  Last full system update: 2024-05-25
  Is partially upgraded:   No
  Relevant software:       snapper NetworkManager dracut
  Windows dual boot:       No/Undetected
  Failed units:

Still haven’t figured out what’s going on. I have run the following:

qtile check

Checking Qtile config at: /home/jen/.config/qtile/config.py
Checking if config is valid python...
Type checking config file...
Success: no issues found in 1 module
/tmp/tmpe0sjpfb4/config.py:254: error: Incompatible types in assignment (expression has type "Group", variable has type "int")  [assignment]
/tmp/tmpe0sjpfb4/config.py:258: error: "int" has no attribute "name"  [attr-defined]
/tmp/tmpe0sjpfb4/config.py:267: error: "int" has no attribute "name"  [attr-defined]
/tmp/tmpe0sjpfb4/config.py:549: error: Need type annotation for "dgroups_app_rules" (hint: "dgroups_app_rules: list[<type>] = ...")  [var-annotated]
Found 4 errors in 1 file (checked 1 source file)
Config file type checking failed: Command '['mypy', '/tmp/tmpe0sjpfb4/config.py']' returned non-zero exit status 1.
Your config is valid python but has type checking errors. This may result in unexpected behaviour.

Here is a section from my logs in ~/.local/share/qtile. This logged right after I updated and was experiencing issues:

2024-06-15 11:48:00,960 ERROR libqtile manager.py:load_config():L116 Configuration error:
Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/libqtile/core/manager.py", line 113, in load_config
    self.config.load()
  File "/usr/lib/python3.12/site-packages/libqtile/confreader.py", line 134, in load
    config = importlib.import_module(name)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 995, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/home/jen/.config/qtile/config.py", line 32, in <module>
    from libqtile.command import lazy
ImportError: cannot import name 'lazy' from 'libqtile.command' (/usr/lib/python3.12/site-packages/libqtile/command/__init__.py)
2024-06-15 11:48:00,961 WARNING libqtile utils.py:send_notification():L297 dbus-next is not installed. Unable to send notifications.
2024-06-15 11:48:08,198 WARNING libqtile lifecycle.py:_atexit():L37 Qtile will now terminate
2024-06-15 11:48:13,226 ERROR libqtile manager.py:load_config():L116 Configuration error:
Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/libqtile/core/manager.py", line 113, in load_config
    self.config.load()
  File "/usr/lib/python3.12/site-packages/libqtile/confreader.py", line 134, in load
    config = importlib.import_module(name)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 995, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/home/jen/.config/qtile/config.py", line 32, in <module>
    from libqtile.command import lazy
ImportError: cannot import name 'lazy' from 'libqtile.command' (/usr/lib/python3.12/site-packages/libqtile/command/__init__.py)
2024-06-15 11:48:13,227 WARNING libqtile utils.py:send_notification():L297 dbus-next is not installed. Unable to send notifications.
2024-06-15 11:48:18,629 WARNING libqtile lifecycle.py:_atexit():L37 Qtile will now terminate
2024-06-15 11:49:06,851 ERROR libqtile manager.py:load_config():L116 Configuration error:
Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/libqtile/core/manager.py", line 113, in load_config
    self.config.load()
  File "/usr/lib/python3.12/site-packages/libqtile/confreader.py", line 134, in load
    config = importlib.import_module(name)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 995, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/home/jen/.config/qtile/config.py", line 32, in <module>
    from libqtile.command import lazy

It looks like there’s something going on with the python file calls and the qtile config, but unfortunately I don’t understand the system well enough to fix it.

I encountered this after updating my crusty Qtile setup and noticed the discrepancy in ~/.local/share/qtile/qtile.log.
Fixed it by changing
from libqtile.command import lazy
to
from libqtile.lazy import lazy
in ~/.config/qtile/config.py.

It seems at some point, Qtile devs changed how to import lazy objects.
Not too sure what libqtile.command does now but removing it hasn’t had any adverse effect on my system.

Hope this fixes it for you all, and sorry for the late(ish) response :slight_smile:

6 Likes

This fixed it. THANK YOU <3

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.