Importing a Json File which contains image_transport ROS Data in MongoDb

asked 2015-09-25 07:34:29 -0600

Diego gravatar image

updated 2015-09-26 07:08:00 -0600

Hello Everybody, I want to copy the data provided from a Json File which contains all of the components of an Image message (Inside ROS) plus other ones (like time when it was taken etc). I am importing the Json File with this command (without a --jsonArray it tells that the json file is very big to be recognized):

mongoimport -d message_store -c upper_bodies entry.json --jsonArray

However, whenever it finishes the process, a message comes and says that nothing was inserted and that there was an error, however it doesn't say what error it was. Until now I tried adding the database, adding the database with a collection from a mongodb GUI, and removing the database and repeating the procedure, however it just says:

2015-09-25T14:27:52.835+0200 check 0 0 2015-09-25T14:27:52.835+0200 imported 0 objects encountered 1 error(s)

I'm importing just one entry, nothing else. If this already happened to someone, could you please help me? I'm also adding the json file here.

Since I cannot upload here any other file different than images I addded the file here

There is just one file.

Thanks for your help guys.

edit retag flag offensive close merge delete