View Single Post
Old 07-01-2019, 11:38 AM   #1
plo233
Member
plo233 began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Sep 2017
Device: Android tablet
How to debug calibredb error using Python tools?

I'm getting the following error when trying to add books using the calibredb executable file on Windows. Probably something messed up with my new calibre server install, as it worked before. Is there a way for me to debug the Python script (eg using pdb)? I'm well-versed in Python

C:\>calibredb add --with-library=http://192.168.1.100:38203 --username=admin --password=password "C:\dl\watch.epub"
Traceback (most recent call last):
File "site-packages/calibre/srv/cdb.py", line 48, in cdb_run
File "site-packages/calibre/db/cli/cmd_add.py", line 65, in implementation
File "site-packages/calibre/db/cli/cmd_add.py", line 40, in book
ValueError: too many values to unpack
plo233 is offline   Reply With Quote