question

Lucas Matheus avatar image
0 Likes"
Lucas Matheus asked Jeanette F commented

Error exporting results to sqlite via experimenter

While my model is running on Experimenter, an error appears in the system console " exception: query Error cannot commit - no transaction is active". In some models, some results were exported to sqlite. When the error occurs, the task hangs in "recording" status.

What could be causing this error?

1680611438832.png



FlexSim 23.0.3
experimenterresultssqlite
1680611438832.png (17.1 KiB)
· 3
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Jordan Johnson avatar image
0 Likes"
Jordan Johnson answered

I suspect having the file in a OneDrive folder is the issue. My theory is that queries that read the database work just fine, but that queries that attempt to write to the database fail. For example, beginning a transaction would require write permission, and that fails quietly. But then finishing the transaction fails loudly for some reason. In any case, I think the answer is to move the database file to somewhere besides the OneDrive folder. You can use a custom path for the file with these options:
1680625828112.png


1680625828112.png (14.8 KiB)
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.