Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 04-03-2014, 07:16 PM   #1
tlfamm
Junior Member
tlfamm began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Mar 2014
Device: none
Unexpected behavior from check_library

Wanting to see what error indications might be given, I issued the following command in Windows 7:

"calibredb check_library --library-path=c:\users\Tom\L1\L2\FooLib --csv >.\CalibreChkDB.txt"


where 'FooLib' was a non-existent directory (folder) - the rest of the path was valid.

calibredb proceeded to create the missing directory, and populate it with a metadata.db file. I deleted that file, reran the above syntax, and calibredb dutifully provided another metadata.db. In both cases a null csv file resulted (signifying 'no errors' I presume).


So, if I unintentionally mistype the library name in a path specification, I receive no warning ("no such library"), but instead have an unasked-for library created?
tlfamm is offline   Reply With Quote
Old 04-03-2014, 10:13 PM   #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: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
https://github.com/kovidgoyal/calibr...991274940ff9b4
kovidgoyal is offline   Reply With Quote
Advert
Old 04-03-2014, 10:37 PM   #3
tlfamm
Junior Member
tlfamm began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Mar 2014
Device: none
Small bug, small fix
tlfamm is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unexpected behavior - Calibre 0.8 zdt0343 Calibre 2 12-11-2011 08:03 AM
unexpected behavior when bulk editing curantil Calibre 1 06-07-2010 06:45 PM
Unexpected behavior on "E-Books" menu? rlparker Feedback 3 01-04-2010 10:36 AM
PRS-600 Unexpected consequence... FizzyWater Sony Reader 2 09-15-2009 05:36 AM


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


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