Traceback (most recent call last):


 "site-packages\calibre\gui2\actions\delete.py", line 404, in delete_books


 "site-packages\calibre\gui2\actions\delete.py", line 378, in do_library_delete


 "site-packages\calibre\gui2\library\models.py", line 416, in delete_books_by_id


 "site-packages\calibre\db\cache.py", line 62, in call_func_with_lock


 "site-packages\calibre\db\cache.py", line 1654, in remove_books


 "site-packages\calibre\db\tables.py", line 559, in remove_books


 "site-packages\calibre\db\tables.py", line 415, in remove_books


 "site-packages\calibre\db\backend.py", line 886, in executemany


 "c:\t\t\apsw-r08j4l0g\src\cursor.c", line 236, in resetcursor
CantOpenError: CantOpenError: unable to open database file

Traceback (most recent call last):


 "payment_receipt.py", line 24, in <module>

doc.generate_pdf(clean_tex=False)


 "/home/aravind/profile_api_receipt/lib/python3.6/site-packages/pylatex/document.py", line 281, in generate_pdf

'or make sure you have latexmk or pdfLaTex installed.'
pylatex.errors.CompilerError: No LaTex compiler was found
