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 08-29-2021, 05:32 AM   #691
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: 11,038
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Unfortunately, Dalton has not been seen in several months so this plugin seems to be unmaintained.

However, there is a workaround with Action Chains, if you don't mind sticking to using the same keyboard shortcut.

You can use a chain with Calibre's "View" and a single-field edit to update your #lastread column to the current datetime. You can import the attached file to AC to test it out (context menu in 'add/modify chains'); there's also a condition attached to prevent accidental mass-opening books.

Then bind that to a key; personally I just unbound the default 'view' key (V) and set it to that.
Attached Files
File Type: zip View.zip (653 Bytes, 225 views)

Last edited by ownedbycats; 08-29-2021 at 05:41 AM.
ownedbycats is online now   Reply With Quote
Old 08-29-2021, 07:57 AM   #692
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,772
Karma: 30237628
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by pjeby View Post
Hi there. I'm tyring to use this plugin (1.0.190) with Calibre 5.25, specifically to get the last-viewed column update. I already have a #lastread column, so I put that in the setting, and the name of my main library (Calibre) into the second field. However, the field isn't ever updating. Trying it in debug mode, I got the following messages in the log:

Code:
Job Spy last-viewed tool active library names includes:  Calibre
>>>[2] update_last_viewed_custom_column_automatically_control initialization_complete 'method' object is not connected
Job Spy has finished initialization...
Any thoughts as to what's going on there? Thanks.
Works for me - the custom column must be a Date,

Click image for larger version

Name:	Screenshot 2021-08-29 214854.jpg
Views:	235
Size:	46.1 KB
ID:	188980

and don't forget the leading '#' in the JS config setting

Click image for larger version

Name:	Screenshot 2021-08-29 215109.jpg
Views:	221
Size:	29.4 KB
ID:	188981

BR
BetterRed is offline   Reply With Quote
Old 08-30-2021, 02:42 AM   #693
pjeby
.
pjeby began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Apr 2013
Device: Various
Quote:
Originally Posted by BetterRed View Post
Works for me - the custom column must be a Date,
and don't forget the leading '#' in the JS config setting
Yes, it's a Date column and the `#` is there.
pjeby is offline   Reply With Quote
Old 08-30-2021, 02:57 AM   #694
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,772
Karma: 30237628
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by pjeby View Post
Yes, it's a Date column and the `#` is there.
Did you check the Activate box?

Click image for larger version

Name:	Screenshot 2021-08-30 164937.jpg
Views:	230
Size:	22.8 KB
ID:	189002

I inadvertently deactivated one of the Per-library tweaks a while back… and then tore my hair out for half a day

BR
BetterRed is offline   Reply With Quote
Old 08-30-2021, 03:28 AM   #695
pjeby
.
pjeby began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Apr 2013
Device: Various
Quote:
Originally Posted by BetterRed View Post
Did you check the Activate box?
Yes - if I hadn't, the log messages I posted would've been different. Looking at the code, if the column type had been wrong there would've been another error message.

I've just noticed, however, that the actual issue is that the column is in fact being updated, it's just that the display wasn't updating, so it just looked like it wasn't doing anything.

So I'll go ahead and take the win. :-)
pjeby is offline   Reply With Quote
Old 08-30-2021, 03:34 AM   #696
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: 11,038
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
I remember having that issue too. I think using F5 to re-apply current sort made the column update.
ownedbycats is online now   Reply With Quote
Old 01-08-2022, 09:10 PM   #697
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: 11,038
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Seeing as DaltonST has not been around for close to a year, is there any idea of what will happen to this plugin when Calibre 6 migrates to Qt6?
ownedbycats is online now   Reply With Quote
Old 01-26-2022, 12:09 PM   #698
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
Test Version: Qt6 & Python 3 only

Qt6 compatibility test version. Minimum Calibre version: 5.99.8.

Since there are sixty-eight (68) Tools in Job Spy, it would be nominal if they were all independently tested using real user scenarios and user data.



DaltonST

Last edited by DaltonST; 07-11-2022 at 12:41 PM. Reason: New JS version for testing with Calibre 5.99.8+
DaltonST is offline   Reply With Quote
Old 02-11-2022, 02:25 PM   #699
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
New JS Version for Qt6

Follow the link to the post where the new version attachment resides.


https://www.mobileread.com/forums/sh...9&postcount=25


