Cannot open .db file using rtabmap-databaseViewer

asked 2019-10-24 17:09:00 -0600

mjs gravatar image

I'm having issues opening a .db file using rtabmap-databaseViewer on my computer. Has anyone seen this error ?

   [FATAL] (2019-10-24 14:54:55.373) DBDriverSqlite3.cpp:484::executeNoResultQuery() Condition (rc == SQLITE_OK) not met! [DB error: file is encrypted or is not a database, the query is PRAGMA cache_size = 10000;]
terminate called after throwing an instance of 'UException'
  what():  [FATAL] (2019-10-24 14:54:55.373) DBDriverSqlite3.cpp:484::executeNoResultQuery() Condition (rc == SQLITE_OK) not met! [DB error: file is encrypted or is not a database, the query is PRAGMA cache_size = 10000;]
Aborted (core dumped)

The file can only be opened on a subset of the computers, which all run Ubuntu 16.04, ROS Kinetic and RTAB-Map 0.19.3. The orignal file was created on a separate computer and then transferred over to the others. I've tried transferring files using a usb drive, google drive and git lfs (in case they were getting corrupted during the process). However, since the file can be opened on some computers and not others, this leads me to believe there are some software discrepancies between the computers that are causing this. The same issues occur using different .db files too.

Thanks!

edit retag flag offensive close merge delete

Comments

Can you share the database that is causing problems?

matlabbe gravatar imagematlabbe ( 2019-10-24 21:29:14 -0600 )edit