I just tried to rebuild a Fossil repo that I’d lost permission to read due to some sysadmin silliness, and got spammed by this in a rapid loop:
PRAGMA database_list SQLITE_CANTOPEN: cannot open file at line 36229 of [1a584e4999] SQLITE_CANTOPEN: os_unix.c:36229: (2) open(/nunya/binness.fossil-wal) - No such file or directory SQLITE_CANTOPEN: unable to open database file fossil: unable to open database file If Fossil didn’t need to be portable, I’d suggest calling access(“file”, R_OK | W_OK) before attempting to open the file, then exit if it’s inaccessible by configuration. Whatever the equivalent is under SQLite’s VFS, do that instead. :) I assume this is happening because the code wrapping this call is assuming it’s running into a locked DB and that the problem will eventually clear up when the other process lets go. _______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users