You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
covtool/covem Usage Instructions say that it will read config at PROGRAM.covcfg if not provided.
ACTUAL
this seems to work as long as a covdb is present.
However, if it's first time running (or the covdb has been deleted), it gives error that it can't open sqllite database:
Unhandled Exception:
Mono.Data.Sqlite.SqliteException (0x80004005): Unable to open the database file
at Mono.Data.Sqlite.SQLite3.Open (System.String strFilename, Mono.Data.Sqlite.SQLiteOpenFlagsEnum flags, System.Int32 maxPoolSize, System.Boolean usePool) [0x00077] in <b696b679f9364e779a1e8ef6b77831e1>:0
at Mono.Data.Sqlite.SqliteConnection.Open () [0x00543] in <b696b679f9364e779a1e8ef6b77831e1>:0
at XR.Mono.Cover.CodeRecordData.Open (System.String file) [0x00016] in <dfdc5911426b4f4e947479649408c320>:0
at XR.Mono.Cover.CoverHostFactory.PrepareHost (XR.Mono.Cover.CoverHost host, System.String covfile) [0x00014] in <dfdc5911426b4f4e947479649408c320>:0
at XR.Mono.Cover.CoverHostFactory.CreateHost (System.String covfile, System.String program, System.String[] arguments) [0x00039] in <dfdc5911426b4f4e947479649408c320>:0
at Covtool.MainClass.Main (System.String[] vargs) [0x001ea] in <c5890b5c4a41420a923fb3ab6c63a884>:0
[ERROR] FATAL UNHANDLED EXCEPTION: Mono.Data.Sqlite.SqliteException (0x80004005): Unable to open the database file
at Mono.Data.Sqlite.SQLite3.Open (System.String strFilename, Mono.Data.Sqlite.SQLiteOpenFlagsEnum flags, System.Int32 maxPoolSize, System.Boolean usePool) [0x00077] in <b696b679f9364e779a1e8ef6b77831e1>:0
at Mono.Data.Sqlite.SqliteConnection.Open () [0x00543] in <b696b679f9364e779a1e8ef6b77831e1>:0
at XR.Mono.Cover.CodeRecordData.Open (System.String file) [0x00016] in <dfdc5911426b4f4e947479649408c320>:0
at XR.Mono.Cover.CoverHostFactory.PrepareHost (XR.Mono.Cover.CoverHost host, System.String covfile) [0x00014] in <dfdc5911426b4f4e947479649408c320>:0
at XR.Mono.Cover.CoverHostFactory.CreateHost (System.String covfile, System.String program, System.String[] arguments) [0x00039] in <dfdc5911426b4f4e947479649408c320>:0
at Covtool.MainClass.Main (System.String[] vargs) [0x001ea] in <c5890b5c4a41420a923fb3ab6c63a884>:0
This is unexpected as the sqllite database is what we want to create.
WORK-AROUND:
Use baboon_cfg environment variable to point at same file the defaults expect, eg
EXPECTED
covtool/covem Usage Instructions say that it will read config at PROGRAM.covcfg if not provided.
ACTUAL
this seems to work as long as a covdb is present.
However, if it's first time running (or the covdb has been deleted), it gives error that it can't open sqllite database:
This is unexpected as the sqllite database is what we want to create.
WORK-AROUND:
Use baboon_cfg environment variable to point at same file the defaults expect, eg
This is probably easy to fix, but wanted to log the issue.
The text was updated successfully, but these errors were encountered: