Re: Database malformed

Posted by matlabbe on
URL: http://official-rtab-map-forum.206.s1.nabble.com/Database-malformed-tp10500p10502.html

Hi Pierre,

That kind of error would happen when sqlite3 is not able to read the file. You may try this: https://stackoverflow.com/questions/5274202/sqlite3-database-or-disk-is-full-the-database-disk-image-is-malformed before doing rtabmap-recovery. As long as the Node and Data tables are readable, rtabmap should be able to recover some of it. I could be very interested to know if this could work! There are many answers on that post, if you could be able to share that database to me (to my username at gmail), I could try some of them to see which one can recover the most data in your case.

EDIT: found also these posts with similar issue:
 * https://github.com/ros2/rosbag2/issues/1029
 * https://stackoverflow.com/questions/18259692/how-to-recover-a-corrupt-sqlite3-database/57872238#57872238

cheers,
Mathieu