View Single Post
Old 10-22-2021, 04:52 PM   #1
Xwang
Connoisseur
Xwang ought to be getting tired of karma fortunes by now.Xwang ought to be getting tired of karma fortunes by now.Xwang ought to be getting tired of karma fortunes by now.Xwang ought to be getting tired of karma fortunes by now.Xwang ought to be getting tired of karma fortunes by now.Xwang ought to be getting tired of karma fortunes by now.Xwang ought to be getting tired of karma fortunes by now.Xwang ought to be getting tired of karma fortunes by now.Xwang ought to be getting tired of karma fortunes by now.Xwang ought to be getting tired of karma fortunes by now.Xwang ought to be getting tired of karma fortunes by now.
 
Posts: 77
Karma: 2136220
Join Date: Sep 2012
Device: none
Different behaviour on 2 pcs

Hi to all,
I have two pc with arch linux and calibre installed.
The calibre library is installed on an sdcard which I move from one pc to the other.
I've copied ~./config/calibre from the first pc to the second one to have all my configurations already set.
On both PC there is a server running.
When I execute
Code:
calibredb show_metadata --with-library=http://localhost:8080 --username=pippo --password=12345678 3885
the first pc answers with the 3885 book metadata.
The second pc gives a TypeError exception:
Code:
Traceback (most recent call last):
  File "/usr/bin/calibredb", line 21, in <module>
    sys.exit(main())
  File "/usr/lib/calibre/calibre/db/cli/main.py", line 251, in main
    return run_cmd(cmd, opts, args[1:], DBCtx(opts))
  File "/usr/lib/calibre/calibre/db/cli/main.py", line 41, in run_cmd
    ret = m.main(opts, args, dbctx)
  File "/usr/lib/calibre/calibre/db/cli/cmd_show_metadata.py", line 49, in main
    raise SystemExit('Id #%d is not present in database.' % id)
TypeError: %d format: a number is required, not builtin_function_or_method
Have you any idea why?

Last edited by Xwang; 10-22-2021 at 04:54 PM.
Xwang is offline   Reply With Quote