Can't Import Dataset into Notebook from Sandbox in Spotfire Data Science 6.x

Can't Import Dataset into Notebook from Sandbox in Spotfire Data Science 6.x

book

Article ID: KB0082657

calendar_today

Updated On:

Products Versions
Spotfire Data Science 6.x

Description


The symptom is the import button is unresponsive:

Screenshot_1.png

Resolution

Keep in mind that if you make a safe copy of notebook_show_page.js, please put the safe copy in a different directory as the precompiler will include it if it's in the same directory as the original notebook_show_page.js.

  • Edit line #77 of $CHORUS_HOME/releases/6.0.0.0.1-f51115a50/components/frontend/app/assets/javascripts/pages/notebooks/notebook_show_page.js
    From:  if (ds_type == 'SOURCE_TABLE') {
    To:  if (ds_type != 'HDFS') {
var ds_type = dataset.get('entitySubtype');

//   DB case
if (ds_type != 'HDFS') {
    var schema_type = dataset.get('schema').entityType;
    var ds_name = dataset.schema().dataSource().get('name');
  • export PATH=$PATH:$CHORUS_HOME/current/bin
  • cd $CHORUS_HOME/current
  • RAILS_ENV=production bin/rake assets:clobber assets:precompile
  • chorus_control.sh restart webserver

Issue/Introduction

Can't Import Dataset into Notebook from Sandbox in Spotfire Data Science 6.x

Attachments

Can't Import Dataset into Notebook from Sandbox in Spotfire Data Science 6.x get_app