[Debichem-devel] Bug#1015822: bkchem: "File properties" raising an exception

Olivier oc-spam65 at laposte.net
Thu Jul 21 21:10:58 BST 2022


Package: bkchem
Version: 0.14.0~pre4+git20211228-1
Severity: normal
X-Debbugs-Cc: oc-spam65 at laposte.net

Dear Maintainer,

In bkchem, when I do "File > File properties", an error is raised and the "File properties" window cannot be closed and is not taken into account. The exception message is:

"""
Error: 1
RuntimeError Exception in Tk callback
  Function: <bound method BKChem.change_properties of <main.BKChem object .>> (type: <class 'method'>)
  Args: ()
Traceback (innermost last):
  File "/usr/share/bkchem/bkchem/Pmw.py", line 1872, in __call__
    return self.func(*args)
  File "/usr/share/bkchem/bkchem/main.py", line 1100, in change_properties
    dial = dialogs.file_properties_dialog( self, self.paper)
  File "/usr/share/bkchem/bkchem/dialogs.py", line 533, in __init__
    self.draw()
  File "/usr/share/bkchem/bkchem/dialogs.py", line 586, in draw
    self.margin_entry = Pmw.Counter( crop_frame,
  File "/usr/share/bkchem/bkchem/Pmw.py", line 9036, in __init__
    self._counterEntry = self.createcomponent('entryfield',
  File "/usr/share/bkchem/bkchem/Pmw.py", line 552, in createcomponent
    for option in keywords.keys():
RuntimeError: dictionary keys changed during iteration
"""

Olivier

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.18.0-2-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages bkchem depends on:
ii  python3      3.10.4-1+b1
ii  python3-pil  9.0.1-1

bkchem recommends no packages.

Versions of packages bkchem suggests:
ii  python3-cairo  1.20.1-3

-- no debconf information



More information about the Debichem-devel mailing list