Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
View Visualization Error (Heroku)
2015-08-27T15:12:28.781616+00:00 heroku[router]: at=info method=POST path="/sessions/16/visualizations" host=lightning-visualization.herokuapp.com request_id=6be4dae6-3495-4ee6-8cca-c6f0fb1fb7ab fwd="173.63.221.177" dyno=web.1 connect=1ms service=80ms status=200 bytes=510
2015-08-27T15:12:33.024577+00:00 heroku[router]: at=info method=GET path="/images/lightning.svg" host=lightning-visualization.herokuapp.com request_id=7288e92c-95b4-4cf2-9101-6cfb75d0231c fwd="173.63.221.177" dyno=web.1 connect=1ms service=5ms status=304 bytes=237
2015-08-27T15:12:32.859610+00:00 app[web.1]: TypeError: /app/app/views/session/visualization-iframe.jade:12
2015-08-27T15:12:32.859616+00:00 app[web.1]: 10|
2015-08-27T15:12:32.859619+00:00 app[web.1]: 11| .full-screen.feed-item-container(data-model="visualization", data-model-id="#{viz.id}")
2015-08-27T15:12:32.859621+00:00 app[web.1]: > 12| .feed-item(data-type="#{viz.type}", data-data="#{ JSON.stringify(viz.getInitialData(vizTypes[viz.type])) }", data-images="#{JSON.stringify(viz.images)}", data-options="#{JSON.stringify(viz.opts)}" id="viz-#{viz.id}", data-initialized="false")
2015-08-27T15:12:32.859622+00:00 app[web.1]: 13|
2015-08-27T15:12:32.859623+00:00 app[web.1]: 14|
2015-08-27T15:12:32.859625+00:00 app[web.1]: 15|
2015-08-27T15:12:32.859642+00:00 app[web.1]:
2015-08-27T15:12:32.859643+00:00 app[web.1]: Cannot read property 'initialDataField' of undefined
2015-08-27T15:12:32.859645+00:00 app[web.1]: at sequelize.define.instanceMethods.getInitialData (/app/app/models/visualization.js:202:24)
2015-08-27T15:12:32.859646+00:00 app[web.1]: at eval (eval at <anonymous> (/app/node_modules/jade/lib/jade.js:172:8), <anonymous>:57:131)
2015-08-27T15:12:32.859648+00:00 app[web.1]: at eval (eval at <anonymous> (/app/node_modules/jade/lib/jade.js:172:8), <anonymous>:128:22)
2015-08-27T15:12:32.859649+00:00 app[web.1]: at res (/app/node_modules/jade/lib/jade.js:173:38)
2015-08-27T15:12:32.859651+00:00 app[web.1]: at Object.exports.render (/app/node_modules/jade/lib/jade.js:269:10)
2015-08-27T15:12:32.859653+00:00 app[web.1]: at Object.exports.renderFile (/app/node_modules/jade/lib/jade.js:305:18)
2015-08-27T15:12:32.859654+00:00 app[web.1]: at View.exports.renderFile [as engine] (/app/node_modules/jade/lib/jade.js:290:21)
2015-08-27T15:12:32.859655+00:00 app[web.1]: at View.render (/app/node_modules/express/lib/view.js:76:8)
2015-08-27T15:12:32.859656+00:00 app[web.1]: at Function.app.render (/app/node_modules/express/lib/application.js:502:10)
2015-08-27T15:12:32.859658+00:00 app[web.1]: at ServerResponse.res.render [as _render] (/app/node_modules/express/lib/response.js:777:7)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.