[GNC] how to remove sqlite lock
Stan Brown
the_stan_brown at fastmail.fm
Sat Feb 11 16:19:40 EST 2023
On 2023-02-11 12:23, Mark Hedges via gnucash-user wrote:
> I seem to have a stuck lock in my SQLite GnuCash book. Every time I open
> the file, it says:
>
> GnuCash could not obtain the lock for /Users/hedges/[...]/myfile.gnucash.
> That database may be in use by another user, in which case you should not
> open the database. What would you like to do?
> Open Read-only | Create New File | Open Anyway | Open Folder | Quit
>
> I tried "Open Anyway" but it apparently does not remove the lock.
"Open anyway" doesn't remove the lock, that's true. But it lets you open
GnuCash, and when you subsequently close GC -- either right away or
after entering some data -- GC removes the lock file at that point.
Stan Brown
Tehachapi, CA, USA
https://BrownMath.com
More information about the gnucash-user
mailing list