jupyter / dashboards_server

[RETIRED] Server that runs and renders Jupyter notebooks as interactive dashboards
Other
181 stars 48 forks source link

Widget backend and frontend versions are not compatible #328

Closed jiteshk23 closed 7 years ago

jiteshk23 commented 7 years ago

Hi,

I am trying to setup jupyter dashboard server and I am getting the above error in the console.

On debugging, I found the following:

jupyter-js-widgets (1.2.0), which is a dependency for the dashboard server, checks if its version is compatible with the backend (ipywidgets, i guess) used while creating the notebook, that created the dashboard.

ManagerBase.prototype.validateVersion = function() { return this._create_comm(this.version_comm_target_name, undefined, {}).then((function(comm) { return new Promise((function(resolve, reject) { comm.on_msg((function(msg) { var version = require('../package.json').version; // 1.2.0 var requirement = msg.content.data.version; // ~2.1.4

I am using ipywidgets 6.0.0, which is apparently incompatible with jupyter-js-widgets 1.2.0.

Which ipywidgets version shall I use?