Package: anki
Version: 2.1.15+dfsg-3
Severity: normal
X-Debbugs-Cc: george.shuk...@gmail.com

Configuration: Gnome3/wayland (Intel GPU).

When run anki and press tools->settings, following trace is captured, and no
settings are displayed.


Anki 2.1.15 (442df9d6) Python 3.11.5 Qt 5.15.10 PyQt 5.15.9
Platform: Linux
Flags: frz=False ao=False sv=2

Caught exception:
  File "/usr/share/anki/aqt/main.py", line 882, in onPrefs
    aqt.dialogs.open("Preferences", self)
  File "/usr/share/anki/aqt/__init__.py", line 82, in open
    instance = creator(*args)
               ^^^^^^^^^^^^^^
  File "/usr/share/anki/aqt/preferences.py", line 25, in __init__
    self.setupCollection()
  File "/usr/share/anki/aqt/preferences.py", line 80, in setupCollection
    f.lrnCutoff.setValue(qc['collapseTime']/60.0)
<class 'TypeError'>: setValue(self, val: int): argument 1 has unexpected type
'float'


-- System Information:
Debian Release: trixie/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 
'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.5.0-1-amd64 (SMP w/20 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.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 anki depends on:
ii  libjs-jquery                3.6.1+dfsg+~3.5.14-1
ii  libjs-jquery-flot           4.2.1+dfsg-6
ii  libjs-jquery-ui             1.13.2+dfsg-1
ii  libjs-mathjax               2.7.9+dfsg-1
ii  libqt5core5a                5.15.10+dfsg-3
ii  python3                     3.11.4-5+b1
ii  python3-bs4                 4.12.2-2
ii  python3-decorator           5.1.1-5
ii  python3-distro              1.8.0-1
ii  python3-distutils           3.11.5-1
ii  python3-jsonschema          4.10.3-2
ii  python3-markdown            3.4.4-1
ii  python3-pyaudio             0.2.13-1+b1
ii  python3-pyqt5               5.15.9+dfsg-2
ii  python3-pyqt5.qtwebchannel  5.15.9+dfsg-2
ii  python3-pyqt5.qtwebengine   5.15.6-1
ii  python3-requests            2.31.0+dfsg-1
ii  python3-send2trash          1.8.2-1

Versions of packages anki recommends:
ii  python3-matplotlib  3.6.3-1+b1

Versions of packages anki suggests:
pn  dvipng  <none>
pn  lame    <none>
ii  mpv     0.36.0-1

-- no debconf information

Reply via email to