Topic on Extension talk:Math

Jump to navigation Jump to search
Prh47bridge (talkcontribs)

I'm currently getting the following error:

{"name":"mathoid","hostname":"ns3299566.ip-5-135-154.eu","pid":23337,"level":60,"err":{"message":"Cannot read property 'displayMessages' of undefined","name":"TypeError","stack":"TypeError: Cannot read property 'displayMessages' of undefined\n    at Object.exports.config (/usr/lib/node_modules/mathoid/node_modules/mathoid-mathjax-node/lib/main.js:864:14)\n    at initApp (/usr/lib/node_modules/mathoid/app.js:149:11)\n    at module.exports (/usr/lib/node_modules/mathoid/app.js:254:12)\n    at _requireModule.then (/usr/lib/node_modules/mathoid/node_modules/service-runner/lib/worker.js:165:80)\n    at tryCatcher (/usr/lib/node_modules/mathoid/node_modules/bluebird/js/release/util.js:16:23)\n    at Promise._settlePromiseFromHandler (/usr/lib/node_modules/mathoid/node_modules/bluebird/js/release/promise.js:512:31)\n    at Promise._settlePromise (/usr/lib/node_modules/mathoid/node_modules/bluebird/js/release/promise.js:569:18)\n    at Promise._settlePromiseCtx (/usr/lib/node_modules/mathoid/node_modules/bluebird/js/release/promise.js:606:10)\n    at Async._drainQueue (/usr/lib/node_modules/mathoid/node_modules/bluebird/js/release/async.js:138:12)\n    at Async._drainQueues (/usr/lib/node_modules/mathoid/node_modules/bluebird/js/release/async.js:143:10)\n    at Immediate.Async.drainQueues (/usr/lib/node_modules/mathoid/node_modules/bluebird/js/release/async.js:17:14)\n    at runCallback (timers.js:789:20)\n    at tryOnImmediate (timers.js:751:5)\n    at processImmediate [as _immediateCallback] (timers.js:722:5)","levelPath":"fatal/service-runner/worker"},"msg":"Cannot read property 'displayMessages' of undefined","time":"2018-01-16T10:44:55.156Z","v":0}

Nodejs version is 8.9.4

Any ideas?

137.82.12.118 (talkcontribs)

I added the following to my config, under mathoid conf section. It seems that the default mj_config is not populated for some reason.

mj_config:

extensions: "TeX/color,TeX/mediawiki-texvc,TeX/mhchem"

Prh47bridge (talkcontribs)

That worked. Thanks. Now to figure out how to set it up as a service and whatever else I need to do to get it running properly!

Reply to "Trying to get Mathoid to run"