neumino / chateau

Another (awesome) data explorer for RethinkDB
207 stars 38 forks source link

table import data error #72

Open mohit5540 opened 6 years ago

mohit5540 commented 6 years ago

Hello Guys

I exported table data (json file) from chateau application. But while importing via import functionality following error shown in console :

TypeError: Cannot read property 'file' of undefined at exports.importTable (/usr/local/lib/node_modules/chateau/routes/api.js:380:52) at callbacks (/usr/local/lib/node_modules/chateau/node_modules/express/lib/router/index.js:161:37) at param (/usr/local/lib/node_modules/chateau/node_modules/express/lib/router/index.js:135:11) at pass (/usr/local/lib/node_modules/chateau/node_modules/express/lib/router/index.js:142:5) at Router._dispatch (/usr/local/lib/node_modules/chateau/node_modules/express/lib/router/index.js:170:5) at Object.router [as handle] (/usr/local/lib/node_modules/chateau/node_modules/express/lib/router/index.js:33:10) at next (/usr/local/lib/node_modules/chateau/node_modules/connect/lib/proto.js:190:15) at Object.staticMiddleware [as handle] (/usr/local/lib/node_modules/chateau/node_modules/connect/lib/middleware/static.js:55:61) at next (/usr/local/lib/node_modules/chateau/node_modules/connect/lib/proto.js:190:15) at Object.methodOverride [as handle] (/usr/local/lib/node_modules/chateau/node_modules/connect/lib/middleware/methodOverride.js:49:5) at next (/usr/local/lib/node_modules/chateau/node_modules/connect/lib/proto.js:190:15) at Object.urlencoded [as handle] (/usr/local/lib/node_modules/chateau/node_modules/connect/lib/middleware/urlencoded.js:54:72) at next (/usr/local/lib/node_modules/chateau/node_modules/connect/lib/proto.js:190:15) at Object.json [as handle] (/usr/local/lib/node_modules/chateau/node_modules/connect/lib/middleware/json.js:56:55) at next (/usr/local/lib/node_modules/chateau/node_modules/connect/lib/proto.js:190:15) at Object.expressInit [as handle] (/usr/local/lib/node_modules/chateau/node_modules/express/lib/middleware.js:30:5)

Is there any fix available for this.

Regards