VRS quitting after splash screen

Bug reports and questions about running Virtual Radar Server on Linux
Post Reply
Posts: 1
Joined: Fri Aug 29, 2014 2:53 pm
Location: United States

VRS quitting after splash screen

Post by morkunas » Fri Aug 29, 2014 3:11 pm

I just loaded VRS and mono on my Linux Mint 16 laptop. VRS is able to start but a dialog box pops 'Unable to open the database file.' After clicking OK VRS exits. I have included the VRS log file and a screen shot of the dialog box.


[2014-08-29 14:02:50.986 UTC] [t4] Program started, version
[2014-08-29 14:02:51.001 UTC] [t4] Working folder /home/morkunas/.local/share/VirtualRadar
[2014-08-29 14:02:51.144 UTC] [t4] Exception caught during load of standing data: Mono.Data.Sqlite.SqliteException: Unable to open the database file
at Mono.Data.Sqlite.SQLite3.Open (System.String strFilename, SQLiteOpenFlagsEnum flags, Int32 maxPoolSize, Boolean usePool) [0x00000] in <filename unknown>:0
at Mono.Data.Sqlite.SqliteConnection.Open () [0x00000] in <filename unknown>:0
[2014-08-29 14:03:02.732 UTC] [t4] Connecting to Receiver

VRS.png (18.77 KiB) Viewed 1825 times

Posts: 365
Joined: Sat Feb 09, 2013 12:15 pm
Location: Wick St Lawrence

Re: VRS quitting after splash screen

Post by jonfear » Fri Aug 29, 2014 3:34 pm


It looks like it cannot download the standing data file from the main server. Does the machine have internet access?

http://www.360radar.co.uk, the new name for MLAT Radar in the UK and Western Europe.

Former PP feeder Bm. No longer feeding. I do not have time to sort out imaginary problems with NTP
when it has been working fine for 2+ Years.

Posts: 2241
Joined: Fri Feb 17, 2012 3:20 am

Re: VRS quitting after splash screen

Post by agw » Sat Aug 30, 2014 12:57 am

When the program is first installed there is no standing data database - that gets downloaded in the background once the program is up and running. The program knows when the files aren't there and won't try to load them if they're missing.

When they are downloaded they *should* be given temporary names during the download and then, once the download is complete, the temporary files are swapped into place. It sounds like something might have gone wrong there.

If you go into .local/share/VirtualRadar you will probably see a file called StandingData.sqb and another called FlightNumberCoverage.csv. The temporary files used during download have the same names but with an extension of ".tmp".

If you do have a StandingData.sqb, how large it is? Ditto for FlightNumberCoverage.csv?

Once you've noted the size you can try moving or deleting them. That should let the program start up.

If the files are not there then something went wrong when the program tried to figure out if the files are present. How are you running VRS, is it just a straight "mono VirtualRadar.exe" from the command-line or are you sandboxing it? If you are running it in a sandbox then VRS will need unfettered access to its configuration folder. By default that's ~/.local/share/VirtualRadar but you can specify another configuration folder with the switch -workingFolder:<path to working folder> (no space around the colon).

Post Reply