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 05-22-2011, 11:00 PM   #1
phenomshel
ZCD BombShel
phenomshel ought to be getting tired of karma fortunes by now.phenomshel ought to be getting tired of karma fortunes by now.phenomshel ought to be getting tired of karma fortunes by now.phenomshel ought to be getting tired of karma fortunes by now.phenomshel ought to be getting tired of karma fortunes by now.phenomshel ought to be getting tired of karma fortunes by now.phenomshel ought to be getting tired of karma fortunes by now.phenomshel ought to be getting tired of karma fortunes by now.phenomshel ought to be getting tired of karma fortunes by now.phenomshel ought to be getting tired of karma fortunes by now.phenomshel ought to be getting tired of karma fortunes by now.
 
phenomshel's Avatar
 
Posts: 4,793
Karma: 8293322
Join Date: Jan 2009
Location: The Frozen North (aka Illinois, USA)
Device: iPad, STB Kindle Oasis
Calibre library created in Windows....

...will it be okay if I move it to a Mac? My rather large calibre library was created in Windows 7. I'm trying to migrate to Mac OSX as my main o/s though, and was wondering, can I save my database/library and move it onto the Mac and just point calibre to it? Or are the two o/s's different enough that calibre will throw fits?

Thanks
phenomshel is offline   Reply With Quote
Old 05-22-2011, 11:28 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,856
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
http://calibre-ebook.com/user_manual...ter-to-another
kovidgoyal is offline   Reply With Quote
Old 05-22-2011, 11:39 PM   #3
phenomshel
ZCD BombShel
phenomshel ought to be getting tired of karma fortunes by now.phenomshel ought to be getting tired of karma fortunes by now.phenomshel ought to be getting tired of karma fortunes by now.phenomshel ought to be getting tired of karma fortunes by now.phenomshel ought to be getting tired of karma fortunes by now.phenomshel ought to be getting tired of karma fortunes by now.phenomshel ought to be getting tired of karma fortunes by now.phenomshel ought to be getting tired of karma fortunes by now.phenomshel ought to be getting tired of karma fortunes by now.phenomshel ought to be getting tired of karma fortunes by now.phenomshel ought to be getting tired of karma fortunes by now.
 
phenomshel's Avatar
 
Posts: 4,793
Karma: 8293322
Join Date: Jan 2009
Location: The Frozen North (aka Illinois, USA)
Device: iPad, STB Kindle Oasis
Thanks Kovid, missed that entirely. And I did look.
phenomshel is offline   Reply With Quote
Old 05-23-2011, 12:03 AM   #4
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,800
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by kovidgoyal View Post
You might want to update that with the new location for that function (Library Icon pull down arrow)
theducks is offline   Reply With Quote
Old 05-23-2011, 11:44 AM   #5
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,856
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by theducks View Post
You might want to update that with the new location for that function (Library Icon pull down arrow)
On a new computer clicking the button is still the correct thing to do. Only after you have created more than one library will the button change to one that always pops up a menu.
kovidgoyal is offline   Reply With Quote
Old 05-23-2011, 01:39 PM   #6
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,800
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by kovidgoyal View Post
On a new computer clicking the button is still the correct thing to do. Only after you have created more than one library will the button change to one that always pops up a menu.
Oh!
Explains it
theducks is offline   Reply With Quote
Old 07-20-2011, 11:36 PM   #7
addressee
Member
addressee began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Jun 2011
Device: iPod Touch 4g
Same database used from Windows and Mac?

(but not at the same time)

Having trouble opening Calibre library in Mac.

My Calibre library was created under Vista and successive updates to Calibre 0.8.10 have been no problem. I've recently found that I'm using a Mac (OS X 10.6.8) more often at home (Windows Vista is still my 'default' option) so I would like to be able to access the library when I'm using my Mac.

The library is stored on a Windows Home Server, and the library folder is easily accessed through Mac Finder. I installed Calibre 0.8.10 on the Mac and it runs fine. Then I chose "Switch/Create Library" to access the existing library on the server and received the following error:


Code:
calibre, version 0.8.10
ERROR: Unhandled exception: <b>DatabaseException</b>:disk I/O error
	RemoteTraceback (most recent call last):
	  File "site-packages/calibre/library/sqlite.py", line 245, in run
	  File "site-packages/calibre/library/sqlite.py", line 223, in connect
	OperationalError: disk I/O error

Traceback (most recent call last):
  File "site-packages/calibre/gui2/dialogs/choose_library.py", line 106, in accept
  File "site-packages/calibre/gui2/dialogs/choose_library.py", line 81, in perform_action
  File "site-packages/calibre/gui2/actions/choose_library.py", line 406, in choose_library_callback
  File "site-packages/calibre/gui2/ui.py", line 480, in library_moved
  File "site-packages/calibre/library/database2.py", line 191, in __init__
  File "site-packages/calibre/library/database2.py", line 142, in connect
  File "site-packages/calibre/library/sqlite.py", line 360, in connect
DatabaseException: disk I/O error
	RemoteTraceback (most recent call last):
	  File "site-packages/calibre/library/sqlite.py", line 245, in run
	  File "site-packages/calibre/library/sqlite.py", line 223, in connect
	OperationalError: disk I/O error
