2024-04-12, 04:42 AM
Quote:If in fact GetOrdinal is generating the offending column index that's being used (that's what I gathered from your description), then shouldn't the calls to it be a critical part of the code to be examined? I can't spot any calls to it at least.NextPVR is not calling it itself. The stack trace indicates that Microsoft's SQLite data libraries are calling it somewhere within their implementation of ExecuteNonQuery(). We don't have any visibility of what they're doing inside that call.
Honestly though, since you're the only person to ever report this, over ten's of thousands of downloads, I suspect it's not an application issue, but something like conflicting OS package versions or permissions, and it's just reporting in an unexpected way.
Code:
2024-04-12 04:23:50.138 [ERROR][24] Unexpected error saving capture source: Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 1: 'no such column: −1'.
at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)
at Microsoft.Data.Sqlite.SqliteCommand.PrepareAndEnumerateStatements(Stopwatch timer)+MoveNext()
at Microsoft.Data.Sqlite.SqliteCommand.GetStatements(Stopwatch timer)+MoveNext()
at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader()
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteNonQuery()
at NShared.Visible.CaptureSource.Save()
Got any other Linux machines around you can try it on?