Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 03-13-2023, 04:05 PM   #1
Doum
Connoisseur
Doum began at the beginning.
 
Posts: 65
Karma: 10
Join Date: Jun 2020
Device: Kobo Aura HD
Problem during verify library

Hi,
I have this error during my verification of my library.
have you an idea ?

==============================================
TypeError: SearchRestrictionMixin.build_search_restriction_li st.<locals> missings 1 requierd positional argument: 'last'

calibre, version 6.14.0
ERREUR : Exception non gérée: <b>TypeError</b>:SearchRestrictionMixin.build_search_restriction _list.&lt;locals&gt;.add_action() missing 1 required positional argument: 'last'

calibre 6.14 embedded-python: True
Windows-10-10.0.22621-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.22621')
Python 3.10.1
Windows: ('10', '10.0.22621', 'SP0', 'Multiprocessor Free')
Interface language: fr
Successfully initialized third party plugins: Extract People Other Metadata (1, 0, 0) && Find Duplicates (1, 10, 7) && Kobo Utilities (2, 16, 6) && Modify ePub (1, 8, 1) && Quality Check (1, 13, 3) && Resize Cover (1, 2, 0) && View Manager (1, 10, 2)
Traceback (most recent call last):
File "calibre\gui2\actions\choose_library.py", line 670, in check_library
File "calibre\gui2\ui.py", line 911, in library_moved
File "calibre\gui2\search_box.py", line 485, in saved_searches_changed
File "calibre\gui2\search_restriction_mixin.py", line 581, in build_search_restriction_list
TypeError: SearchRestrictionMixin.build_search_restriction_li st.<locals>.add_action() missing 1 required positional argument: 'last'


Nota : after a retry, no more error . But sometime;, an another day i have this error yet
Attached Thumbnails
Click image for larger version

Name:	Capture d'écran 2023-03-13 210249.png
Views:	110
Size:	50.7 KB
ID:	200308  

Last edited by Doum; 03-13-2023 at 05:15 PM.
Doum is offline   Reply With Quote
Old 03-13-2023, 05:23 PM   #2
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,423
Karma: 8012664
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
This is caused by a bug when a search string is used as an additional restriction in virtual libraries. I will fix it for the next release.

Feel happy. You are the first person to report this problem in around 8 years.
chaley is offline   Reply With Quote
Advert
Old 03-15-2023, 01:19 AM   #3
kjdavies
Zealot
kjdavies is no e-book dilettante.kjdavies is no e-book dilettante.kjdavies is no e-book dilettante.kjdavies is no e-book dilettante.kjdavies is no e-book dilettante.kjdavies is no e-book dilettante.kjdavies is no e-book dilettante.kjdavies is no e-book dilettante.kjdavies is no e-book dilettante.kjdavies is no e-book dilettante.kjdavies is no e-book dilettante.
 
Posts: 112
Karma: 53342
Join Date: Jun 2013
Device: Sony PRS-600
Quote:
Originally Posted by chaley View Post
This is caused by a bug when a search string is used as an additional restriction in virtual libraries. I will fix it for the next release.

Feel happy. You are the first person to report this problem in around 8 years.
I find this happens only when changing libraries. If I open calibre into one library it works normally, then when I change libraries I get this error (and it shows me the list of books in the library, but seems to know about none of them -- the library name under 'Choose Library' is not changed). When I then close calibre and reopen, it shows the library I had changed to, and things seem to work normally... until I change libraries again.

That is, if I'm in library A with 250k books (yes, I have several like this) I might do a dupe check, copy the files (deleting local) to library B so I can manipulate them faster, 'change libraries' to B and see the error (and it shows library A under 'choose library'). Close and restart calibre, I'm in library B, I can cull the duplicates, then copy them back to library A... change to library A, see error, restart calibre, rinse and repeat.
kjdavies is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Certificate Verify Error underflow Windows Devices 1 11-30-2022 10:10 AM
package verify failed CanadianZorro Onyx Boox 2 08-08-2019 11:42 AM
Verify remove book wtw1936 Library Management 1 04-25-2014 05:00 PM
Please verify this failure in 0.8.60 RichieTheK Calibre 2 07-13-2012 06:25 PM
help with epub verify errors tonyvr4 ePub 5 10-27-2011 09:11 PM


All times are GMT -4. The time now is 12:36 AM.


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