Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 03-27-2023, 04:13 PM   #961
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
Not Scrolling to Jumped-To Book

Quote:
Originally Posted by Wiggo View Post
Sorry, but NV unfortunately does not jump the way I understand jumping.
I have to scroll to the result

https://imgur.com/a/4BDLMeU

If it's not possible, no problem - I just wanted to point out
In your video, NV shows the "new" book details, including its Book ID, in the "to" book that you jumped to. But: it did not scroll down. I assume that you are referring to the scrolling, not the jumping.

On my Windows 11 PC, NV scrolls down to the "to" book, even a thosand rows down below. Your video does not.

What OS are you running, Apple? Linux? Or Windows Portable Calibre?

I cannot test those; only Windows 11 2023 using Calibre 14.1 Desktop.

Upgrade JS to the latest version, which was released today. NV had many changes. I couldn't tell from your .mp4 whether you were on an old version or not due to the resolution.

Run Calibre (Desktop, not Portable) from the command-line using: calibre-debug -g then do your test again. The debugging log will show what is going on.

When you are finished, "select all" in the debugging log output, copy it to a .txt file, and attach that .txt file to your next post so I can see what is going on. You might want to .zip it first.

BTW, the resolution of your .mp4 was so low that I couldn't read what I needed to read in NV. Please try to use a much higher resolution that is readable online.


DaltonST

Last edited by DaltonST; 03-27-2023 at 04:25 PM.
DaltonST is offline   Reply With Quote
Old 03-27-2023, 04:40 PM   #962
Wiggo
Leftutti
Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.
 
Wiggo's Avatar
 
Posts: 549
Karma: 1717097
Join Date: Feb 2019
Location: Bavaria
Device: iPad Pro, Kobo Libra 2
Windows 10. Latest Calibre 6.14.1 Desktop and your today’s update.
I will post the log tomorrow.

Btw, on my iPad right now the video is razor sharp. I don't know what I could change
Wiggo is offline   Reply With Quote
Old 03-27-2023, 05:55 PM   #963
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
Quote:
Originally Posted by Wiggo View Post
Windows 10. Latest Calibre 6.14.1 Desktop and your today’s update.
I will post the log tomorrow.

Btw, on my iPad right now the video is razor sharp. I don't know what I could change

On my phone, it is sharp. Screensize matters. My desktop display is 30in. My error.


DaltonST
DaltonST is offline   Reply With Quote
Old 03-27-2023, 10:36 PM   #964
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
Book Details Pane & NV Auto-Scrolling When Jumping

Wiggo,

I briefly experienced the identical issue that you recorded in the video. It occurred only once, and only after I expanded the size of the Book Details pane to be as huge as your video shows you had. The Book Details panel also covered my selected Custom Column. When I selected a book in the Search Results dropdown, and auto-jumped, NV did not scroll down.

I believe that the Calibre GUI signal for a change in the current cell within the Library View (Library List) that triggers NV to "move" via auto-scrolling to the new row was either "lost" or not emitted at all because of interference of the Book Details pane.

Are you on a typical Laptop or a more powerful Desktop PC?

My PC is powerful with a lot of RAM, and as many times as I tried, I could duplicate your issue only once.

To test my theory, simply close the Book Detail pane, and also the Tag Browser just to be safe, and try your test that you video recorded again.

If it now works, even most of the time (versus never prior to the change in the Book Detail pane), then we know there is a Calibre event signal that is being "lost". The BD pane has a scroll bar to 'adjust' for where the new current book is, just like the Library View, but the BD pane also auto-refreshes the new book metadata shown in the BD pane when the current book in the GUI changes. The process of auto-refreshing the BD pane must interfere with receipt of the signal that NV was waiting to get. It never came, so the auto-scroll did not happen.

I have some technical ideas on my end, but I need your test results as described above to verify first that it indeed is the BD pane refreshing that is interfering.


DaltonST
DaltonST is offline   Reply With Quote
Old 03-28-2023, 07:55 AM   #965
igorius
Zealot
igorius began at the beginning.
 
