#1034089 calibre: TypeError on opening Preferences

#1034089#5
Date:
2023-04-08 14:26:33 UTC
From:
To:
Dear Maintainer,

When I click on "Preferences", an error dialog is displayed, with the following content:

calibre 6.15  embedded-python: False
Linux-6.2.10-1-siduction-amd64-x86_64-with-glibc2.36 Linux ('64bit', 'ELF')
('Linux', '6.2.10-1-siduction-amd64', '#1 SMP PREEMPT_DYNAMIC siduction 6.2-10 (2023-04-06)')
Python 3.11.2
Interface language: en_GB
Successfully initialized third party plugins: Count Pages (1, 11, 2) && Modify ePub (1, 7, 3) && Quality Check (1, 12, 0)
Traceback (most recent call last):
  File "/usr/lib/calibre/calibre/gui2/preferences/main.py", line 308, in show_plugin
    self.showing_widget = plugin.create_widget(self.scroll_area)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/calibre/calibre/customize/__init__.py", line 709, in create_widget
    return widget(parent)
           ^^^^^^^^^^^^^^
  File "/usr/lib/calibre/calibre/gui2/preferences/__init__.py", line 267, in __init__
    self.setupUi(self)
  File "/usr/lib/calibre/calibre/gui2/preferences/saving_ui.py", line 46, in setupUi
    self.save_template = SaveTemplate(parent=Form)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: SaveTemplate.__init__() got an unexpected keyword argument 'parent'

(the Preferences dialog does not open)

#1034089#10
Date:
2023-04-09 07:04:38 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
calibre, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1034089@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
YOKOTA Hiroshi <yokota.hgml@gmail.com> (supplier of updated calibre package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sun, 09 Apr 2023 15:38:56 +0900
Source: calibre
Architecture: source
Version: 6.15.1-4
Distribution: unstable
Urgency: medium
Maintainer: Calibre maintainer team <team+calibre@tracker.debian.org>
Changed-By: YOKOTA Hiroshi <yokota.hgml@gmail.com>
Closes: 1034089
Changes:
 calibre (6.15.1-4) unstable; urgency=medium
 .
   * TypeError on opening Preferences (Closes: #1034089)
   * Reorder patches
   * Renumber patches
Checksums-Sha1:
 1a0c0aa3d6efaa2693a663977f70b785a12247f1 3632 calibre_6.15.1-4.dsc
 f8f9644fe98d881f637026b47a67e011740a0034 47716 calibre_6.15.1-4.debian.tar.xz
 13f02df32ac2a2a3af54ba7966ba48763c4f5d30 18161 calibre_6.15.1-4_source.buildinfo
Checksums-Sha256:
 f3eec003194a96360e5d678f40e664071ecc26453cf2eacc2ef03e8ab5f6b537 3632 calibre_6.15.1-4.dsc
 21206b1d83e292f877ccc4fc80c1249212154f6f35ae5ab542f6c37050371957 47716 calibre_6.15.1-4.debian.tar.xz
 b4c42fb9f727dbe926add1af0a14bb08544ac41ffd9d3923ba6fb42cf1e35f68 18161 calibre_6.15.1-4_source.buildinfo
Files:
 720446d0bacc975ed05def1a8337c062 3632 text optional calibre_6.15.1-4.dsc
 0684ebaddf2429094d6a193a68bc338c 47716 text optional calibre_6.15.1-4.debian.tar.xz
 75cfc413eb388dd4f71fc31000ced769 18161 text optional calibre_6.15.1-4_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJKBAEBCgA0FiEErjlfKHqxT11VFyPEqem2T5LebcoFAmQyXfAWHHlva290YS5o
Z21sQGdtYWlsLmNvbQAKCRCp6bZPkt5tyg/xEACAaBW1TAarHXLrMC4UhzjxKguL
/c9dNdDW5f55j6ncZ3dPbzHCRNojiUi8nQElimb/KRXaKJRpuovFp73cjMN+0PDP
g7dD3jDYv1kqwjLOlBo1hi+vIyj5YEg+Nms0rW8S3XC/XdnznCnirgho4aeIDdlX
v89oZs9XIhV8h21g+2gdzDHC7UE4ehCOKg6NYi5Bkn3NkS1soDHt2k6hseuuS6NS
J1QqOPNUJGNmk8z6Q8HidaQN9kjZkv86cNEF4w8CfhFuz1H9b83EEYZ3mJllz50S
hXUXDM+41diZa4+lIcX2HMGyF3szUrO1mhbKk55YS6klA0RwGR27l/Pplu0CWwCn
s2Bu5OHhU7jsO5HUZm7mAAuYfGVh+R6JyBaP+BA9td6X4DNjr1mlvJuWzRCvr4WR
QJrjejJX43E1aWCGkumB6Rpwsa517nk0euCkOX2+tFH7L1X5Tkbd1TPQ/m+j0jTY
1n1OwCDKMQctwLxfbOrWBpNFl6dBjsZaYIbd+PQAtJWtrygIzMh4cAXmCCL61Y/H
Z7Op3y2soJjWHu0p8ZnFTVlhEKqPAfdlJ/OdXWMbcuBK7KOdAIQ1i0XqaObgBveK
nJzCNsC/Uw7O1zTPAuWcrlk8V6rr8YYgfWa/N3JlabTwUTihYqAzW01jUIrXDbfw
fLOe/AobWttowRwqCA==
=ZvbY
-----END PGP SIGNATURE-----