In the dialogue to select the library, I navigate to "/Volumes/Users-1/calibre".

Finder info for the library folder is:
Where: /Volumes/Users-1/calibre
Server: smb://hpserver/Users/calibre
It would seem to be a "disk I/O error".
When I go back to Vista, there's no problem.

Any suggestions for tweaks to allow access from Vista and Mac?

Thanks!
addressee is offline   Reply With Quote
Old 07-21-2011, 12:17 AM   #8
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
PeterT's Avatar
 
Posts: 12,166
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
Any chance you don't have access from the Mac to the share?
PeterT is offline   Reply With Quote
Old 07-21-2011, 08:31 PM   #9
addressee
Member
addressee began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Jun 2011
Device: iPod Touch 4g
Quote:
Originally Posted by PeterT View Post
Any chance you don't have access from the Mac to the share?
Hi Peter,

The share is easily and quickly accessed through Finder (more rapidly than through Explorer in Vista). So I don't see a permissions issue.

Looking back at
Quote:
Finder info for the library folder is:
Where: /Volumes/Users-1/calibre
Server: smb://hpserver/Users/calibre
... the true navigation is "/Users/calibre", not "/Users-1/calibre".
I don't know where the '-1' comes from or if it is (part of) the problem.

I was hoping that ID'ing some of the python calls might narrow it down.
I'll have to do some more testing.

thanks.

Last edited by addressee; 07-21-2011 at 08:33 PM.
addressee is offline   Reply With Quote
Old 07-21-2011, 10:32 PM   #10
addressee
Member
addressee began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Jun 2011
Device: iPod Touch 4g
Quote:
Originally Posted by addressee View Post
I was hoping that ID'ing some of the python calls might narrow it down.
I'll have to do some more testing.
I moved the library to a new folder on the WHS: "Books" using Calibre in Vista. Opened fine in Vista.

Back in OS X, opening Calibre said there was no library at the old location, would I like to try somewhere else?

Selecting the new server folder coughed up this error:

"Corrupted database"

"Your Calibre database appears to be corrupted. Do you want calibre to try to repair it automatically? If you say No, a new empty calibre library will be created."

Quote:
Traceback (most recent call last):
File "site-packages/calibre/gui2/main.py", line 215, in initialize_db
File "site-packages/calibre/library/database2.py", line 191, in __init__
File "site-packages/calibre/library/database2.py", line 142, in connect
File "site-packages/calibre/library/sqlite.py", line 360, in connect
DatabaseException: disk I/O error
RemoteTraceback (most recent call last):
File "site-packages/calibre/library/sqlite.py", line 245, in run
File "site-packages/calibre/library/sqlite.py", line 223, in connect
OperationalError: disk I/O error
Selected: Yes:

"ERROR: Repair failed. Starting with a new empty library."

Quote:
Traceback (most recent call last):
File "site-packages/calibre/gui2/main.py", line 137, in run
File "site-packages/calibre/debug.py", line 67, in reinit_db
File "site-packages/calibre/library/sqlite.py", line 360, in connect
DatabaseException: disk I/O error
RemoteTraceback (most recent call last):
File "site-packages/calibre/library/sqlite.py", line 245, in run
File "site-packages/calibre/library/sqlite.py", line 223, in connect
OperationalError: disk I/O error
Cancelled out to quit Calibre.

Relaunched to an empty at a new empty folder "/volumes/Mac.booktest" on the server. So I can't see this being a server/permissions issue.

I keep many things on this local server from music to photos, docs, video files, etc., all of which can be accessed through Vista, Win7 and OSX, as well as other devices such as a WDTVlive device. So it's down to Calibre.

Plug-Ins? I don't recall installing any, but am wondering if an oversight may be the culprit. That being said, there are so many default plug-ins I wouldn't know where to start.

Plug-In Tweaks? (author name sort? remove yellow box around library?) ?

(We need a new bumper sticker: "I'd rather be reading".)
addressee is offline   Reply With Quote
Old 07-21-2011, 10:45 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,856
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You are trying to run calibre on a network file system. That is not recommended. Most network filesystem have broken implementations of file locking, which means sqlite will not work with them.
kovidgoyal is offline   Reply With Quote
Old 07-21-2011, 11:54 PM   #12
addressee
Member
addressee began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Jun 2011
Device: iPod Touch 4g
I would have expected a similar result to those running Calibre against a network service like Dropbox. It has been working well from Vista, with the library on the WHS share. Any slugishness I had put down to Vista. Maybe I should try running from a Linux distro.
addressee is offline   Reply With Quote
Old 07-22-2011, 12:45 AM   #13
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,856
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
dropbox is not a network filesystem, dropbox syncs changed files to/from the network.
kovidgoyal is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is is possible to download to a K3 a calibre library created for a DX? ccarree Calibre 10 10-19-2010 07:39 AM
New ticket created for hosted calibre environment astrodad Calibre 0 07-12-2010 03:18 PM
Delete collections created with calibre VICTORSJG Calibre 7 03-18-2010 07:22 AM
Share Calibre library between Windows and Mac concern Calibre 2 01-20-2010 09:53 PM
Retrieve Calibre library after Windows crash? BikinOn Calibre 3 05-25-2009 02:45 PM


All times are GMT -4. The time now is 06:08 PM.


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