DaltonST
DaltonST is offline   Reply With Quote
Old 03-12-2022, 01:45 PM   #700
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
New JS Version for Qt6

Follow the link to the post where the newest version attachment resides. One of the tools still had a Qt6 error that this version resolves.


https://www.mobileread.com/forums/sh...&postcount=698



DaltonST
DaltonST is offline   Reply With Quote
Old 03-17-2022, 05:55 AM   #701
golikell
Junior Member
golikell began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jun 2017
Device: Kobo Glo
Pseudonym Error

Good moring,
I just installed the plug in to get around that Pseudonym problem (some authors have multiple pseudonyms) but when I try to do something, I get the following error:
calibre, version 5.38.0
FOUT: Author Pseudonyms: Customized Pseudonym 'Real Author' Custom Column Does Not Exist in Library: #real_author
golikell is offline   Reply With Quote
Old 03-17-2022, 10:35 AM   #702
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
Customize GUI tools

Quote:
Originally Posted by golikell View Post
Good moring,
I just installed the plug in to get around that Pseudonym problem (some authors have multiple pseudonyms) but when I try to do something, I get the following error:
calibre, version 5.38.0
FOUT: Author Pseudonyms: Customized Pseudonym 'Real Author' Custom Column Does Not Exist in Library: #real_author

You need to first customize JS in the menu item Customize GUI tools. That includes specifying a name for the custom column (default is #real_author), and also then creating that custom column in Calibre. Restart Calibre.


Hover your mouse over the various areas in Customize GUI tools to view their respective ToolTips.




DaltonST
DaltonST is offline   Reply With Quote
Old 03-18-2022, 04:42 AM   #703
golikell
Junior Member
golikell began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jun 2017
Device: Kobo Glo
That fixed it

Thanks for the explanation. This is new ground for me
golikell is offline   Reply With Quote
Old 05-28-2022, 05:10 PM   #704
mariejulien13
Junior Member
mariejulien13 began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Apr 2022
Device: Kobo Clara, Kobo Libra 2
I'm using jobspy to update metadata in custom columns using a csv file. This works well for a text type column, but I am stuck with a date type column.

The csv is formatted like this:

title,#Borrowed
Le potager en pot,2022-03-24

The error reads like this:

calibre, version 5.42.0
ERROR: Some failures: Failed to apply updated metadata for some books in your library. Click "Show details" to see details.

Le potager en pot - Bertrand Dumont

Traceback (most recent call last):
File "calibre\gui2\actions\edit_metadata.py", line 887, in apply_mi
File "calibre\db\legacy.py", line 580, in set_metadata
File "calibre\db\cache.py", line 74, in call_func_with_lock
File "calibre\db\cache.py", line 1506, in set_metadata
File "calibre\db\cache.py", line 1443, in protected_set_field
File "calibre\db\cache.py", line 1421, in set_field
File "calibre\db\cache.py", line 1239, in set_field
File "calibre\db\write.py", line 561, in set_books
File "calibre\db\write.py", line 561, in <dictcomp>
File "calibre\db\write.py", line 73, in adapt_datetime
File "calibre\utils\date.py", line 113, in parse_date
File "dateutil\parser\_parser.py", line 1374, in parse
File "dateutil\parser\_parser.py", line 649, in parse
dateutil.parser._parser.ParserError: Unknown string format: YYYY-03-DD

************************************************** ******************************

I have also tried the following formats, which give the same error:
Le potager en pot,2022-01-24T00:00:00-05:00
Le potager en pot,2022-03-24
Le potager en pot,24 Jan 2022
Le potager en pot,20220324
Le potager en pot,24-01-2022


Any thoughts on this are appreciated! Thanks.
Attached Thumbnails
Click image for larger version

Name:	jobspy.png
Views:	140
Size:	42.1 KB
ID:	194010  
mariejulien13 is offline   Reply With Quote
Old 05-28-2022, 10:18 PM   #705
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
ToolTips

Hover your mouse over the widgets to see their ToolTips. See the attached image taken from the Original Post. The date formats it allows are specified.


DaltonST
Attached Thumbnails
Click image for larger version

Name:	js_import_csv_to_update_metadata_20191023.jpg
Views:	135
Size:	1.24 MB
ID:	194011  
DaltonST 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 03:31 PM.


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