Package: pychess
Version: 1.0.0-1.1
Severity: important

Dear Maintainer,

I launch Pychess, select the 'Puzzles' category on the Welcome screen and press
'Start learning'. I am then taken to the learn tab but there's no chess board.
Double-clicking on a puzzle listed in the sidebar does nothing except for
printing an error message on the console:

```
Traceback (most recent call last):
  File "/usr/lib/python3/dist-
packages/pychess/perspectives/learn/PuzzlesPanel.py", line 115, in
row_activated
    start_puzzle_from(filename)
  File "/usr/lib/python3/dist-
packages/pychess/perspectives/learn/PuzzlesPanel.py", line 143, in
start_puzzle_from
    start_puzzle_game(gamemodel, filename, records, index, rec)
  File "/usr/lib/python3/dist-
packages/pychess/perspectives/learn/PuzzlesPanel.py", line 158, in
start_puzzle_game
    engine_name = discoverer.getName(engine)
  File "/usr/lib/python3/dist-packages/pychess/Players/engineNest.py", line
437, in getName
    return engine["name"]
TypeError: 'NoneType' object is not subscriptable
```

-- System Information:
Debian Release: 11.0
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-6-amd64 (SMP w/2 CPU threads)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages pychess depends on:
ii  gaviotatb                    0.4-2.1
ii  gir1.2-gdkpixbuf-2.0         2.42.2+dfsg-1
ii  gir1.2-glib-2.0              1.66.1-1+b1
ii  gir1.2-gst-plugins-base-1.0  1.18.4-2
ii  gir1.2-gstreamer-1.0         1.18.4-2
ii  gir1.2-gtk-3.0               3.24.24-3
ii  gir1.2-gtksource-3.0         3.24.11-2
ii  gir1.2-pango-1.0             1.48.2-1
ii  gir1.2-rsvg-2.0              2.50.3+dfsg-1
ii  gnome-icon-theme             3.12.0-3
ii  gobject-introspection        1.66.1-1+b1
ii  libgaviotatb1                0.4-2.1
ii  python3                      3.9.2-3
ii  python3-cairo                1.16.2-4+b2
ii  python3-gi                   3.38.0-2
ii  python3-gi-cairo             3.38.0-2
ii  python3-websockets           8.1-1

pychess recommends no packages.

pychess suggests no packages.

Reply via email to