Posts: 123
Karma: 34
Join Date: Jun 2015
Device: ipad & inkpad X
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!
igorius is offline   Reply With Quote
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
Old 03-28-2023, 03:08 PM   #967
igorius
Zealot
igorius began at the beginning.
 
Posts: 123
Karma: 34
Join Date: Jun 2015
Device: ipad & inkpad X
Sorry, but this is the complete log. I did it in normal view, not in editing mode nor other strange mode or view.
What else can i do?
I tested again with a book which has none of the columns set, so it should show false on both rules, but it fails too:

Code:
=====--------------update_cc_based_on_another_cc--------------===== 
rule_1_is_valid: True
#fortschritt
100,00
#gelesen
true
rule_2_is_valid: True
#gelesen
true
#ko_gelesen
complete
selected books:  1
current library not specified in Job Spy last-viewed tool active library names... Lesensemich
plugin Save Virtual Libraries To Column: updated column #virtuelle_bibliothek for 0 books in 0:00:00.036052
current library not specified in Job Spy last-viewed tool active library names... Wissensewas
plugin Save Virtual Libraries To Column: updated column #virtuelle_bibliothek for 0 books in 0:00:00.131971
QAbstractItemView::commitData called with an editor that does not belong to this view
QAbstractItemView::closeEditor called with an editor that does not belong to this view
=====--------------update_cc_based_on_another_cc--------------===== 
rule_1_is_valid: True
#fortschritt
100,00
#gelesen
true
rule_2_is_valid: True
#gelesen
true
#ko_gelesen
complete
selected books:  1
The library change i made to get the lines after "selected books: 1", so the last line is the really last line in the log (calibre-debug)
igorius is offline   Reply With Quote
Old 03-28-2023, 03:41 PM   #968
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
These 2 Qt messages are concerning:

QAbstractItemView::commitData called with an editor that does not belong to this view
QAbstractItemView::closeEditor called with an editor that does not belong to this view


Are you within a Virtual Library? If so, exit the VL.

Consider exactly where your cursor was. Using a tool shortcut? I did when I just tested the tool, and it worked. I always use a shortcut for it, and it always works.


DaltonST
DaltonST is offline   Reply With Quote
Old 03-28-2023, 06:34 PM   #969
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
Wiggo:

Also, on your video, you immediately closed NV. Why? It would have been trivial to click the 'back' button twice: once to take you back to the 'from' book, and again to take you forward to the 'jump to' book. It would have scrolled twice, but with you in charge rather than NV being triggered by an event signal from Calibre. Closing NV precluded you from recovering from your PC's eating of the event signal.

DaltonST
DaltonST is offline   Reply With Quote
Old 03-29-2023, 06:47 AM   #970
igorius
Zealot
igorius began at the beginning.
 
Posts: 123
Karma: 34
Join Date: Jun 2015
Device: ipad & inkpad X
Nop, i am inside the standard library view, say the list view. I have virtual libraries, but not inside one. I have in total 2 separate libraries in different folders with their own metadata.db. Hope that helps. And no device connected.
I dont use shortcut. I only have the copy from custom column to custom column activated. Rest is deactivated, i dont need it. (JS+-config)

Last edited by igorius; 03-29-2023 at 06:49 AM.
igorius is offline   Reply With Quote
Old 03-29-2023, 09:38 AM   #971
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
Quote:
Originally Posted by igorius View Post
Nop, i am inside the standard library view, say the list view. I have virtual libraries, but not inside one. I have in total 2 separate libraries in different folders with their own metadata.db. Hope that helps. And no device connected.
I dont use shortcut. I only have the copy from custom column to custom column activated. Rest is deactivated, i dont need it. (JS+-config)

Try using a shortcut.



DaltonST
DaltonST is offline   Reply With Quote
Old 03-29-2023, 09:55 AM   #972
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
If using a shortcut instead of the tear-off menu does not work, I will need to see a screenprint of just before you use the tool.


Also, is the Target custom column a 'fixed-values' a.k.a. Enumeration datatype cc? If so, are the 'to values' legal values per the cc definition in Calibre>Preferences?


DaltonST

