Package: pychess
Version: 1.0.5-0.1
Severity: normal
X-Debbugs-Cc: [email protected]

Dear Maintainer,

After installing Pychess and clicking the 'Start game' button, there is no
apparent result within the app. By choosing 'New game' from the 'Game' menu,
Pychess just returns to the main window.

By launching from the command line, there's no error message when I try to
start the game, but when I exit, I get this:

$ pychess

(pychess:141785): Gtk-WARNING **: 13:40:15.548: Can't set a parent on widget
which has a parent
Downloading https://api.github.com/repos/pychess/pychess/releases/latest ...
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/pychess/widgets/gamewidget.py", line
409, in game_ended
    self._update_menu_undo()
    ~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3/dist-packages/pychess/widgets/gamewidget.py", line
311, in _update_menu_undo
    if self.gamemodel.isObservationGame():
       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3/dist-packages/pychess/Utils/GameModel.py", line 541,
in isObservationGame
    return not self.hasLocalPlayer()
               ~~~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3/dist-packages/pychess/Utils/GameModel.py", line 520,
in hasLocalPlayer
    if self.players[0].__type__ == LOCAL or self.players[1].__type__ == LOCAL:
       ~~~~~~~~~~~~^^^
IndexError: list index out of range


If I try to start more than once, this traceback is repeated.

Other features of Pychess that I have tried, seem to be working. Checking, or
leaving unchecked, the settings 'database querying needs scoutfish' and
'database opening tree needs chess_db' do not have an effect. 'ICC lag
compensation needs timestamp', when checked, produces another error message in
the traceback, but doesn't seem to have any other effect. That's apparently a
known issue upstream and that option is dropped in Pychess 1.1.0.

I also tried installing Pychess 1.1.0, downloaded from
https://github.com/pychess/pychess/releases, and had the same results.

Between installation attempts, I had removed the directories,
~/.cache/pychess/, ~/.config/pychess/, and ~/.local/share/pychess/, to make
sure it was a clean install.


-- System Information:
Debian Release: forky/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.19.8+deb14-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
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.2
ii  gir1.2-gdkpixbuf-2.0         2.44.5+dfsg-4
ii  gir1.2-glib-2.0              2.88.0-1
ii  gir1.2-gst-plugins-base-1.0  1.28.1-1
ii  gir1.2-gstreamer-1.0         1.28.1-1
ii  gir1.2-gtk-3.0               3.24.51-4
ii  gir1.2-gtksource-3.0         3.24.11-7
ii  gir1.2-pango-1.0             1.57.0-1
ii  gir1.2-rsvg-2.0              2.61.3+dfsg-3+b1
ii  gnome-icon-theme             3.12.0-7
ii  gobject-introspection        1.86.0-6
ii  libgaviotatb1                0.4-2.2
ii  python3                      3.13.9-3
ii  python3-cairo                1.27.0-2+b1
ii  python3-gi                   3.56.1-2
ii  python3-gi-cairo             3.56.1-2
ii  python3-pexpect              4.9-4
ii  python3-psutil               7.1.0-1
ii  python3-sqlalchemy           2.0.45+ds1-1
ii  python3-websockets           15.0.1-1+b1

pychess recommends no packages.

pychess suggests no packages.

-- no debconf information

Reply via email to