Calibre hangs when the collection is in an NFS directory

Bug #792766 reported by Damian Nadales
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
calibre
Won't Fix
Undecided
Unassigned

Bug Description

I set up my ebook library in a NFS folder, and calibre hung. I've tried creating the following options:
    0. create a symbolic link
    1. start calibre using a local folder, then move the folder to the NFS directory and make a symbolic link
but I got the same results.

calibre --verbose does not give any useful output.

calibre-debug fails with the following message:
Traceback (most recent call last):
  File "/usr/bin/calibre-debug", line 19, in <module>
    sys.exit(main())
  File "/usr/lib/calibre/calibre/debug.py", line 232, in main
    ipython()
  File "/usr/lib/calibre/calibre/__init__.py", line 567, in ipython
    from IPython.Shell import IPShellEmbed
ImportError: No module named IPython.Shell

I'm using version 0.7.44, installed from Ubuntu 11.04 repositories.

Revision history for this message
John Schember (user-none) wrote :

Support for distro packages are not supported. Ubuntu modifies calibre in ways that break it. Use the binary installer from http://calibre-ebook.com . If you experience the issue using the binary installer please reopen this bug.

Changed in calibre:
status: New → Won't Fix
Revision history for this message
Damian Nadales (dnadales) wrote :

I installed the binary version as you told me and the problem persists. Should I reopen the bug or do I try to re-submit it?

Thanks.

Revision history for this message
John Schember (user-none) wrote :

I've reopened it for you.

Changed in calibre:
status: Won't Fix → New
Revision history for this message
Kovid Goyal (kovid) wrote : Re: calibre bug 792766

File locking on NFS is notoriously poor, sqlite does not work well with it. I
have heard of people having good results putting the calibre library on other
network shares, the most common being dropbox.

 status wontfix

Changed in calibre:
status: New → Won't Fix
Revision history for this message
Tomasz Długosz (tomek3d) wrote :

What about checking whether database is on nfs mounted share on startup, and providing it is, copying it to, say, /tmp. The ebook files themself may stay on the network share. When calibre gets closed, the database could be sent back to the nfs share.

This of course leaves place for not updated database in case of calibre hang...

What do you think?

Revision history for this message
Kovid Goyal (kovid) wrote :

See http://manual.calibre-ebook.com/customize.html#environment-variables in particular CALIBRE_OVERRIDE_DATABASE_PATH

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.