View Single Post
Old 03-28-2023, 11:34 AM   #966
DaltonST
Deviser
DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.
 
DaltonST's Avatar
 
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
Update CC Based on Another CC

Quote:
Originally Posted by igorius View Post
Update custom column based on other custom column doesnt work:
Code:
=====--------------update_cc_based_on_another_cc--------------===== 
rule_1_is_valid: True
#ko_gelesen
complete
#gelesen
true
rule_2_is_valid: True
#fortschritt
100,00
#gelesen
true
selected books:  1
QAbstractItemView::commitData called with an editor that does not belong to this view
Am i missing something?
calibre 6.14, macos
thanks!

It works perfectly for me on Windows 11. I know nothing about, and cannot speak to how macos works. Your debug log is incomplete. Perhaps that is a clue to your issue. This tool is supposed to be used while viewing the normal Library View (Library List), and not while viewing anything else. For example, don't use this tool while in Edit Metadata mode, or viewing the Book Details, or while in JS Customizing. The same is true for virtually all of JS's GUI Tools.

Quote:
=====--------------update_cc_based_on_another_cc--------------=====
rule_1_is_valid: True
#mytaglike
yellow|green|Betatesting
#mytextfixedsetofvalues
orange
rule_2_is_valid: True
#mytextfixedsetofvalues
red|orange
#orig_authors
source was red or orange
selected books: 4
Rule: 1 edit_metadata_action.apply_metadata_changes new value for: #mytextfixedsetofvalues is: orange
Rule: 2 edit_metadata_action.apply_metadata_changes new value for: #orig_authors is: source was red or orange
Rule: 1 edit_metadata_action.apply_metadata_changes new value for: #mytextfixedsetofvalues is: orange
Rule: 2 edit_metadata_action.apply_metadata_changes new value for: #orig_authors is: source was red or orange
Rule: 1 edit_metadata_action.apply_metadata_changes new value for: #mytextfixedsetofvalues is: orange
Rule: 2 edit_metadata_action.apply_metadata_changes new value for: #orig_authors is: source was red or orange
Rule: 1 edit_metadata_action.apply_metadata_changes new value for: #mytextfixedsetofvalues is: orange
Rule: 2 edit_metadata_action.apply_metadata_changes new value for: #orig_authors is: source was red or orange

Last edited by DaltonST; 03-28-2023 at 11:41 AM.
DaltonST is offline   Reply With Quote