Last edited by DaltonST; 03-29-2023 at 10:16 AM.
DaltonST is offline   Reply With Quote
Old 03-29-2023, 11:37 AM   #973
igorius
Zealot
igorius began at the beginning.
 
Posts: 123
Karma: 34
Join Date: Jun 2015
Device: ipad & inkpad X
Uh, How/where do i configure that shortcut? Or is it a defined shortcut? Never used...
So, the questions you ask, i dont understand. What do you mean with fixed values? Enumeration datatype? legal values per the cc definition in calibre prefs? Where in calibre prefs?
Sorry, but here you are speaking arabic to me. I am sorry, my englisch seems not to be good enough for that...
igorius is offline   Reply With Quote
Old 03-29-2023, 12:49 PM   #974
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
Quote:
Originally Posted by igorius View Post
Uh, How/where do i configure that shortcut? Or is it a defined shortcut? Never used...
So, the questions you ask, i dont understand. What do you mean with fixed values? Enumeration datatype? legal values per the cc definition in calibre prefs? Where in calibre prefs?
Sorry, but here you are speaking arabic to me. I am sorry, my englisch seems not to be good enough for that...

There is a Calibre User Manual in Deutsch online. There is also a German-speaker User Group in mobileread.com.

Sorry, but I cannot help you until you learn more about Calibre and understand my questions.


DaltonST
DaltonST is offline   Reply With Quote
Old 03-29-2023, 02:50 PM   #975
Wiggo
Leftutti
Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.
 
Wiggo's Avatar
 
Posts: 549
Karma: 1717097
Join Date: Feb 2019
Location: Bavaria
Device: iPad Pro, Kobo Libra 2
Quote:
Originally Posted by DaltonST View Post
Wiggo:



Go here: https://pythex.org/?regex=Titel%20der%20Originalausgabe%5B%3A%5D(.%2B )%24%7CDie%20Originalausgabe%20erschien%20unter%20 dem%20Titel%20%5B%C2%BB%5D*(.%2B)%5B%C2%AB%5D*%24% 7CTitel%20der%20amerikanischen%20Originalausgabe%3 A%20%5B%C2%BB%5D*(.%2B)%5B%C2%AB%5D*%24&test_strin g=Book%20%231%3A%20%20Titel%20der%20Originalausgab e%3A%20THE%20MEMOIRS%20OF%20LADY%20TRENT%201%3A%0A A%20NATURAL%20HISTORY%20OF%20DRAGONS%0A%0ABook%20% 232%3A%20%20Titel%20der%20amerikanischen%20Origina lausgabe%3A%0A%C2%BBA%20Memory%20of%20Light%C2%AB% 0A%0ABook%20%233%3A%20%20Die%20Originalausgabe%20e rschien%20unter%20dem%20Titel%20%C2%BBShadowheart% C2%AB&ignorecase=1&multiline=0&dotall=1&verbose=0

Which takes you what is shown on the attached image. It is unrealistic in that it is 3 books in 1, whereas your search will be 1 book at a time. It is meant to be educational for you.

Note the "IGNORECASE" plus the "DOTALL".

EPOM can easily do this.


JS's regex search assumes MULTILINE, and not DOTALL.


EPOM lets you use whatever you want.




Added: You might want to change the [»]*(.+)[«]* to be [»](.+)[«] instead after you learn what the * does by reading the Cheat-sheet at the bottom of Pythex. The second value is highly specific to your example.



DaltonST
I managed to get the matches for each variation, but it's like the whole book is copied into #original_tile
Wiggo is offline   Reply With Quote
Reply

Tags
author aka, author pen name, colors, toolbag, toolbox, tools


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] KindleUnpack - The Plugin DiapDealer Plugins 523 07-15-2025 06:45 PM
[GUI Plugin] Ex Libris AlPe Plugins 87 10-10-2020 03:10 PM
[GUI Plugin] Marvin XD Philantrop Plugins 126 01-29-2017 12:48 PM
Ubuntu/Linux : Command to schedule a job with Calibre.( No GUI ) DurgaPrasad Calibre 0 10-16-2013 06:50 AM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 12:27 PM


All times are GMT -4. The time now is 08:39 AM.


MobileRead.com is a privately owned, operated and funded community.