Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 03-12-2009, 10:04 PM   #1
Knocka
Member
Knocka began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Mar 2009
Device: Kindle 2
Library Disappearing

I am using calibre on a Mac (Leopard). I added about 7 books to the Library using Add Books. They were in html format. Calibre created folders for each one in the Folder I specified in Preferences. The files were created as .zip files. I then changed the Author and Title Fields right in the main window. I also, in Metadata, added a Series and Book #. Finally, I hit Bulk Convert with Mobi as the output format. Calibre then created a new file in each folder with the .mobi file (along with the .zip file, which stayed where it was).

I then tried Quitting Calibre and re-opening it. However, when I re-open Calibre, no books are displayed and it says Library 0 Books in the space to the left of the large Heart icon. But, all of the sub-folders and files that Calibre created when I first added the books to the library (including the .mobi file) are still in place.

How do I get the library to be retained in Calibre? If I use the Add Books option again, Calibre creates duplicates. I must be doing something wrong.

Thanks.
Knocka is offline   Reply With Quote
Old 03-12-2009, 11:57 PM   #2
pilotbob
Grand Sorcerer
pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.
 
pilotbob's Avatar
 
Posts: 19,832
Karma: 11844413
Join Date: Jan 2007
Location: Tampa, FL USA
Device: Kindle Touch
Quote:
Originally Posted by Knocka View Post
I am using calibre on a Mac (Leopard). I added about 7 books to the Library using Add Books. They were in html format. Calibre created folders for each one in the Folder I specified in Preferences. The files were created as .zip files. I then changed the Author and Title Fields right in the main window. I also, in Metadata, added a Series and Book #. Finally, I hit Bulk Convert with Mobi as the output format. Calibre then created a new file in each folder with the .mobi file (along with the .zip file, which stayed where it was).

I then tried Quitting Calibre and re-opening it. However, when I re-open Calibre, no books are displayed and it says Library 0 Books in the space to the left of the large Heart icon. But, all of the sub-folders and files that Calibre created when I first added the books to the library (including the .mobi file) are still in place.

How do I get the library to be retained in Calibre? If I use the Add Books option again, Calibre creates duplicates. I must be doing something wrong.

Thanks.
Are you sure you actually shut it down and aren't actually opening a second copy. Do you have the calibre icon in your menu bar tray?

BOb
pilotbob is offline   Reply With Quote
Advert
Old 03-13-2009, 06:24 AM   #3
Knocka
Member
Knocka began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Mar 2009
Device: Kindle 2
It is in my menu bar tray and when I quit Calibre, the dot under it disappears. Also, I checked Activity Monitor and ensured that Calibre is not running.

When I re-open it, it does not load my library.
Anyone have any ideas?
Knocka is offline   Reply With Quote
Old 03-13-2009, 06:42 AM   #4
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,776
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
start console.app and post any output you see in it when you run calibre
kovidgoyal is offline   Reply With Quote
Old 03-13-2009, 07:17 AM   #5
Knocka
Member
Knocka began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Mar 2009
Device: Kindle 2
Here are the Console entries when I run Calibre:

3/13/09 7:01:39 AM [0x0-0x1f61f6].net.kovidgoyal.calibre[6719] link hasn't been detected!
3/13/09 7:01:39 AM [0x0-0x1f61f6].net.kovidgoyal.calibre[6719] link hasn't been detected!

Attached is the log with the entries from last night.

Thanks for the help.
Attached Files
File Type: rtf Calibre_Log.rtf (30.4 KB, 261 views)
Knocka is offline   Reply With Quote
Advert
Old 03-13-2009, 07:27 AM   #6
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,776
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
What location did you choose for your library when you first ran calibre?
kovidgoyal is offline   Reply With Quote
Old 03-13-2009, 08:03 AM   #7
Knocka
Member
Knocka began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Mar 2009
Device: Kindle 2
Originally, I put Calibre on my desktop and used a sub-folder of a folder on my desktop called desktop/eBooks/calibre, just to test it out. When I saw I would like it...

