[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#877757: awesome: NPE in keyboardlayout (`attempt to concatenate a nil value (field '?')`)



Package: awesome
Version: 4.2-1
Severity: normal
Tags: upstream fixed-upstream
Forwarded: https://github.com/awesomeWM/awesome/issues/1933

Dear Debian folks,


Upgrading from awesome 4.0 to 4.2, pressing the modifier key for the
Neo layout, the error below is shown in a red notification box.

```
/usr/share/awesome/lib/awful/widget/keyboardlayout.lua:123: attempt to concatenate a nil value (field '?')
```

You can reproduce it, by loading the Neo layout with the commands
below.

```
$ setxkbmap lv
$ xmodmap neo_de.xmodmap
```

Then pressing the modifier for the third layer, for example, QWERTY
caps lock, should trigger the error.

This was report upstream as issue #1933 [1], and is fixed by commit
acc01235 (Make keyboardlayout widget more robust (#1941)) [2].

Upstream told me, that this issue should have been present in awesome
4.0 already, but no keyboard “indicator” was shown with awesome 4.0 on
my system.


Thanks,

Paul


[1] https://github.com/awesomeWM/awesome/issues/1933
    "NPE in keyboardlayout #1933"
[2] https://github.com/awesomeWM/awesome/commit/acc012353d03ad2c1e0783e19fe5f1f1c6a4c798
    "Make keyboardlayout widget more robust (#1941)"

-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 4.13.0-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages awesome depends on:
ii  dbus-x11                  1.11.20-1
ii  gir1.2-freedesktop        1.54.1-1
ii  gir1.2-pango-1.0          1.40.12-1
ii  libc6                     2.24-17
ii  libcairo2                 1.14.10-1
ii  libdbus-1-3               1.11.20-1
ii  libgdk-pixbuf2.0-0        2.36.11-1
it  libglib2.0-0              2.54.1-1
ii  liblua5.1-0               5.1.5-8.1+b2
ii  libstartup-notification0  0.12-4+b2
ii  libx11-6                  2:1.6.4-3
ii  libxcb-cursor0            0.1.1-4
ii  libxcb-icccm4             0.4.1-1+b1
ii  libxcb-keysyms1           0.4.0-1+b2
ii  libxcb-randr0             1.12-1
ii  libxcb-render0            1.12-1
ii  libxcb-shape0             1.12-1
ii  libxcb-util0              0.3.8-3+b2
ii  libxcb-xinerama0          1.12-1
ii  libxcb-xkb1               1.12-1
ii  libxcb-xrm0               1.0-2
ii  libxcb-xtest0             1.12-1
ii  libxcb1                   1.12-1
ii  libxdg-basedir1           1.2.0-1
ii  libxkbcommon-x11-0        0.7.1-2
ii  libxkbcommon0             0.7.1-2
ii  lua-lgi                   0.9.1-1
ii  menu                      2.1.47+b1

Versions of packages awesome recommends:
ii  feh                2.20-1
ii  rlwrap             0.42-3
ii  x11-xserver-utils  7.7+7+b1

awesome suggests no packages.

-- no debconf information

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: