This is on Win 10 with a 64GB thumb drive freshly formatted as FAT32
- Copied the 7.5.1 portable installer onto it
- Ran the installer - it went to end
- It asked if I want run calibre - answer Yes
- Stopped and started few times, added books by dropping 'format' files into the book list (EPUB, DOCX, URL), converted the DOCX to EPUB.
- I removed the 'URL' book and then hit the Green 'oops' button and I got this:
calibre, version 7.5.1
ERROR: Unhandled exception: <b>ValueError</b>:The book 2 not present in the trash folder
calibre 7.5.1 Portable embedded-python: True
Windows-10-10.0.19045-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19045')
Python 3.11.5
Windows: ('10', '10.0.19045', 'SP0', 'Multiprocessor Free')
Interface language: None
EXE path: G:\Calibre Portable\Calibre\calibre.exe
Traceback (most recent call last):
File "calibre\gui2\actions\delete.py", line 403, in undelete
File "calibre\db\cache.py", line 88, in call_func_with_lock
File "calibre\db\cache.py", line 2893, in move_book_from_trash
File "calibre\db\backend.py", line 2188, in get_metadata_for_trash_book
ValueError: The book 2 not present in the trash folder
When I looked in
Recently deleted books it was empty
I tried to reproduce the above error — but couldn't. The caltrash folder is created on first remove, so perhaps it was a timing issue - i.e. I hit the green button too soon.
I've tried moving and copying some very large 'books' between libraries and I've removed and restored them - predictably slow but no crashes.
BR