introlab / rtabmap

RTAB-Map library and standalone application
https://introlab.github.io/rtabmap
Other
2.75k stars 785 forks source link

Fatal error when closing database on Windows (0.11.12, 0.11.13) #159

Closed matlabbe closed 6 years ago

matlabbe commented 7 years ago

unnamed

matlabbe commented 7 years ago

The temporary database path is wrong: "\rtabmap.tmp.db". It should point to a working directory where the user has write permission. What is the working directory stated in Preferences(Advanced)->RTAB-Map Settings, mine is C:/Users/Mathieu/Documents/RTAB-Map:

capture

I updated the error message in this commit to:

[FATAL] (2017-01-27 14:29:37) DBDriverSqlite3.cpp:439::rtabmap::DBDriverSqlite3::disconnectDatabaseQuery() Condition (rc == SQLITE_OK) not met! [DB error (0.11.14), could not save "\rtabmap.tmp.db": not an error. Make sure that your user has write permission on the target directory (you may have to change the working directory). ]