> For the record, "delete the journal file" is terrible advice
Agreed. In normal production environment, I wouldn't suggest that. The
user was testing a database, and in my own developemtn cycle, its common
when developing for a database to be in all manners of chaos states. It
was purely a 'go
On 2018/10/15 5:05 AM, Rowan Worth wrote:
On Sat, 13 Oct 2018 at 02:20, Lars Frederiksen wrote:
Any ideas?
Not sure if this got resolved off-list, but based on the code you've posted
I wonder if there is an "fdqGloser" as well as an "fdqGloser2", and if so
what state it is in.
Update: Thi
On Sat, 13 Oct 2018 at 02:20, Lars Frederiksen wrote:
> I type info into some labeledits and by pressing "Append to DB" button
> this code is executed (fdqGoser2 is a FDQuery)
>
> fdqGloser2.Open;
> fdqGloser2.Append;
> fdqGloser2.FieldByName('Graesk').AsString:= ledGræsk.Text;
> ...
> fd
On Sat, 13 Oct 2018 at 00:21, Chris Locke wrote:
> > Database is locked
>
> Close your application. Is there a xxx-journal file in the same directory
> as the database? (where xxx is the name of the database)
> Try deleting this file.
>
For the record, "delete the journal file" is terrible advi
On 2018/10/12 8:19 PM, Lars Frederiksen wrote:
I type info into some labeledits and by pressing "Append to DB" button this
code is executed (fdqGoser2 is a FDQuery)
fdqGloser2.Open;
fdqGloser2.Append;
fdqGloser2.FieldByName('Graesk').AsString:= ledGræsk.Text;
fdqGloser2.FieldByName(
ailinglists.sqlite.org] På
vegne af Stephen Chrzanowski
Sendt: 12. oktober 2018 19:47
Til: General Discussion of SQLite Database
Emne: Re: [sqlite] error message: [FireDAC][Phys][SQLite] Database is locked
FSCK is File System ChecK, so the equivalent in Windows Scandisk.
Trace through the code to find o
qlite-users [mailto:sqlite-users-
>boun...@mailinglists.sqlite.org] On Behalf Of Lars Frederiksen
>Sent: Friday, 12 October, 2018 06:26
>To: 'SQLite mailing list'
>Subject: Re: [sqlite] error message: [FireDAC][Phys][SQLite] Database
>is locked
>
>That is: I
FSCK is File System ChecK, so the equivalent in Windows Scandisk.
Trace through the code to find out when exactly the SQLite is reporting the
lock. Is it at a query, on opening, is it multi-thread or
multi-application access? Is the query taking too long? If you're
debugging and everything is w
se-
Fra: sqlite-users [mailto:sqlite-users-boun...@mailinglists.sqlite.org] På
vegne af Chris Locke
Sendt: 12. oktober 2018 18:22
Til: SQLite mailing list
Emne: Re: [sqlite] error message: [FireDAC][Phys][SQLite] Database is locked
> Database is locked
Close your application. Is there a
o filesystem corruption? Have you tried an
>> fsck?
>>
>>
>> - Original Message -
>> From: R Smith
>> To: sqlite-users@mailinglists.sqlite.org <
>> sqlite-users@mailinglists.sqlite.org>
>> Sent: Friday, October 12, 2018, 17:35:28
>&
Could the problem arise due to filesystem corruption? Have you tried an fsck?
- Original Message -
From: R Smith
To: sqlite-users@mailinglists.sqlite.org
Sent: Friday, October 12, 2018, 17:35:28
Subject: [sqlite] error message: [FireDAC][Phys][SQLite] Database is locked
On 2018/10/12
On 2018/10/12 2:44 PM, Lars Frederiksen wrote:
I have tried that too! - I must admit that right now I am turning to a KISS
solution: String-based database with functions and procedures in a class that
handles the different jobs you do on a table. After all these old-fashioned
DB's are not so p
?
/Lars
-Oprindelig meddelelse-
Fra: sqlite-users [mailto:sqlite-users-boun...@mailinglists.sqlite.org] På
vegne af Radovan Antloga
Sendt: 12. oktober 2018 10:10
Til: sqlite-users@mailinglists.sqlite.org
Emne: Re: [sqlite] error message: [FireDAC][Phys][SQLite] Database is locked
Try to
-
Fra: sqlite-users [mailto:sqlite-users-boun...@mailinglists.sqlite.org] På
vegne af Stephen Chrzanowski
Sendt: 12. oktober 2018 14:37
Til: General Discussion of SQLite Database
Emne: Re: [sqlite] error message: [FireDAC][Phys][SQLite] Database is locked
How about moving the databases else
nately!
>
> -Oprindelig meddelelse-
> Fra: sqlite-users [mailto:sqlite-users-boun...@mailinglists.sqlite.org]
> På vegne af Stephen Chrzanowski
> Sendt: 12. oktober 2018 14:25
> Til: General Discussion of SQLite Database
> Emne: Re: [sqlite] error message: [FireDAC
Database
Emne: Re: [sqlite] error message: [FireDAC][Phys][SQLite] Database is locked
Change the timeout value on the connection to 5 seconds or so. The DB will
retry. The AV has its grip on it, doing a scan, and won't let anything
else touch it until its done.
On Fri, Oct 12, 2018 at 3:11 AM
@mailinglists.sqlite.org
Emne: Re: [sqlite] error message: [FireDAC][Phys][SQLite] Database is locked
Try to change database name (extension).
For example:
mydb.sqlite
mydb.sdb
mydb.db3
I would use .sqlite extension and exclude that
files from antivirus check.
Regards
Lars Frederiksen je 12.10.2018 ob
Change the timeout value on the connection to 5 seconds or so. The DB will
retry. The AV has its grip on it, doing a scan, and won't let anything
else touch it until its done.
On Fri, Oct 12, 2018 at 3:11 AM Lars Frederiksen wrote:
> Hello,
>
> I have made (in Delphi) a program that writes to
without this error?
/Lars
-Oprindelig meddelelse-
Fra: sqlite-users [mailto:sqlite-users-boun...@mailinglists.sqlite.org] På
vegne af Radovan Antloga
Sendt: 12. oktober 2018 10:10
Til: sqlite-users@mailinglists.sqlite.org
Emne: Re: [sqlite] error message: [FireDAC][Phys][SQLite] Database
Try to change database name (extension).
For example:
mydb.sqlite
mydb.sdb
mydb.db3
I would use .sqlite extension and exclude that
files from antivirus check.
Regards
Lars Frederiksen je 12.10.2018 ob 9:11 napisal:
Hello,
I have made (in Delphi) a program that writes to a sqlite database. Th
Hello,
I have made (in Delphi) a program that writes to a sqlite database. This is
a simple stand-alone solution. Now something is blocking for the programs
attempt to writing to the databse. There is a an error message:
[FireDAC][Phys][SQLite] Database is locked.
A friend of mine has analysed
21 matches
Mail list logo