Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 05-13-2024, 02:15 PM   #1336
correoparaappzz
Enthusiast
correoparaappzz began at the beginning.
 
Posts: 39
Karma: 10
Join Date: Nov 2023
Device: Kindle Oasis
correoparaappzz is offline   Reply With Quote
Old 05-23-2024, 10:06 PM   #1337
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 9,563
Karma: 64960981
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Is there anything unusual about this chain that would cause it to fail to appear in the Chain Caller dialog?

It used to be part of another chain but then I split it into two (duplicate, rename, and remove the unwanted actions from each).

Strangely, if I rename it, I can temporarily set it but then get an 'invalid action' error and then it disappears.
Attached Files
File Type: zip SetBookType.zip (2.5 KB, 353 views)

Last edited by ownedbycats; 05-23-2024 at 10:09 PM.
ownedbycats is offline   Reply With Quote
Old 05-24-2024, 01:46 AM   #1338
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 6,393
Karma: 12408443
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
Hello, I've got a request (just for mi comfort, not basic in the plugin): Would it be possible, when you are modifying your chains, to sort the table pressing the header (I think there are another points in calibre where it is done). I have some chains and to look for a specific one is tedious. As I say, if it's possible and not difficult, it will be a big help for me.

Thank you for the plugin, as you can say based on my request, I use it a lot.
Terisa de morgan is offline   Reply With Quote
Old 05-24-2024, 04:09 PM   #1339
capink
Wizard
capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.
 
Posts: 1,139
Karma: 1954142
Join Date: Aug 2015
Device: Kindle
Quote:
Originally Posted by Terisa de morgan View Post
Hello, I've got a request (just for mi comfort, not basic in the plugin): Would it be possible, when you are modifying your chains, to sort the table pressing the header (I think there are another points in calibre where it is done). I have some chains and to look for a specific one is tedious. As I say, if it's possible and not difficult, it will be a big help for me.

Thank you for the plugin, as you can say based on my request, I use it a lot.
The Chains table is designed to have a manual sort, because it controls the order of menu items. You can see at the left of the dialog, the up and down buttons as part of that manual sort. That's why automatic sort cannot be done for this particular instance.

One solution for your problem, is to implement text filtering. Since the the table was not designed with filtering in mind, this will take some re-writes for parts of the table (mainly functions in context menu). But also will need disabling moving rows when a filter is applied, among many other things that will need a lot of testing. I am not ready to do this now. Will add it to my to-do list, and maybe will re-visit sometime in the future.
capink is offline   Reply With Quote
Old 05-24-2024, 04:55 PM   #1340
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 6,393
Karma: 12408443
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
Quote:
Originally Posted by capink View Post
The Chains table is designed to have a manual sort, because it controls the order of menu items. You can see at the left of the dialog, the up and down buttons as part of that manual sort. That's why automatic sort cannot be done for this particular instance.

One solution for your problem, is to implement text filtering. Since the the table was not designed with filtering in mind, this will take some re-writes for parts of the table (mainly functions in context menu). But also will need disabling moving rows when a filter is applied, among many other things that will need a lot of testing. I am not ready to do this now. Will add it to my to-do list, and maybe will re-visit sometime in the future.
Ok, thank you for analyzing it, really.
Terisa de morgan is offline   Reply With Quote
Old 05-25-2024, 04:22 PM   #1341
capink
Wizard
capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.
 
Posts: 1,139
Karma: 1954142
Join Date: Aug 2015
Device: Kindle
Quote:
Originally Posted by Terisa de morgan View Post
Ok, thank you for analyzing it, really.
I gave text filtering a go. A test version is attached below. The code changes are not massive, but they affect multiple parts of the plugin, and needs a lot of testing to make sure everything is OK, which I am not really up to.

If anyone feels like testing, download and report any problem. The only change is that there is a text box at the top of the chains dialog, by which you can filter the displayed entries, for easier access.

Last edited by capink; 05-31-2024 at 07:32 AM. Reason: new test version released
capink is offline   Reply With Quote
Old 05-28-2024, 04:02 AM   #1342
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 9,563
Karma: 64960981
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
What does the 'save/restore formats' action do?
ownedbycats is offline   Reply With Quote
Old 05-28-2024, 04:03 AM   #1343
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 6,393
Karma: 12408443
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
Quote:
Originally Posted by capink View Post
I gave text filtering a go. A test version is attached below. The code changes are not massive, but they affect multiple parts of the plugin, and needs a lot of testing to make sure everything is OK, which I am not really up to.

If anyone feels like testing, download and report any problem. The only change is that there is a text box at the top of the chains dialog, by which you can filter the displayed entries, for easier access.
I'm using it and works for now. If I find any issue, I'll be back with it.
Terisa de morgan is offline   Reply With Quote
Old 05-28-2024, 05:51 AM   #1344
capink
Wizard
capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.
 
Posts: 1,139
Karma: 1954142
Join Date: Aug 2015
Device: Kindle
Quote:
Originally Posted by ownedbycats View Post
What does the 'save/restore formats' action do?
Back up a format before making any changes to it. Much like calibre does with polish book functionality, when it backs EPUB to EPUB_ORIGINAL.
capink is offline   Reply With Quote
Old 05-29-2024, 07:07 PM   #1345
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 9,563
Karma: 64960981
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Issue: When editing a chain, opening the preferences for a new 'selection modifier' action causes Calibre to stop responding until I kill the process.

Running Calibre in debug mode doesn't show anything in the log after the "Hiding splash screen" of initial launch.

EDIT: It may be a result of my saved searches. If I switch to an alternate library with none, I get no freeze.

ANOTHER EDIT: I tested all my searches. All of them are valid, but as shown here, there's a lot of searches, including hierarchical and templates:

Click image for larger version

Name:	2024-05-29 19_15_50-Manage Saved searches.png
Views:	512
Size:	24.4 KB
ID:	208575

Last edited by ownedbycats; 05-29-2024 at 07:45 PM.
ownedbycats is offline   Reply With Quote
Old 05-29-2024, 08:06 PM   #1346
capink
Wizard
capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.
 
Posts: 1,139
Karma: 1954142
Join Date: Aug 2015
Device: Kindle
I am not able to replicate this. Is this related to the new test version?? Also does it happen with any Selection Modifier action? Does only happen with Selection Modifier actions that uses saved searches?
capink is offline   Reply With Quote
Old 05-29-2024, 08:21 PM   #1347
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 9,563
Karma: 64960981
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
It happens with the current test version, yes. I didn't have any existing modifiers to test with, I was trying to create a new one but opening the settings triggered a freeze.

Very strange behaviour: I created an empty library that copied my existing structure, including saved searches. Everything worked here, creating a new modifier and then opening the settings again. When switching back to my main library, it also worked there.

But then when restarting Calibre, I get freezes until I switch to my test library and back.

Weird, but at least it provides a workaround.
ownedbycats is offline   Reply With Quote
Old 05-30-2024, 02:12 AM   #1348
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 9,563
Karma: 64960981
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Is anyone else getting crashes from using the 'move rows up/down' buttons too many times in a row?
ownedbycats is offline   Reply With Quote
Old 05-30-2024, 02:24 AM   #1349
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 6,393
Karma: 12408443
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
Quote:
Originally Posted by ownedbycats View Post
Is anyone else getting crashes from using the 'move rows up/down' buttons too many times in a row?
No, I did it a bit and it didn't happen... but I think I probably don't have as many actions as you.
Terisa de morgan is offline   Reply With Quote
Old 05-30-2024, 02:34 AM   #1350
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 9,563
Karma: 64960981
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
I was thinking something about the amount of chains, or some issue with the JSON.
ownedbycats is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Action Chains Resources capink Plugins 66 11-10-2024 08:13 PM
[Editor Plugin] Editor Chains capink Plugins 94 07-03-2024 08:26 PM
[GUI Plugin] Noosfere_util, a companion plugin to noosfere DB lrpirlet Plugins 2 08-18-2022 04:15 PM
[GUI Plugin] Save Virtual Libraries To Column (GUI) chaley Plugins 14 04-04-2021 06:25 AM


All times are GMT -4. The time now is 10:47 AM.


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