|
|
#1 |
|
Enthusiast
![]() Posts: 48
Karma: 10
Join Date: Mar 2008
Device: HTC-p3000
|
calibredb exception (another!)
I'm creating an empty db and adding a few (3, for the time being) custom columns.
I get the following errors from my program (java, using ProcessBuilder to spawn calibredb): Code:
Command '[/usr/bin/calibredb, add_custom_column, --with-library=/mnt/fileserver/Store/Store/eBooks/Calibre, ddlib, DD_Library, series]' failed. [[err]] Traceback (most recent call last): [[err]] File "site.py", line 58, in main [[err]] File "site-packages/calibre/library/cli.py", line 1475, in main [[err]] File "site-packages/calibre/library/cli.py", line 771, in command_add_custom_column [[err]] File "site-packages/calibre/library/cli.py", line 722, in do_add_custom_column [[err]] TypeError: %d format: a number is required, not NoneType Command '[/usr/bin/calibredb, add_custom_column, --with-library=/mnt/fileserver/Store/Store/eBooks/Calibre, ddlink, DD_Post, text]' failed. [[err]] Traceback (most recent call last): [[err]] File "site.py", line 58, in main [[err]] File "site-packages/calibre/library/cli.py", line 1475, in main [[err]] File "site-packages/calibre/library/cli.py", line 771, in command_add_custom_column [[err]] File "site-packages/calibre/library/cli.py", line 722, in do_add_custom_column [[err]] TypeError: %d format: a number is required, not NoneType Command '[/usr/bin/calibredb, add_custom_column, --with-library=/mnt/fileserver/Store/Store/eBooks/Calibre, ed2k, ed2k, text]' failed. [[err]] Traceback (most recent call last): [[err]] File "site.py", line 58, in main [[err]] File "site-packages/calibre/library/cli.py", line 1475, in main [[err]] File "site-packages/calibre/library/cli.py", line 771, in command_add_custom_column [[err]] File "site-packages/calibre/library/cli.py", line 722, in do_add_custom_column [[err]] TypeError: %d format: a number is required, not NoneType :Code:
mcon@vmrunner:/mnt/fileserver/Store/Store/eBooks/Calibre$ /usr/bin/calibredb custom_columns "--with-library=/mnt/fileserver/Store/Store/eBooks/Calibre" -d
ddlib
{u'datatype': u'series',
u'display': {},
u'editable': True,
u'is_multiple': False,
u'label': u'ddlib',
u'multiple_seps': {},
u'name': u'DD_Library',
u'normalized': True,
u'num': 1}
ed2k
{u'datatype': u'text',
u'display': {},
u'editable': True,
u'is_multiple': False,
u'label': u'ed2k',
u'multiple_seps': {},
u'name': u'ed2k',
u'normalized': True,
u'num': 3}
ddlink
{u'datatype': u'text',
u'display': {},
u'editable': True,
u'is_multiple': False,
u'label': u'ddlink',
u'multiple_seps': {},
u'name': u'DD_Post',
u'normalized': True,
u'num': 2}
mcon@vmrunner:/mnt/fileserver/Store/Store/eBooks/Calibre$
I will ignore the error for now, but I'm a bit uneasy... Note: The first line contains the arguments passed to the subprocess, so my program is equivalent to: Code:
/usr/bin/calibredb "add_custom_column" "--with-library=/mnt/fileserver/Store/Store/eBooks/Calibre" "ddlib" "DD_Library" "series" /usr/bin/calibredb "add_custom_column" "--with-library=/mnt/fileserver/Store/Store/eBooks/Calibre" "ddlink" "DD_Post" "text" /usr/bin/calibredb "add_custom_column" "--with-library=/mnt/fileserver/Store/Store/eBooks/Calibre" "ed2k" "ed2k" "text" |
|
|
|
![]() |
| Tags |
| calibredb, exception, format |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| calibredb remove ... | BerlinerKindl | Library Management | 9 | 09-22-2025 05:07 AM |
| calibredb exception | ZioNemo | Library Management | 3 | 02-04-2014 09:10 PM |
| subseries_index does not appear in calibredb | reup | Library Management | 4 | 12-16-2011 05:46 AM |
| calibredb bugged? | Mar2zz | Library Management | 10 | 11-23-2011 09:28 AM |
| calibredb | iomari | Calibre | 6 | 10-10-2011 08:35 AM |