Can't Open Metadata Edit Window

Bug #2021452 reported by Kevin [Visually Impaired]
144
This bug affects 21 people
Affects Status Importance Assigned to Milestone
calibre
Fix Released
Undecided
Unassigned

Bug Description

Trying to open the Metadata Edit window causes this error:

calibre, version 6.19.0
ERROR: Unhandled exception: <b>TypeError</b>:'str' object is not callable

calibre 6.19 Portable embedded-python: True
Windows-10-10.0.22631-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.22631')
Python 3.10.1
Windows: ('10', '10.0.22631', 'SP0', 'Multiprocessor Free')
Interface language: en_GB
Successfully initialized third party plugins: DeDRM (10, 0, 3) && Count Pages (1, 13, 0) && EpubSplit (3, 6, 0) && Fantastic Fiction (1, 6, 2) && Favourites Menu (1, 3, 0) && Generate Cover (2, 3, 2) && Goodreads (1, 7, 9) && Goodreads Sync (1, 16, 3) && Quality Check (1, 13, 4)
Traceback (most recent call last):
  File "calibre\gui2\actions\edit_metadata.py", line 438, in edit_metadata
  File "calibre\gui2\actions\edit_metadata.py", line 461, in edit_metadata_for
  File "calibre\gui2\actions\edit_metadata.py", line 491, in do_edit_metadata
  File "calibre\gui2\metadata\single.py", line 1274, in edit_metadata
  File "calibre\gui2\metadata\single.py", line 71, in __init__
  File "calibre\gui2\metadata\single.py", line 116, in setupUi
  File "calibre\gui2\metadata\single.py", line 207, in create_basic_metadata_widgets
  File "calibre\gui2\metadata\basic_widgets.py", line 706, in __init__
  File "calibre\gui2\metadata\basic_widgets.py", line 709, in enable
  File "calibre\gui2\metadata\basic_widgets.py", line 634, in current_val
TypeError: 'str' object is not callable

Revision history for this message
onip (follettoonip) wrote :

a similar error happens when trying to convert an ebook in another format.

calibre, version 6.19.0
ERRORE: Eccezione non gestita: <b>TypeError</b>:'str' object is not callable

calibre 6.19 embedded-python: True
Linux-5.15.0-72-generic-x86_64-with-glibc2.31 Linux ('64bit', 'ELF')
('Linux', '5.15.0-72-generic', '#79~20.04.1-Ubuntu SMP Thu Apr 20 22:12:07 UTC 2023')
Python 3.10.1
Interface language: it
Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 51, 0) && DeDRM (7, 2, 1) && Package KFX (from KFX Input) (1, 51, 0) && KFX metadata reader (from KFX Input) (1, 51, 0) && KFX Input (1, 51, 0)
Traceback (most recent call last):
  File "calibre/gui2/actions/convert.py", line 160, in convert_ebook
  File "calibre/gui2/actions/convert.py", line 184, in do_convert
  File "calibre/gui2/tools.py", line 44, in convert_single_ebook
  File "calibre/gui2/convert/single.py", line 80, in __init__
  File "calibre/gui2/convert/single.py", line 209, in setup_pipeline
  File "calibre/gui2/convert/single.py", line 206, in widget_factory
  File "calibre/gui2/convert/metadata.py", line 63, in __init__
  File "calibre/gui2/convert/metadata.py", line 120, in initialize_metadata_options
  File "calibre/gui2/convert/metadata.py", line 123, in series_changed
TypeError: 'str' object is not callable

Revision history for this message
Menrad (menrad) wrote :

Hello, same error here, I can't edit any metadata in any of my ebooks.

calibre, version 6.19.0
ERREUR : Exception non gérée: <b>TypeError</b>:'str' object is not callable

calibre 6.19 embedded-python: True
Windows-10-10.0.19045-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19045')
Python 3.10.1
Windows: ('10', '10.0.19045', 'SP0', 'Multiprocessor Free')
Interface language: fr
Successfully initialized third party plugins: KePub Input (3, 6, 3) && KePub Metadata Reader (3, 4, 3) && KePub Output (3, 6, 3) && Kobo Books (1, 9, 2) && Kobo Utilities (2, 16, 7)
Traceback (most recent call last):
  File "calibre\gui2\actions\edit_metadata.py", line 438, in edit_metadata
  File "calibre\gui2\actions\edit_metadata.py", line 461, in edit_metadata_for
  File "calibre\gui2\actions\edit_metadata.py", line 491, in do_edit_metadata
  File "calibre\gui2\metadata\single.py", line 1274, in edit_metadata
  File "calibre\gui2\metadata\single.py", line 71, in __init__
  File "calibre\gui2\metadata\single.py", line 116, in setupUi
  File "calibre\gui2\metadata\single.py", line 207, in create_basic_metadata_widgets
  File "calibre\gui2\metadata\basic_widgets.py", line 706, in __init__
  File "calibre\gui2\metadata\basic_widgets.py", line 709, in enable
  File "calibre\gui2\metadata\basic_widgets.py", line 634, in current_val
TypeError: 'str' object is not callable

Revision history for this message
Kovid Goyal (kovid) wrote :

Fixed in branch master. The fix will be in the next release. calibre is usually released every alternate Friday.

Changed in calibre:
status: New → Fix Released
Revision history for this message
Christina Haas (haasje1979) wrote :

I really hope you will release earlier, I cannot work with Calibre at all at the moment.

Revision history for this message
Kovid Goyal (kovid) wrote :

Yes, 6.19.1 will be released in a couple of hours. That is just the automatic bug fixed closing message

Revision history for this message
Christina Haas (haasje1979) wrote :

Tnx, solved it for now by downgrading to the previous version :)

Revision history for this message
Kovid Goyal (kovid) wrote :

version 6.19.1 with the fix is released.

Revision history for this message
onip (follettoonip) wrote :

thanks.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.