Db error

V2 error reports
Post Reply
Ab6kx
Novice Class
Posts: 19
Joined: 16 Jan 2021, 08:04

Db error

Post by Ab6kx »

Hi all. New user of log4om.

Everything is fine until I shut down the program. When I launch it the db is corrupt and I have to create new db and import back up. The log references db being read only. I have run the program as administrator but not change. Eberything is fine until I close and re open. While open all functions work.

Thanks in advance
User avatar
G4POP
Log4OM Alpha Team
Posts: 10752
Joined: 21 Jan 2013, 14:55
Location: Burnham on Crouch, Essex UK

Re: Db error

Post by G4POP »

Where have you stored the sqlite database, what foldér?
73 Terry G4POP
Ab6kx
Novice Class
Posts: 19
Joined: 16 Jan 2021, 08:04

Re: Db error

Post by Ab6kx »

In my documents folder. And this is windows 10
User avatar
G4POP
Log4OM Alpha Team
Posts: 10752
Joined: 21 Jan 2013, 14:55
Location: Burnham on Crouch, Essex UK

Re: Db error

Post by G4POP »

Have you checked that the folder of the file are not write protected like read only?

Clearly this is an authority issue so try running Log4OM as an administrator
73 Terry G4POP
Ab6kx
Novice Class
Posts: 19
Joined: 16 Jan 2021, 08:04

Re: Db error

Post by Ab6kx »

Hi there. I seem to have found the solution. Run as admin wasnt needed but rather AVG antivirus needed to have the program added as an exception in order to allot it to write a db file to my documents. I have added exception and it seems to work at this time. Thanks for the assistance.
User avatar
G4POP
Log4OM Alpha Team
Posts: 10752
Joined: 21 Jan 2013, 14:55
Location: Burnham on Crouch, Essex UK

Re: Db error

Post by G4POP »

:D :D :D :D
73 Terry G4POP
User avatar
DF5WW
Log4OM Alpha Team
Posts: 2031
Joined: 02 May 2013, 09:49
Location: Kraam, Rhineland Palatinate, Germany
Contact:

Re: Db error

Post by DF5WW »

By the way, if you use Log4OM togehter with Omnirig and different Softwares like WSJT-X/JTDX
it´s absloutely needed to run all of this softwares with administrator rights. Only this makes it
possible that the multithreading in Omnirig can work.

Only as a remeinder ...
73´s .. Juergen ... ALT-512 SDR (10W) , 50 m random wire at SG-211 autotuner, 2 x Xiegu G90 (20W HF TRX) one as portable Radio. Also TS-790E (40 W) for VHF/UHF with X-50 vertical and Duoband 4-Element LPDA.
F4WBL
Novice Class
Posts: 18
Joined: 25 Mar 2020, 12:39

Re: Db error

Post by F4WBL »

Hello
A comment if you have de database error = Stop your antivirus

A friend of mine had the following error
[EXCEPTION] attempt to write a readonly database
attempt to write a readonly database

After investigation
It was AVAST antivirus that was creating the trouble

Regards
F4WBL
Post Reply