Hello,

I have a piece of code that works fine on my desktop in cygwin, but fails on 
our server. I am creating a simple database using the sqlite3 module in python. 
I open a connection

con=sqlite3.connect("./file.db") #works
cur=con.cursor() #works
cur.execute("""create table test(name, age)""") #fails on server, works on 
desktop

the result:
An empty file.db is created, and I get "sqlite3.OperationalError: disk I/O 
error" on the execute command.

If I use ":memory:", the command works fine. For some reason, it is having 
trouble writing to the disk. The disk is actually some networked file system; 
not sure if that matters.

Thanks,
Kerry
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to