View Single Post
Old 02-27-2019, 03:45 PM   #1
bob.f
Connoisseur
bob.f has a thesaurus and is not afraid to use it!bob.f has a thesaurus and is not afraid to use it!bob.f has a thesaurus and is not afraid to use it!bob.f has a thesaurus and is not afraid to use it!bob.f has a thesaurus and is not afraid to use it!bob.f has a thesaurus and is not afraid to use it!bob.f has a thesaurus and is not afraid to use it!bob.f has a thesaurus and is not afraid to use it!bob.f has a thesaurus and is not afraid to use it!bob.f has a thesaurus and is not afraid to use it!bob.f has a thesaurus and is not afraid to use it!
 
Posts: 78
Karma: 99068
Join Date: Nov 2017
Device: N/A
"No module named calibrelibrary.database2" error

Would someone mind helping me troubleshoot the following error please?

Code:
C:\Program Files\Calibre2
>calibre-debug.exe -c "from calibrelibrary.database2 import LibraryDatabase2; db = LibraryDatabase2('c:\Users\Andrew\Calibre\ Library'); db.execute('select * from books b where b.id = 3094');"
Python function terminated unexpectedly
  No module named calibrelibrary.database2 (Error Code: 1)
Traceback (most recent call last):
  File "site.py", line 101, in main
  File "site.py", line 78, in run_entry_point
  File "site-packages\calibre\debug.py", line 276, in main
  File "<string>", line 1, in <module>
ImportError: No module named calibrelibrary.database2
bob.f is offline   Reply With Quote