Hi everyone,
Recently, I photographed with my phone a whole book, which I wanted to keep - It belongs to a library.
After I took all the shots, I put them all into a PDF file. Now, I want to add that PDF to my Library on Calibre.
First, whenever I was Browsing my computer with Calibre the book wouldn't show up. I got to work around this by having Calibre Showing all files. Now, when I try to add the book, I get the following error:
calibre, version 3.21.0
WARNING: Errors while adding: There were problems adding some files, click "Show details" for more information
Code:
----------------------------------------------------------------------
Failed to add the file /home/me/Documentos/Biblioteca/The book to the book: The Book
With error:
Traceback (most recent call last):
File "/usr/lib/calibre/calibre/gui2/add.py", line 430, in add_formats
if self.db.add_format(book_id, fmt, path, run_hooks=False, replace=replace):
File "/usr/lib/calibre/calibre/db/cache.py", line 1411, in add_format
size, fname = self._do_add_format(book_id, fmt, stream, name)
File "/usr/lib/calibre/calibre/db/cache.py", line 1378, in _do_add_format
size, fname = self.backend.add_format(book_id, fmt, stream, title, author, path, name, mtime=mtime)
File "/usr/lib/calibre/calibre/db/backend.py", line 1495, in add_format
fname = self.construct_file_name(book_id, title, author, len(fmt))
File "/usr/lib/calibre/calibre/db/backend.py", line 1199, in construct_file_name
raise ValueError('Extension length too long: %d' % extlen)
ValueError: Extension length too long: 106
What can I do to fix this?
TL;DR: I have a PDF with a bunch of photos from a book but I can't add it to Calibre. How to fix this?