View Single Post
Old 01-07-2022, 06:31 AM   #15
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by chaley View Post
I noticed that and worked around it by deleting then undeleting a column. That enabled the button without actually changing anything.
I'll have to remember that.
Quote:
I have considered always enabling the button. It doesn't hurt anything to press it when no changes have been made.
I always like fields and buttons to be disabled when they have nothing to do. When the "Apply" button gets enabled, it tells me something has changed. It's something that GUI builders don't seem to understand.

But, on another topic, guess how I got these errors:

Code:
Traceback (most recent call last):
  File "E:\Development\GitHub\calibre\src\calibre\gui2\preferences\main.py", line 319, in show_plugin
  File "E:\Development\GitHub\calibre\src\calibre\gui2\preferences\columns.py", line 31, in genesis
ValueError: max() arg is an empty sequence

Code:
Traceback (most recent call last):
  File "calibre_plugins.goodreads_sync.action", line 929, in show_configuration
  File "E:\Development\GitHub\calibre\src\calibre\customize\__init__.py", line 166, in do_user_config
  File "calibre_plugins.goodreads_sync.__init__", line 65, in config_widget
  File "calibre_plugins.goodreads_sync.config", line 946, in __init__
  File "calibre_plugins.goodreads_sync.config", line 1166, in get_custom_columns
  File "calibre_plugins.goodreads_sync.config", line 1386, in get_create_new_custom_column_instance
  File "E:\Development\GitHub\calibre\src\calibre\gui2\preferences\create_custom_column.py", line 790, in __init__
ValueError: max() arg is an empty sequence
Or maybe I should say: Guess what the state of the library I was using was in
davidfor is offline   Reply With Quote