MobileRead Forums

MobileRead Forums (https://www.mobileread.com/forums/index.php)
-   Calibre (https://www.mobileread.com/forums/forumdisplay.php?f=166)
-   -   Database locked using WebDav folder on Mac OS X (https://www.mobileread.com/forums/showthread.php?t=27297)

astrodad 08-03-2008 03:29 PM

Database locked using WebDav folder on Mac OS X
 
Hullo,

I'm trying out using a calibre db on a webdav folder instead over sftp mapped drive but no matter what I try, I get a database locked error trying to run calibre with the webdav drive.

Here is the console output: any ideas?

Quote:

===== Sunday, August 3, 2008 2:28:13 PM US/Eastern =====
Couldn't resolve property: linearGradient5167
Traceback (most recent call last):
File "/Applications/calibre.app/Contents/Resources/__boot__.py", line 208, in <module>
_run('main.py')
File "/Applications/calibre.app/Contents/Resources/__boot__.py", line 135, in _run
execfile(path, globals(), globals())
File "/Applications/calibre.app/Contents/Resources/main.py", line 1258, in <module>
sys.exit(main())
File "/Applications/calibre.app/Contents/Resources/main.py", line 1248, in main
main = Main(single_instance, opts)
File "/Applications/calibre.app/Contents/Resources/main.py", line 196, in __init__
self.library_view.set_database(self.database_path)
File "calibre/gui2/library.pyo", line 505, in set_database
File "calibre/gui2/library.pyo", line 127, in set_database
File "calibre/library/database.pyo", line 791, in __init__
File "calibre/library/database.pyo", line 815, in fget
sqlite3.OperationalError: database is locked
2008-08-03 14:28:23.496 calibre[2863] calibre Error
2008-08-03 14:28:23.496 calibre[2863] calibre Error
An unexpected error has occurred during execution of the main script

OperationalError: database is locked
I can open and write other files with no problem.

kovidgoyal 08-03-2008 05:21 PM

Try one of the solutions from here http://www.sqlite.org/cvstrac/wiki?p=SqliteNetwork

astrodad 08-03-2008 09:13 PM

How would one take advantage of any of these solutions without changes to the code?

kovidgoyal 08-03-2008 10:35 PM

Hmm i though usqlite would be a drop in replacement, but apparently not. Unfortunately, I dont have any experience with sqlite on webdav, so I don't have any insights to offer.

astrodad 08-04-2008 02:01 PM

Maybe i'll take a look at what it would take to implement one of these. I've been making changes to my own build here, so this would be another step in my Python programming.


All times are GMT -4. The time now is 05:53 PM.

Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.