officert / mongotron

Cross platform Mongo DB management
http://mongotron.io
MIT License
2.69k stars 214 forks source link

Fresh install, fresh connection: cannot save anything #153

Open stanislaw opened 7 years ago

stanislaw commented 7 years ago

Just installed mongotron 1.0.0-alpha.5, opened connection to a database. I see the data, however when I am trying to edit it, I'm getting:

Unexpected number

 Hide Stack
SyntaxError: Unexpected number at /Applications/Mongotron.app/Contents/Resources/app.asar/node_modules/lib/modules/expression/index.js:162:16 at Promise._execute (/Applications/Mongotron.app/Contents/Resources/app.asar/node_modules/bluebird/js/release/debuggability.js:159:9) at Promise._resolveFromExecutor (/Applications/Mongotron.app/Contents/Resources/app.asar/node_modules/bluebird/js/release/promise.js:460:18) at new Promise (/Applications/Mongotron.app/Contents/Resources/app.asar/node_modules/bluebird/js/release/promise.js:76:14) at _eval (/Applications/Mongotron.app/Contents/Resources/app.asar/node_modules/lib/modules/expression/index.js:140:10) at /Applications/Mongotron.app/Contents/Resources/app.asar/node_modules/lib/modules/expression/index.js:39:9 at Promise._execute (/Applications/Mongotron.app/Contents/Resources/app.asar/node_modules/bluebird/js/release/debuggability.js:159:9) at Promise._resolveFromExecutor (/Applications/Mongotron.app/Contents/Resources/app.asar/node_modules/bluebird/js/release/promise.js:460:18) at new Promise (/Applications/Mongotron.app/Contents/Resources/app.asar/node_modules/bluebird/js/release/promise.js:76:14) at Expression.evaluate (/Applications/Mongotron.app/Contents/Resources/app.asar/node_modules/lib/modules/expression/index.js:32:14) at Scope.$scope.$watch.$scope.$on.$scope.saveChanges.expression.evaluate.then.activeTab.collection.updateOne.then.$timeout.catch.catch.err [as saveChanges] (file:///Applications/Mongotron.app/Contents/Resources/app.asar/src/ui/directives/inlineEditor/inlineEditorCtrl.js:49:18) at fn (eval at <anonymous> (file:///Applications/Mongotron.app/Contents/Resources/app.asar/src/ui/vendor/angular/angular.js:1:0), <anonymous>:4:224) at callback (file:///Applications/Mongotron.app/Contents/Resources/app.asar/src/ui/vendor/angular/angular.js:23613:17) at Scope.$eval (file:///Applications/Mongotron.app/Contents/Resources/app.asar/src/ui/vendor/angular/angular.js:16052:28) at Scope.$apply (file:///Applications/Mongotron.app/Contents/Resources/app.asar/src/ui/vendor/angular/angular.js:16152:25) at HTMLButtonElement.<anonymous> (file:///Applications/Mongotron.app/Contents/Resources/app.asar/src/ui/vendor/angular/angular.js:23618:23) at HTMLButtonElement.n.event.dispatch (/Applications/Mongotron.app/Contents/Resources/app.asar/src/ui/vendor/jquery/dist/jquery.min.js:3:6466) at HTMLButtonElement.r.handle (/Applications/Mongotron.app/Contents/Resources/app.asar/src/ui/vendor/jquery/dist/jquery.min.js:3:3241)

and slightly different stack on another attempt to edit a text field with value "LL":

LL is not defined

 Hide Stack
ReferenceError: LL is not defined at evalmachine.<anonymous>:1:1 at ContextifyScript.Script.runInNewContext (vm.js:18:15) at /Applications/Mongotron.app/Contents/Resources/app.asar/node_modules/lib/modules/expression/index.js:170:23 at Promise._execute (/Applications/Mongotron.app/Contents/Resources/app.asar/node_modules/bluebird/js/release/debuggability.js:159:9) at Promise._resolveFromExecutor (/Applications/Mongotron.app/Contents/Resources/app.asar/node_modules/bluebird/js/release/promise.js:460:18) at new Promise (/Applications/Mongotron.app/Contents/Resources/app.asar/node_modules/bluebird/js/release/promise.js:76:14) at _eval (/Applications/Mongotron.app/Contents/Resources/app.asar/node_modules/lib/modules/expression/index.js:140:10) at /Applications/Mongotron.app/Contents/Resources/app.asar/node_modules/lib/modules/expression/index.js:39:9 at Promise._execute (/Applications/Mongotron.app/Contents/Resources/app.asar/node_modules/bluebird/js/release/debuggability.js:159:9) at Promise._resolveFromExecutor (/Applications/Mongotron.app/Contents/Resources/app.asar/node_modules/bluebird/js/release/promise.js:460:18)