Skip to content

DateTime parsing issue in RAG #39

Description

@eerojaaskelainen

Greetings!

There seems to be an issue with dateTime parsing. Logs report:

[15.00.16.019] [INFO] [AGENT] Updating 624 files in persistent storage...
[15.02.30.810] [INFO] [AGENT] Starting differential SQLite sync...
[15.02.31.948] [ERROR] [GENERAL] [RAG] Failed to read DB snapshot
[Exception] FormatException: String was not recognized as a valid DateTime.
[StackTrace]    at System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles)
   at Microsoft.Data.Sqlite.SqliteValueReader.GetDateTime(Int32 ordinal)
   at LocalPilot.Services.ProjectContextService.<GetFileHashesFromDbAsync>d__13.MoveNext()

[15.02.32.034] [INFO] [AGENT] Updating 624 files in persistent storage...
[15.02.41.377] [INFO] [AGENT] Starting differential SQLite sync...
[15.02.42.510] [ERROR] [GENERAL] [RAG] Failed to read DB snapshot
[Exception] FormatException: String was not recognized as a valid DateTime.
[StackTrace]    at System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles)
   at Microsoft.Data.Sqlite.SqliteValueReader.GetDateTime(Int32 ordinal)
   at LocalPilot.Services.ProjectContextService.<GetFileHashesFromDbAsync>d__13.MoveNext()

[15.02.42.601] [INFO] [AGENT] Updating 624 files in persistent storage...
[15.03.36.953] [INFO] [AGENT] Starting differential SQLite sync...
[15.03.38.083] [ERROR] [GENERAL] [RAG] Failed to read DB snapshot
[Exception] FormatException: String was not recognized as a valid DateTime.
[StackTrace]    at System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles)
   at Microsoft.Data.Sqlite.SqliteValueReader.GetDateTime(Int32 ordinal)
   at LocalPilot.Services.ProjectContextService.<GetFileHashesFromDbAsync>d__13.MoveNext()

System is running on Finnish locale (fi_FI), wondering that could that affect?

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions