Hello,
@switt4 and I have run into an issue using DataLad on the CBS Server that we’ve narrowed down to stemming from SQLite3 not working properly due to a filesystem lock.
A minimal example is the following Python script:
#!/usr/bin/python3
import sqlite3
con = sqlite3.connect("example.db")
cur = con.cursor()
cur.execute("create table foo (name varchar);")
con.commit()
con.close()
Which crashes with the following traceback:
Traceback (most recent call last):
File "show_sqlite_error.py", line 7, in <module>
cur.execute("create table foo (name varchar);")
sqlite3.OperationalError: database is locked
I don’t really know enough about sqlite3 or CIFS to know if there’s a straightforward way to debug or fix this – @mklassen I think you’ve looked at the filesystem issues before but let me know if there’s someone better to ask or if you know of a good way for me to track this down.
Thanks!