I then moved Calibre to the Applications Folder and put it in my dock. I also changed the preferences to make the folder [myusername]/documents/ebooks. I then basically started adding books (not using any from the original library I was testing with.
Knocka is offline   Reply With Quote
Old 03-13-2009, 12:37 PM   #8
Knocka
Member
Knocka began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Mar 2009
Device: Kindle 2
Any thoughts about this?
Knocka is offline   Reply With Quote
Old 03-13-2009, 12:39 PM   #9
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,776
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
In terminal.app run the following two commands

Code:
calibredb add 'path/to/an/ebook/file
calibredb list
kovidgoyal is offline   Reply With Quote
Old 03-13-2009, 01:54 PM   #10
Knocka
Member
Knocka began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Mar 2009
Device: Kindle 2
I am not sure what those commands were supposed to do, but I ran them, then opened Calibre, and I still do not see anything in the Library. What was it supposed to do? I did not try to Add Books again, I just ran Calibre to see if it found the Library I had previsouly created.
Here is the output in Terminal:
[COMP NAME]:~ Chris$ calibredb add 'path/to/an/ebook/file
> calibredb add 'path/to/an/ebook/file
Traceback (most recent call last):
File "/Applications/calibre.app/Contents/Resources/loaders/calibredb.py", line 9, in <module>
main()
File "/Applications/calibre.app/Contents/Resources/lib/python2.6/site-packages.zip/calibre/library/cli.py", line 542, in main
File "/Applications/calibre.app/Contents/Resources/lib/python2.6/site-packages.zip/calibre/library/cli.py", line 333, in command_add
File "/Applications/calibre.app/Contents/Resources/lib/python2.6/site-packages.zip/calibre/library/cli.py", line 265, in do_add
File "calibre/library/database2.pyo", line 1172, in add_books
StopIteration
[COMP NAME]:~ Chris$ calibredb list
idtitleauthors
Knocka is offline   Reply With Quote
Old 03-13-2009, 02:11 PM   #11
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,776
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You need to replace /path/to/ebook/file with the path to an acual ebook file on your system
kovidgoyal is offline   Reply With Quote
Old 03-13-2009, 02:44 PM   #12
Knocka
Member
Knocka began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Mar 2009
Device: Kindle 2
I did not even read the command. I just cut and pasted it. I feel like a total idiot.
Anyway, I did it, but it did not work.
When you say "You need to replace /path/to/ebook/file with the path to an actual ebook file on your system" what do you mean? The actual .mobi file is the following path:
~/documents/ebooks/<author>/<book title>/<filename>.mobi

I tried this for one book, but the name of the <book title> folder as it appears in Finder has a (2) after it. Terminal will not allow the "(" to be used.

Also, assuming there is a way to make this command work, am I going to have to do it for every single book? That would take forever.
Knocka is offline   Reply With Quote
Old 03-13-2009, 03:02 PM   #13
Knocka
Member
Knocka began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Mar 2009
Device: Kindle 2
I also tried removing the (2) from the name of the folder and then running the command, but that did work either. Here is the Terminal info:
iMac:~ Chris$ calibredb add ~/Documents/eBooks/Robert B. Parker/EarlyAutumn/Early Autumn - Robert B. Parker.mobi
Traceback (most recent call last):
File "/Applications/calibre.app/Contents/Resources/loaders/calibredb.py", line 9, in <module>
main()
File "/Applications/calibre.app/Contents/Resources/lib/python2.6/site-packages.zip/calibre/library/cli.py", line 542, in main
File "/Applications/calibre.app/Contents/Resources/lib/python2.6/site-packages.zip/calibre/library/cli.py", line 333, in command_add
File "/Applications/calibre.app/Contents/Resources/lib/python2.6/site-packages.zip/calibre/library/cli.py", line 255, in do_add
IOError: [Errno 2] No such file or directory: u'/Users/Chris/Parker.mobi'
iMac:~ Chris$ calibredb listidtitleauthors
Knocka is offline   Reply With Quote
Old 03-13-2009, 03:10 PM   #14
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,776
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
enclose the path in quotes if it contains special characters. I'm just lookig for hte output of the commands which might help me debug what's going on
kovidgoyal is offline   Reply With Quote
Old 03-13-2009, 03:24 PM   #15
Knocka
Member
Knocka began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Mar 2009
Device: Kindle 2
Here it is:

iMac:~ Chris$ calibredb add "~/Documents/eBooks/Robert B. Parker/Early Autumn (2)/Early Autumn - Robert B. Parker.mobi"
Traceback (most recent call last):
File "/Applications/calibre.app/Contents/Resources/loaders/calibredb.py", line 9, in <module>
main()
File "/Applications/calibre.app/Contents/Resources/lib/python2.6/site-packages.zip/calibre/library/cli.py", line 542, in main
File "/Applications/calibre.app/Contents/Resources/lib/python2.6/site-packages.zip/calibre/library/cli.py", line 333, in command_add
File "/Applications/calibre.app/Contents/Resources/lib/python2.6/site-packages.zip/calibre/library/cli.py", line 255, in do_add
IOError: [Errno 2] No such file or directory: u'/Users/Chris/~/Documents/eBooks/Robert B. Parker/Early Autumn (2)/Early Autumn - Robert B. Parker.mobi'
CPG-iMac:~ Chris$ calibredb add "~/Documents/eBooks/Robert B. Parker/Early Autumn (2)/Early Autumn - Robert B. Parker.zip"
Traceback (most recent call last):
File "/Applications/calibre.app/Contents/Resources/loaders/calibredb.py", line 9, in <module>
main()
File "/Applications/calibre.app/Contents/Resources/lib/python2.6/site-packages.zip/calibre/library/cli.py", line 542, in main
File "/Applications/calibre.app/Contents/Resources/lib/python2.6/site-packages.zip/calibre/library/cli.py", line 333, in command_add
File "/Applications/calibre.app/Contents/Resources/lib/python2.6/site-packages.zip/calibre/library/cli.py", line 255, in do_add
IOError: [Errno 2] No such file or directory: u'/Users/Chris/~/Documents/eBooks/Robert B. Parker/Early Autumn (2)/Early Autumn - Robert B. Parker.zip'
Knocka is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Books are a disappearing. lente General Discussions 9 06-06-2010 01:19 PM
Disappearing files Argel Calibre 8 02-14-2010 10:42 PM
Disappearing power dwallbaum Amazon Kindle 4 05-31-2009 06:15 PM
Library keeps disappearing? AnneD Calibre 7 02-11-2009 10:26 AM
Library menu not disappearing tompe Bookeen 2 11-07-2007 07:25 AM


All times are GMT -4. The time now is 02:15 PM.


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