Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Server

Notices

Reply
 
Thread Tools Search this Thread
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
Old 10-23-2021, 01:15 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,341
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
If you are changing the library data using filesystem operations you must:

1) stop the server
2) make your changes
3) restart the server
kovidgoyal is online now   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Syncing between different PCs sumithar Calibre 6 11-04-2019 12:18 AM
Help - transfer between PCs Bookerblood Library Management 16 02-26-2018 04:36 PM
calibre and HD PCs anacreon Calibre 6 03-13-2016 09:26 AM
Test behaviour different to Calibre behaviour louwin Library Management 2 04-12-2012 07:34 PM
multiple PCs with different OS dsvick Calibre 14 11-26-2009 10:57 PM


All times are GMT -4. The time now is 11:16 PM.


MobileRead.com is a privately owned, operated and funded community.