Gnucash thinks data file is read-only, how to open it for writing?

Derek Atkins warlord at MIT.EDU
Thu Jul 18 10:35:09 EDT 2013


Ben Finney <ben+gnome at benfinney.id.au> writes:

> Colin Law <clanlaw at googlemail.com> writes:
>
>> On 18 July 2013 01:32, John Ralls <jralls at ceridwen.us> wrote:
>> > You can use the sqlite3 command-line tool to remove the lock:
>> > sqlite> DELETE FROM gnclock;
>> > sqlite> ^D
>>
>> I don't use sqlite but is it not the same as when using XML format,
>> that if the lock is present on starting one gets an option to open it
>> read-write anyway, and from then on all should be well?
>
> This is dealt with in my initial message in this thread. Here is the
> relevant part again:
>
> Ben Finney <ben+gnome at benfinney.id.au> writes:
>
>> Recently, Gnucash (v. 2.4.13) failed to open a data file, complaining
>> it couldn't get a lock. I closed Gnucash to deal with this, couldn't
>> find a lock file anywhere, and re-opened Gnucash. From that point on,
>> though, Gnucash doesn't complain, but neither will it allow me to save
>> any changes to the file.

See, this is part of your problem.  You should have used "Open Anyways"
to steal the lock.

-derek

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available


More information about the gnucash-user mailing list