07-01-2019, 12:38 PM | #1 |
Member
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 |
07-01-2019, 01:39 PM | #2 |
creator of calibre
Posts: 44,697
Karma: 24967300
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
Advert | |
|
Tags |
calibredb, calibredb calibre-server, python |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
3.34 calibre-debug runs the script code under Python 3 | EbokJunkie | Conversion | 2 | 11-20-2018 08:43 PM |
Python error when accessing content server with calibredb | drawson1 | Library Management | 1 | 06-19-2018 01:08 PM |
Python newbie, need help about print statement debug | TonyAn | Calibre | 3 | 05-17-2017 04:46 PM |
How to setup Python debug environment for Calibre Recipes | huang5307 | Recipes | 9 | 03-03-2016 03:35 PM |
win7-debug-python | jaapx | Calibre | 2 | 10-23-2015 01:11 AM |