View Single Post
Old 01-25-2023, 10:38 PM   #285
Chirishman
Junior Member
Chirishman began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Jul 2009
Device: Kindle 1
Exclamation

I'm trying to do initial setup and I'm getting the below error when I click "Generate Custom Columns in the Target Library"

Quote:
calibre, version 6.11.0
ERROR: Unhandled exception: <b>ValueError</b>:malformed node or string on line 1: &lt;ast.Name object at 0x000001F4965604C0&gt;

calibre 6.11 embedded-python: True
Windows-10-10.0.17763-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.17763')
Python 3.10.1
Windows: ('10', '10.0.17763', 'SP0', 'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: [REMOVED FOR BREVITY]
Traceback (most recent call last):
File "calibre_plugins.consolidate_all_library_metadata. calm_dialog", line 4889, in generate_custom_columns_control
File "calibre_plugins.consolidate_all_library_metadata. calm_dialog", line 5005, in generate_custom_columns
File "calibre_plugins.consolidate_all_library_metadata. calm_dialog", line 5510, in harmonize_enumeration_displays
File "ast.py", line 108, in literal_eval
File "ast.py", line 97, in _convert
File "ast.py", line 107, in _convert
File "ast.py", line 81, in _convert_signed_num
File "ast.py", line 72, in _convert_num
File "ast.py", line 69, in _raise_malformed_node
ValueError: malformed node or string on line 1: <ast.Name object at 0x000001F4965604C0>
If I delete the CALM library folder and do the steps again the only thing that changes is that hex address at the end of the error.

Also, the after a few attempts at deleting and trying again the whole CALM window now disappears without throwing an error when I click "Get All Source Library/Custom Column Combinations" (after it stops responding for a bit)

Also, if I try to sort by the "activate for generation" column in the "Selectively Activate Source Library/Custom Column Combinations" view I get the following error:

Quote:
calibre, version 6.11.0
ERROR: Unhandled exception: <b>TypeError</b>:QTableView.sortByColumn(): argument 2 has unexpected type 'int'

calibre 6.11 embedded-python: True
Windows-10-10.0.17763-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.17763')
Python 3.10.1
Windows: ('10', '10.0.17763', 'SP0', 'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: [REMOVED FOR BREVITY]
Traceback (most recent call last):
File "calibre_plugins.consolidate_all_library_metadata. cc_activation_list_editor", line 308, in header_clicked
File "calibre_plugins.consolidate_all_library_metadata. cc_activation_list_editor", line 312, in do_sort_by_name
TypeError: QTableView.sortByColumn(): argument 2 has unexpected type 'int'
Chirishman is offline   Reply With Quote