jupyter / declarativewidgets

[RETIRED] Jupyter Declarative Widget Extension
http://jupyter.org/declarativewidgets/docs.html
Other
120 stars 38 forks source link

Can't get widgets to work on Mac OSX #491

Closed paulperry closed 7 years ago

paulperry commented 7 years ago

I'm on Mac OSX 10.11.6 Anaconda Python 3.5.2 Jupyter Notebook 4.2.0 ipywiedgets 4.1.1 I've also installed nbextensions and dashboards

And I have never been able to get declarative widgets to work in this environment.
I've installed them with the following commands:

pip install jupyter_declarativewidgets
jupyter declarativewidgets quick-setup --sys-prefix
jupyter nbextension enable declarativewidgets --py --sys-prefix
# I also have an R kernel so I've applied the following:
jupyter declarativewidgets installr --library ~/anaconda/lib/r

Running a new notebook with the following command doesn't return anything:

%%HTML
<urth-help/>

Here is the JS output:

screen shot 2016-08-17 at 2 29 22 pm

A search on the warning didn't indicate I had to take any action.

What can I do to make sure I have a good install on Mac OSX?
What commands can I run to get you all the right version strings?

p.s. I have been successful in getting declarative widgets to run in the docker dev env.

aluu317 commented 7 years ago

Have you tried running this in a cell? import declarativewidgets declarativewidgets.init()

paulperry commented 7 years ago

I didn't, and it did make a difference, so now the help page works. Is this a one-time shot? Or needed for every notebook?

However, it didn't fix everything and importing a widget fails for me. It is possible I first installed the widgets from a git repo, and later using pip. Here's the error:

screen shot 2016-08-17 at 5 43 29 pm

It seems to be looking for the urth_components dir in the wrong place. Suggestions?

aluu317 commented 7 years ago

Hi @paulperry, How did you import this widget? Could you clear the browser console with a fresh notebook, and take a screen shot of the error messages when you run:

import declarativewidgets as declwidgets
declwidgets.init()

After running this, you should be able to run:

%%html
<link rel="import" href="urth_components/urth-viz-table/urth-viz-table.html" is="urth-core-import">

to import urth-viz-table for example.

Here's our docs: https://github.com/jupyter-incubator/declarativewidgets#other-topics

paulperry commented 7 years ago

I reference a clean gist of the code, and the resulting errors:

screen shot 2016-08-18 at 1 23 14 pm

Thanks for taking a look.

aluu317 commented 7 years ago

We fixed a quick syntax error in jupyter-widget-bahavior.html to help display one of errors you're getting. Could you please pull the latest from declarative widgets master then do these steps:

Let me know if you get any trouble doing this. Thanks!

paulperry commented 7 years ago

I tried, but no dist/*.tar.gz file was created and I died with the following error:

[warn] 5 warnings found
[success] Total time: 175 s, completed Aug 18, 2016 9:57:54 PM
Building R code
Building declarativewidgets/static/urth-widgets.tgz
Unable to find image 'jupyter/all-spark-notebook-bower:2d878db5cbff' locally
Pulling repository docker.io/jupyter/all-spark-notebook-bower
docker: Error: image jupyter/all-spark-notebook-bower:2d878db5cbff not found.
See 'docker run --help'.
make: *** [dist/declarativewidgets/static/urth-widgets.tgz] Error 125
declarativewidgets>

Looks like it was building a scala and then an R code version. Here are my docker images:

~>docker images
REPOSITORY                                TAG                 IMAGE ID            CREATED             SIZE
jupyter/all-spark-notebook-bower          258e25c03cba        2412b99655c5        11 weeks ago        5.101 GB
jupyter/all-spark-notebook-bower          latest              2412b99655c5        11 weeks ago        5.101 GB
<none>                                    <none>              aca5d19057ab        11 weeks ago        5.395 GB
<none>                                    <none>              39b8df513893        11 weeks ago        4.647 GB
<none>                                    <none>              2acc6c999367        11 weeks ago        4.629 GB
jupyter/all-spark-notebook-bower-jup4.2   258e25c03cba        6f8dd4ecdfc7        3 months ago        4.758 GB
1science/sbt                              latest              6cc980b4c02d        3 months ago        176.7 MB
alpine                                    latest              13e1761bf172        3 months ago        4.797 MB
hello-world                               latest              94df4f0ce8a4        3 months ago        967 B
jupyter/all-spark-notebook                258e25c03cba        7e625a4c5fdc        5 months ago        4.542 GB
jupyter/notebook                          latest              1c02aa25b7b8        5 months ago        863.1 MB
~>
peller commented 7 years ago

try make init; make sdist

paulperry commented 7 years ago

I also saw the following error during the build, but it didn't stop the build:

---------------
Building dtrace-provider failed with exit code 1 and signal 0
re-run install with environment variable V set to see the build output
---------------
paulperry commented 7 years ago

Thanks @peller , that worked. I ran the gist notbook I have and it did not work, with the following errors:

screen shot 2016-08-18 at 6 38 37 pm
peller commented 7 years ago

@paulperry is it possible you don't have the latest source? @lbustelo should have fixed the _error error in 66fe03faba642743b1dc43970a0e2e7b792cb57b

paulperry commented 7 years ago

I believe I am on the latest master:

declarativewidgets>git status
On branch master
Your branch is up-to-date with 'origin/master'.
nothing to commit, working directory clean
declarativewidgets>

pip install didn't complain, or message anything at all, so I don't know if it worked.

declarativewidgets>pip install --quiet --no-binary ::all:dist/jupyter_declarativewidgets-0.7.0.dev1.tar.gz 
declarativewidgets>
aluu317 commented 7 years ago

Does git log give you the latest commit on top: Should be one from today '[PR #493] Fixed missing .bind(this) in error handler', like the one Adam linked above?

paulperry commented 7 years ago

Yes:

declarativewidgets>git log
commit 66fe03faba642743b1dc43970a0e2e7b792cb57b
Merge: 0b26050 16e343c
Author: Gino Bustelo <gino@bustelos.com>
Date:   Thu Aug 18 14:33:10 2016 -0500

    [PR #493] Fixed missing .bind(this) in error handler

commit 16e343c44ef2521baba74dee5401394679fef84e
Author: Angel L <angel.luu@us.ibm.com>
Date:   Thu Aug 18 13:06:49 2016 -0600

    Add .bind(this)
peller commented 7 years ago

to be super, super sure, can you click on jupyter-widget-behavior.html:78 in the JS console and see what the source looks like, and whether the bind(this) is there? You could break there and see what 'this' is...

paulperry commented 7 years ago

I don't see the bind at line 79:

screen shot 2016-08-18 at 7 36 25 pm

and if I'm using the debugger properly, 'this' seems undefined.

peller commented 7 years ago

odd. maybe a make clean; make init; make sdist?

peller commented 7 years ago

or maybe you should try docker rm on your docker containers. Maybe you're using an old running container? something is clearly stale.

paulperry commented 7 years ago

It is odd. I'm thinking the pip install didn't really do it. In this case I'm not using a container. The git clone was done today after this request in a clean directory. I looked at all instances of jupyter-widget-behavior.html and they all have the }.bind(this) at the end of the 'function(error){' call .

paulperry commented 7 years ago

I took the --quiet flag off and this is the pip install output:

declarativewidgets>pip install  --no-binary ::all:dist/jupyter_declarativewidgets-0.7.0.dev1.tar.gz 
You must give at least one requirement to install (see "pip help install")
declarativewidgets>
paulperry commented 7 years ago

Ok, I see I need a space between ::all: and the 'requirement' (which was not clear because of the carriage return in the instructions). The install succeeded. But now I seem to require a pyspark install?

screen shot 2016-08-18 at 9 37 15 pm
peller commented 7 years ago

you can try make sdist NOSCALA=true to skip the spark stuff

paulperry commented 7 years ago

@peller thank you. I tried, but it still get the same error. These are commands I ran:

make clean
make init; make sdist NOSCALA=true
pip install --upgrade  --no-binary ::all: dist/jupyter_declarativewidgets-0.7.0.dev1.tar.gz 

and this is the output:

eclarativewidgets>make clean
declarativewidgets>ls dist
ls: dist: No such file or directory
declarativewidgets>make init; make sdist NOSCALA=true
npm WARN package.json urth-widgets@0.1.0 No license field.
npm WARN engine launchpad@0.5.3: wanted: {"node":"^0.12"} (current: {"node":"4.4.4","npm":"2.15.1"})
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated to-iso-string@0.0.2: to-iso-string has been deprecated, use @segment/to-iso-string instead.
npm WARN deprecated jade@0.26.3: Jade has been renamed to pug, please install the latest version of pug instead of jade
npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated lodash@1.0.2: lodash@<3.0.0 is no longer maintained. Upgrade to lodash@^4.0.0.
npm WARN deprecated graceful-fs@1.2.3: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.

> sauce-connect-launcher@0.14.0 postinstall /Users/paulperry/lib/declarativewidgets/node_modules/web-component-tester/node_modules/wct-sauce/node_modules/sauce-connect-launcher
> node scripts/install.js

-
> wct-sauce@1.8.4 postinstall /Users/paulperry/lib/declarativewidgets/node_modules/web-component-tester/node_modules/wct-sauce
> node scripts/postinstall.js

Prefetching the Sauce Connect binary.
Missing Sauce Connect local proxy, downloading dependency
This will only happen once.
Downloading 2.95MB
Unzipping sc-4.3.13-osx.zip
Removing sc-4.3.13-osx.zip
Sauce Connect downloaded correctly
Removing /Users/paulperry/lib/declarativewidgets/node_modules/web-component-tester/node_modules/wct-sauce/node_modules/sauce-connect-launcher/sc/sc-4.3.13-osx.zip

> dtrace-provider@0.6.0 install /Users/paulperry/lib/declarativewidgets/node_modules/wct-local/node_modules/launchpad/node_modules/restify/node_modules/dtrace-provider
> node scripts/install.js

---------------
Building dtrace-provider failed with exit code 1 and signal 0
re-run install with environment variable V set to see the build output
---------------

> fsevents@1.0.14 install /Users/paulperry/lib/declarativewidgets/node_modules/gulp-watch/node_modules/chokidar/node_modules/fsevents
> node-pre-gyp install --fallback-to-build

[fsevents] Success: "/Users/paulperry/lib/declarativewidgets/node_modules/gulp-watch/node_modules/chokidar/node_modules/fsevents/lib/binding/Release/node-v46-darwin-x64/fse.node" already installed
Pass --update-binary to reinstall or --build-from-source to recompile

> wct-local@2.0.3 postinstall /Users/paulperry/lib/declarativewidgets/node_modules/wct-local
> node scripts/postinstall.js

----------
selenium-standalone installation starting
----------

---
selenium install:
from: https://selenium-release.storage.googleapis.com/2.53/selenium-server-standalone-2.53.0.jar
to: /Users/paulperry/lib/declarativewidgets/node_modules/selenium-standalone/.selenium/selenium-server/2.53.0-server.jar
---
chrome install:
from: https://chromedriver.storage.googleapis.com/2.22/chromedriver_mac32.zip
to: /Users/paulperry/lib/declarativewidgets/node_modules/selenium-standalone/.selenium/chromedriver/2.22-x64-chromedriver
---
firefox install:
from: https://github.com/mozilla/geckodriver/releases/download/v0.9.0/geckodriver-v0.9.0-mac.tar.gz
to: /Users/paulperry/lib/declarativewidgets/node_modules/selenium-standalone/.selenium/geckodriver/0.9.0-x64-geckodriver

-----
selenium-standalone installation finished
-----
chai-as-promised@5.3.0 node_modules/chai-as-promised

colors@1.1.2 node_modules/colors

minimist@1.2.0 node_modules/minimist

chai@3.5.0 node_modules/chai
├── assertion-error@1.0.2
├── type-detect@1.0.0
└── deep-eql@0.1.3 (type-detect@0.1.1)

http-server@0.8.5 node_modules/http-server
├── opener@1.4.1
├── corser@2.0.1
├── colors@1.0.3
├── http-proxy@1.14.0 (eventemitter3@1.2.0, requires-port@1.0.0)
├── ecstatic@0.7.6 (url-join@0.0.1, he@0.5.0, mime@1.3.4)
├── optimist@0.6.1 (wordwrap@0.0.3, minimist@0.0.10)
├── union@0.4.4 (qs@2.3.3)
└── portfinder@0.4.0 (async@0.9.0, mkdirp@0.5.1)

mocha@2.5.3 node_modules/mocha
├── escape-string-regexp@1.0.2
├── commander@2.3.0
├── diff@1.4.0
├── supports-color@1.2.0
├── growl@1.9.2
├── to-iso-string@0.0.2
├── debug@2.2.0 (ms@0.7.1)
├── mkdirp@0.5.1 (minimist@0.0.8)
├── glob@3.2.11 (inherits@2.0.1, minimatch@0.3.0)
└── jade@0.26.3 (commander@0.6.1, mkdirp@0.3.0)

vulcanize@1.14.8 node_modules/vulcanize
├── path-posix@1.0.0
├── nopt@3.0.6 (abbrev@1.0.9)
├── es6-promise@2.3.0
├── dom5@1.3.3 (@types/clone@0.1.29, @types/node@4.0.30, clone@1.0.2, @types/parse5@0.0.28, parse5@1.5.1)
└── update-notifier@0.6.3 (is-npm@1.0.0, semver-diff@2.1.0, chalk@1.1.3, boxen@0.3.1, configstore@2.0.0, latest-version@2.0.0)

gulp-run@1.7.1 node_modules/gulp-run
├── lodash.defaults@4.2.0
├── lodash.template@4.4.0 (lodash._reinterpolate@3.0.0, lodash.templatesettings@4.1.0)
├── vinyl@0.4.6 (clone-stats@0.0.1, clone@0.2.0)
└── gulp-util@3.0.7 (array-differ@1.0.0, lodash._reescape@3.0.0, lodash._reevaluate@3.0.0, object-assign@3.0.0, beeper@1.1.0, lodash._reinterpolate@3.0.0, array-uniq@1.0.3, replace-ext@0.0.1, has-gulplog@0.1.0, fancy-log@1.2.0, vinyl@0.5.3, chalk@1.1.3, lodash.template@3.6.2, gulplog@1.0.0, through2@2.0.1, multipipe@0.1.2, dateformat@1.0.12)

gulp@3.9.1 node_modules/gulp
├── interpret@1.0.1
├── pretty-hrtime@1.0.2
├── deprecated@0.0.1
├── archy@1.0.0
├── tildify@1.2.0 (os-homedir@1.0.1)
├── v8flags@2.0.11 (user-home@1.1.1)
├── semver@4.3.6
├── chalk@1.1.3 (escape-string-regexp@1.0.5, ansi-styles@2.2.1, supports-color@2.0.0, strip-ansi@3.0.1, has-ansi@2.0.0)
├── orchestrator@0.3.7 (stream-consume@0.1.0, sequencify@0.0.7, end-of-stream@0.1.5)
├── liftoff@2.3.0 (lodash.isplainobject@4.0.6, lodash.isstring@4.0.1, lodash.mapvalues@4.6.0, rechoir@0.6.2, extend@3.0.0, flagged-respawn@0.3.2, resolve@1.1.7, fined@1.0.1, findup-sync@0.4.2)
├── vinyl-fs@0.3.14 (strip-bom@1.0.0, defaults@1.0.3, vinyl@0.4.6, through2@0.6.5, mkdirp@0.5.1, graceful-fs@3.0.9, glob-stream@3.1.18, glob-watcher@0.0.6)
└── gulp-util@3.0.7 (array-differ@1.0.0, lodash._reescape@3.0.0, lodash._reevaluate@3.0.0, lodash._reinterpolate@3.0.0, object-assign@3.0.0, array-uniq@1.0.3, beeper@1.1.0, replace-ext@0.0.1, has-gulplog@0.1.0, fancy-log@1.2.0, vinyl@0.5.3, lodash.template@3.6.2, gulplog@1.0.0, through2@2.0.1, multipipe@0.1.2, dateformat@1.0.12)

selenium-standalone@5.5.0 node_modules/selenium-standalone
├── commander@2.6.0
├── progress@1.1.8
├── urijs@1.16.1
├── minimist@1.1.0
├── async@1.2.1
├── which@1.1.1 (is-absolute@0.1.7)
├── yauzl@2.6.0 (buffer-crc32@0.2.5, fd-slicer@1.0.1)
├── mkdirp@0.5.0 (minimist@0.0.8)
├── request@2.51.0 (aws-sign2@0.5.0, forever-agent@0.5.2, tunnel-agent@0.4.3, caseless@0.8.0, oauth-sign@0.5.0, stringstream@0.0.5, json-stringify-safe@5.0.1, tough-cookie@2.3.1, mime-types@1.0.2, qs@2.3.3, node-uuid@1.4.7, combined-stream@0.0.7, http-signature@0.10.1, form-data@0.2.0, bl@0.9.5, hawk@1.1.1)
└── lodash@3.9.3

wd@0.4.0 node_modules/wd
├── vargs@0.1.0
├── q@1.4.1
├── async@1.0.0
├── underscore.string@3.0.3
├── request@2.55.0 (tunnel-agent@0.4.3, aws-sign2@0.5.0, forever-agent@0.6.1, caseless@0.9.0, oauth-sign@0.6.0, stringstream@0.0.5, isstream@0.1.2, json-stringify-safe@5.0.1, tough-cookie@2.3.1, qs@2.4.2, node-uuid@1.4.7, mime-types@2.0.14, form-data@0.2.0, combined-stream@0.0.7, http-signature@0.10.1, bl@0.9.5, hawk@2.3.1, har-validator@1.8.0)
├── archiver@0.14.4 (buffer-crc32@0.2.5, async@0.9.2, lazystream@0.1.0, readable-stream@1.0.34, zip-stream@0.5.2, tar-stream@1.1.5, glob@4.3.5, lodash@3.2.0)
└── lodash@3.9.3

hydrolysis@1.24.1 node_modules/hydrolysis
├── path-is-absolute@1.0.0
├── estraverse@3.1.0
├── doctrine@0.7.2 (isarray@0.0.1, esutils@1.1.6)
├── dom5@1.3.3 (@types/clone@0.1.29, @types/node@4.0.30, clone@1.0.2, @types/parse5@0.0.28, parse5@1.5.1)
├── espree@3.1.7 (acorn-jsx@3.0.1, acorn@3.3.0)
├── escodegen@1.8.1 (estraverse@1.9.3, esutils@2.0.2, esprima@2.7.2, optionator@0.8.1, source-map@0.2.0)
└── babel-polyfill@6.13.0 (regenerator-runtime@0.9.5, babel-runtime@6.11.6, core-js@2.4.1)

polybuild@1.1.0 node_modules/polybuild
├── gulp-rename@1.2.2
├── nopt@3.0.6 (abbrev@1.0.9)
├── lazypipe@1.0.1 (stream-combiner@0.2.2)
├── gulp-vulcanize@6.1.0 (through2@2.0.1)
├── vinyl-fs@2.4.3 (merge-stream@1.0.0, vali-date@1.0.0, is-valid-glob@0.3.0, object-assign@4.1.0, lodash.isequal@4.4.0, graceful-fs@4.1.5, lazystream@1.0.0, strip-bom-stream@1.0.0, strip-bom@2.0.0, through2-filter@2.0.0, vinyl@1.2.0, gulp-sourcemaps@1.6.0, readable-stream@2.1.5, mkdirp@0.5.1, duplexify@3.4.5, through2@2.0.1, glob-stream@5.3.2)
├── gulp-util@3.0.7 (array-differ@1.0.0, object-assign@3.0.0, lodash._reinterpolate@3.0.0, lodash._reescape@3.0.0, array-uniq@1.0.3, beeper@1.1.0, lodash._reevaluate@3.0.0, replace-ext@0.0.1, has-gulplog@0.1.0, fancy-log@1.2.0, vinyl@0.5.3, chalk@1.1.3, lodash.template@3.6.2, gulplog@1.0.0, through2@2.0.1, multipipe@0.1.2, dateformat@1.0.12)
├── polyclean@1.3.1 (espree@2.2.5, plugin-error@0.1.2, through2@2.0.1, dom5@1.3.3, escodegen@1.8.1, uglify-js@2.7.3)
└── gulp-crisper@1.1.0 (object-assign@4.1.0, through2@2.0.1, crisper@2.0.2)

bower@1.7.9 node_modules/bower

web-component-tester@4.3.1 node_modules/web-component-tester
├── sinon-chai@2.8.0
├── server-destroy@1.0.1
├── stacky@1.3.1
├── async@1.5.2
├── cleankill@1.0.3
├── test-fixture@1.1.1
├── chalk@1.1.3 (escape-string-regexp@1.0.5, supports-color@2.0.0, ansi-styles@2.2.1, has-ansi@2.0.0, strip-ansi@3.0.1)
├── serve-waterfall@1.1.1 (parseurl@1.3.1)
├── nomnom@1.8.1 (underscore@1.6.0, chalk@0.4.0)
├── glob@5.0.15 (path-is-absolute@1.0.0, inherits@2.0.1, inflight@1.0.5, once@1.3.3, minimatch@3.0.3)
├── send@0.11.1 (destroy@1.0.3, ms@0.7.0, range-parser@1.0.3, escape-html@1.0.1, fresh@0.2.4, mime@1.2.11, depd@1.0.1, debug@2.1.3, on-finished@2.2.1, etag@1.5.1)
├── body-parser@1.15.2 (content-type@1.0.2, bytes@2.4.0, depd@1.1.0, qs@6.2.0, on-finished@2.3.0, raw-body@2.1.7, http-errors@1.5.0, debug@2.2.0, iconv-lite@0.4.13, type-is@1.6.13)
├── findup-sync@0.2.1 (glob@4.3.5)
├── express@4.14.0 (escape-html@1.0.3, array-flatten@1.1.1, utils-merge@1.0.0, cookie-signature@1.0.6, content-type@1.0.2, methods@1.1.2, encodeurl@1.0.1, merge-descriptors@1.0.1, range-parser@1.2.0, fresh@0.3.0, etag@1.7.0, vary@1.1.0, parseurl@1.3.1, content-disposition@0.5.1, serve-static@1.11.1, cookie@0.3.1, path-to-regexp@0.1.7, depd@1.1.0, qs@6.2.0, on-finished@2.3.0, finalhandler@0.5.0, debug@2.2.0, proxy-addr@1.1.2, send@0.14.1, accepts@1.3.3, type-is@1.6.13)
├── resolve@1.1.7
├── promisify-node@0.4.0 (object-assign@4.1.0, nodegit-promise@4.0.0)
├── update-notifier@0.6.3 (is-npm@1.0.0, semver-diff@2.1.0, boxen@0.3.1, configstore@2.0.0, latest-version@2.0.0)
├── sinon@1.17.5 (formatio@1.1.1, samsam@1.1.2, lolex@1.3.2, util@0.10.3)
├── accessibility-developer-tools@2.10.0
├── socket.io@1.4.8 (has-binary@0.1.7, debug@2.2.0, socket.io-parser@2.2.6, socket.io-adapter@0.4.0, engine.io@1.6.11, socket.io-client@1.4.8)
├── multer@1.2.0 (object-assign@3.0.0, append-field@0.1.0, xtend@4.0.1, on-finished@2.3.0, type-is@1.6.13, mkdirp@0.5.1, concat-stream@1.5.1, busboy@0.2.13)
├── lodash@3.10.1
├── wd@0.3.12 (vargs@0.1.0, q@1.4.1, async@1.0.0, underscore.string@3.0.3, request@2.55.0, archiver@0.14.4, lodash@3.9.3)
└── wct-sauce@1.8.4 (uuid@2.0.2, temp@0.8.3, sauce-connect-launcher@0.14.0, request@2.74.0)

gulp-watch@4.3.9 node_modules/gulp-watch
├── path-is-absolute@1.0.0
├── object-assign@4.1.0
├── vinyl@0.5.3 (clone-stats@0.0.1, replace-ext@0.0.1, clone@1.0.2)
├── glob-parent@2.0.0 (is-glob@2.0.1)
├── readable-stream@2.1.5 (buffer-shims@1.0.0, string_decoder@0.10.31, inherits@2.0.1, util-deprecate@1.0.2, process-nextick-args@1.0.7, core-util-is@1.0.2, isarray@1.0.0)
├── vinyl-file@1.3.0 (graceful-fs@4.1.5, strip-bom-stream@1.0.0, strip-bom@2.0.0, vinyl@1.2.0)
├── anymatch@1.3.0 (arrify@1.0.1, micromatch@2.3.11)
├── gulp-util@3.0.7 (array-differ@1.0.0, object-assign@3.0.0, lodash._reinterpolate@3.0.0, array-uniq@1.0.3, lodash._reescape@3.0.0, beeper@1.1.0, lodash._reevaluate@3.0.0, replace-ext@0.0.1, has-gulplog@0.1.0, fancy-log@1.2.0, chalk@1.1.3, gulplog@1.0.0, lodash.template@3.6.2, through2@2.0.1, multipipe@0.1.2, dateformat@1.0.12)
└── chokidar@1.6.0 (inherits@2.0.1, async-each@1.0.0, is-glob@2.0.1, is-binary-path@1.0.1, readdirp@2.1.0, fsevents@1.0.14)

wct-local@2.0.3 node_modules/wct-local
├── freeport@1.0.5
├── cleankill@1.0.3
├── which@1.2.10 (isexe@1.1.2)
├── chalk@1.1.3 (escape-string-regexp@1.0.5, ansi-styles@2.2.1, supports-color@2.0.0, strip-ansi@3.0.1, has-ansi@2.0.0)
├── lodash@3.10.1
└── launchpad@0.5.3 (underscore@1.8.3, q@1.4.1, async@1.5.2, debug@2.2.0, plist@1.2.0, browserstack@1.5.0, restify@4.1.1)
Error response from daemon: No such container: bower-build
make: [dev_image] Error 1 (ignored)
debconf: delaying package configuration, since apt-utils is not installed
(Reading database ... 79664 files and directories currently installed.)
Preparing to unpack .../libcurl3_7.38.0-4+deb8u4_amd64.deb ...
Unpacking libcurl3:amd64 (7.38.0-4+deb8u4) over (7.38.0-4+deb8u3) ...
Selecting previously unselected package curl.
Preparing to unpack .../curl_7.38.0-4+deb8u4_amd64.deb ...
Unpacking curl (7.38.0-4+deb8u4) ...
Setting up libcurl3:amd64 (7.38.0-4+deb8u4) ...
Setting up curl (7.38.0-4+deb8u4) ...
Processing triggers for libc-bin (2.19-18+deb8u3) ...
debconf: delaying package configuration, since apt-utils is not installed
(Reading database ... 79671 files and directories currently installed.)
Preparing to unpack .../libssl1.0.0_1.0.1t-1+deb8u2_amd64.deb ...
Unpacking libssl1.0.0:amd64 (1.0.1t-1+deb8u2) over (1.0.1k-3+deb8u4) ...
Selecting previously unselected package libc-ares2:amd64.
Preparing to unpack .../libc-ares2_1.10.0-2_amd64.deb ...
Unpacking libc-ares2:amd64 (1.10.0-2) ...
Selecting previously unselected package python-pkg-resources.
Preparing to unpack .../python-pkg-resources_5.5.1-1_all.deb ...
Unpacking python-pkg-resources (5.5.1-1) ...
Selecting previously unselected package gyp.
Preparing to unpack .../gyp_0.1~svn1729-3_all.deb ...
Unpacking gyp (0.1~svn1729-3) ...
Selecting previously unselected package javascript-common.
Preparing to unpack .../javascript-common_11_all.deb ...
Unpacking javascript-common (11) ...
Selecting previously unselected package libjs-jquery.
Preparing to unpack .../libjs-jquery_1.7.2+dfsg-3.2_all.deb ...
Unpacking libjs-jquery (1.7.2+dfsg-3.2) ...
Selecting previously unselected package libjs-node-uuid.
Preparing to unpack .../libjs-node-uuid_1.4.0-1_all.deb ...
Unpacking libjs-node-uuid (1.4.0-1) ...
Selecting previously unselected package libjs-underscore.
Preparing to unpack .../libjs-underscore_1.7.0~dfsg-1_all.deb ...
Unpacking libjs-underscore (1.7.0~dfsg-1) ...
Selecting previously unselected package zlib1g-dev:amd64.
Preparing to unpack .../zlib1g-dev_1%3a1.2.8.dfsg-2+b1_amd64.deb ...
Unpacking zlib1g-dev:amd64 (1:1.2.8.dfsg-2+b1) ...
Selecting previously unselected package libssl-dev:amd64.
Preparing to unpack .../libssl-dev_1.0.1t-1+deb8u2_amd64.deb ...
Unpacking libssl-dev:amd64 (1.0.1t-1+deb8u2) ...
Selecting previously unselected package libssl-doc.
Preparing to unpack .../libssl-doc_1.0.1t-1+deb8u2_all.deb ...
Unpacking libssl-doc (1.0.1t-1+deb8u2) ...
Selecting previously unselected package libv8-3.14.5.
Preparing to unpack .../libv8-3.14.5_3.14.5.8-8.1_amd64.deb ...
Unpacking libv8-3.14.5 (3.14.5.8-8.1) ...
Selecting previously unselected package libv8-3.14-dev.
Preparing to unpack .../libv8-3.14-dev_3.14.5.8-8.1_amd64.deb ...
Unpacking libv8-3.14-dev (3.14.5.8-8.1) ...
Selecting previously unselected package nodejs.
Preparing to unpack .../nodejs_0.10.29~dfsg-2_amd64.deb ...
Unpacking nodejs (0.10.29~dfsg-2) ...
Selecting previously unselected package node-async.
Preparing to unpack .../node-async_0.8.0-1_all.deb ...
Unpacking node-async (0.8.0-1) ...
Selecting previously unselected package node-node-uuid.
Preparing to unpack .../node-node-uuid_1.4.0-1_all.deb ...
Unpacking node-node-uuid (1.4.0-1) ...
Selecting previously unselected package node-underscore.
Preparing to unpack .../node-underscore_1.7.0~dfsg-1_all.deb ...
Unpacking node-underscore (1.7.0~dfsg-1) ...
Selecting previously unselected package libc-ares-dev:amd64.
Preparing to unpack .../libc-ares-dev_1.10.0-2_amd64.deb ...
Unpacking libc-ares-dev:amd64 (1.10.0-2) ...
Selecting previously unselected package node-abbrev.
Preparing to unpack .../node-abbrev_1.0.5-2_all.deb ...
Unpacking node-abbrev (1.0.5-2) ...
Selecting previously unselected package node-ansi.
Preparing to unpack .../node-ansi_0.3.0-2_all.deb ...
Unpacking node-ansi (0.3.0-2) ...
Selecting previously unselected package node-ansi-color-table.
Preparing to unpack .../node-ansi-color-table_1.0.0-1_all.deb ...
Unpacking node-ansi-color-table (1.0.0-1) ...
Selecting previously unselected package node-archy.
Preparing to unpack .../node-archy_0.0.2-1_all.deb ...
Unpacking node-archy (0.0.2-1) ...
Selecting previously unselected package node-inherits.
Preparing to unpack .../node-inherits_2.0.1-1_all.deb ...
Unpacking node-inherits (2.0.1-1) ...
Selecting previously unselected package node-block-stream.
Preparing to unpack .../node-block-stream_0.0.7-1_all.deb ...
Unpacking node-block-stream (0.0.7-1) ...
Selecting previously unselected package node-delayed-stream.
Preparing to unpack .../node-delayed-stream_0.0.5-1_all.deb ...
Unpacking node-delayed-stream (0.0.5-1) ...
Selecting previously unselected package node-combined-stream.
Preparing to unpack .../node-combined-stream_0.0.5-1_all.deb ...
Unpacking node-combined-stream (0.0.5-1) ...
Selecting previously unselected package node-cookie-jar.
Preparing to unpack .../node-cookie-jar_0.3.1-1_all.deb ...
Unpacking node-cookie-jar (0.3.1-1) ...
Selecting previously unselected package node-forever-agent.
Preparing to unpack .../node-forever-agent_0.5.1-1_all.deb ...
Unpacking node-forever-agent (0.5.1-1) ...
Selecting previously unselected package node-mime.
Preparing to unpack .../node-mime_1.2.11-1_all.deb ...
Unpacking node-mime (1.2.11-1) ...
Selecting previously unselected package node-form-data.
Preparing to unpack .../node-form-data_0.1.0-1_all.deb ...
Unpacking node-form-data (0.1.0-1) ...
Selecting previously unselected package node-rimraf.
Preparing to unpack .../node-rimraf_2.2.8-1_all.deb ...
Unpacking node-rimraf (2.2.8-1) ...
Selecting previously unselected package node-mkdirp.
Preparing to unpack .../node-mkdirp_0.5.0-1_all.deb ...
Unpacking node-mkdirp (0.5.0-1) ...
Selecting previously unselected package node-graceful-fs.
Preparing to unpack .../node-graceful-fs_3.0.2-1_all.deb ...
Unpacking node-graceful-fs (3.0.2-1) ...
Selecting previously unselected package node-fstream.
Preparing to unpack .../node-fstream_0.1.24-1_all.deb ...
Unpacking node-fstream (0.1.24-1) ...
Selecting previously unselected package node-lru-cache.
Preparing to unpack .../node-lru-cache_2.3.1-1_all.deb ...
Unpacking node-lru-cache (2.3.1-1) ...
Selecting previously unselected package node-sigmund.
Preparing to unpack .../node-sigmund_1.0.0-1_all.deb ...
Unpacking node-sigmund (1.0.0-1) ...
Selecting previously unselected package node-minimatch.
Preparing to unpack .../node-minimatch_1.0.0-1_all.deb ...
Unpacking node-minimatch (1.0.0-1) ...
Selecting previously unselected package node-fstream-ignore.
Preparing to unpack .../node-fstream-ignore_0.0.6-2_all.deb ...
Unpacking node-fstream-ignore (0.0.6-2) ...
Selecting previously unselected package node-github-url-from-git.
Preparing to unpack .../node-github-url-from-git_1.1.1-1_all.deb ...
Unpacking node-github-url-from-git (1.1.1-1) ...
Selecting previously unselected package node-once.
Preparing to unpack .../node-once_1.1.1-1_all.deb ...
Unpacking node-once (1.1.1-1) ...
Selecting previously unselected package node-glob.
Preparing to unpack .../node-glob_4.0.5-1_all.deb ...
Unpacking node-glob (4.0.5-1) ...
Selecting previously unselected package nodejs-dev.
Preparing to unpack .../nodejs-dev_0.10.29~dfsg-2_amd64.deb ...
Unpacking nodejs-dev (0.10.29~dfsg-2) ...
Selecting previously unselected package node-nopt.
Preparing to unpack .../node-nopt_3.0.1-1_all.deb ...
Unpacking node-nopt (3.0.1-1) ...
Selecting previously unselected package node-npmlog.
Preparing to unpack .../node-npmlog_0.0.4-1_all.deb ...
Unpacking node-npmlog (0.0.4-1) ...
Selecting previously unselected package node-osenv.
Preparing to unpack .../node-osenv_0.1.0-1_all.deb ...
Unpacking node-osenv (0.1.0-1) ...
Selecting previously unselected package node-tunnel-agent.
Preparing to unpack .../node-tunnel-agent_0.3.1-1_all.deb ...
Unpacking node-tunnel-agent (0.3.1-1) ...
Selecting previously unselected package node-json-stringify-safe.
Preparing to unpack .../node-json-stringify-safe_5.0.0-1_all.deb ...
Unpacking node-json-stringify-safe (5.0.0-1) ...
Selecting previously unselected package node-qs.
Preparing to unpack .../node-qs_2.2.4-1_all.deb ...
Unpacking node-qs (2.2.4-1) ...
Selecting previously unselected package node-request.
Preparing to unpack .../node-request_2.26.1-1_all.deb ...
Unpacking node-request (2.26.1-1) ...
Selecting previously unselected package node-semver.
Preparing to unpack .../node-semver_2.1.0-2_all.deb ...
Unpacking node-semver (2.1.0-2) ...
Selecting previously unselected package node-tar.
Preparing to unpack .../node-tar_0.1.18-1_all.deb ...
Unpacking node-tar (0.1.18-1) ...
Selecting previously unselected package node-which.
Preparing to unpack .../node-which_1.0.5-2_all.deb ...
Unpacking node-which (1.0.5-2) ...
Selecting previously unselected package node-gyp.
Preparing to unpack .../node-gyp_0.12.2+ds-1_all.deb ...
Unpacking node-gyp (0.12.2+ds-1) ...
Selecting previously unselected package node-ini.
Preparing to unpack .../node-ini_1.1.0-1_all.deb ...
Unpacking node-ini (1.1.0-1) ...
Selecting previously unselected package node-lockfile.
Preparing to unpack .../node-lockfile_0.4.1-1_all.deb ...
Unpacking node-lockfile (0.4.1-1) ...
Selecting previously unselected package node-mute-stream.
Preparing to unpack .../node-mute-stream_0.0.4-1_all.deb ...
Unpacking node-mute-stream (0.0.4-1) ...
Selecting previously unselected package node-normalize-package-data.
Preparing to unpack .../node-normalize-package-data_0.2.2-1_all.deb ...
Unpacking node-normalize-package-data (0.2.2-1) ...
Selecting previously unselected package node-read.
Preparing to unpack .../node-read_1.0.5-1_all.deb ...
Unpacking node-read (1.0.5-1) ...
Selecting previously unselected package node-read-package-json.
Preparing to unpack .../node-read-package-json_1.2.4-1_all.deb ...
Unpacking node-read-package-json (1.2.4-1) ...
Selecting previously unselected package node-retry.
Preparing to unpack .../node-retry_0.6.0-1_all.deb ...
Unpacking node-retry (0.6.0-1) ...
Selecting previously unselected package node-sha.
Preparing to unpack .../node-sha_1.2.3-1_all.deb ...
Unpacking node-sha (1.2.3-1) ...
Selecting previously unselected package node-slide.
Preparing to unpack .../node-slide_1.1.4-1_all.deb ...
Unpacking node-slide (1.1.4-1) ...
Selecting previously unselected package npm.
Preparing to unpack .../npm_1.4.21+ds-2_all.deb ...
Unpacking npm (1.4.21+ds-2) ...
Setting up libssl1.0.0:amd64 (1.0.1t-1+deb8u2) ...
Setting up libc-ares2:amd64 (1.10.0-2) ...
Setting up python-pkg-resources (5.5.1-1) ...
Setting up gyp (0.1~svn1729-3) ...
Setting up javascript-common (11) ...
Setting up libjs-jquery (1.7.2+dfsg-3.2) ...
Setting up libjs-node-uuid (1.4.0-1) ...
Setting up libjs-underscore (1.7.0~dfsg-1) ...
Setting up zlib1g-dev:amd64 (1:1.2.8.dfsg-2+b1) ...
Setting up libssl-dev:amd64 (1.0.1t-1+deb8u2) ...
Setting up libssl-doc (1.0.1t-1+deb8u2) ...
Setting up libv8-3.14.5 (3.14.5.8-8.1) ...
Setting up libv8-3.14-dev (3.14.5.8-8.1) ...
Setting up nodejs (0.10.29~dfsg-2) ...
update-alternatives: using /usr/bin/nodejs to provide /usr/bin/js (js) in auto mode
Setting up node-async (0.8.0-1) ...
Setting up node-node-uuid (1.4.0-1) ...
Setting up node-underscore (1.7.0~dfsg-1) ...
Setting up libc-ares-dev:amd64 (1.10.0-2) ...
Setting up node-abbrev (1.0.5-2) ...
Setting up node-ansi (0.3.0-2) ...
Setting up node-ansi-color-table (1.0.0-1) ...
Setting up node-archy (0.0.2-1) ...
Setting up node-inherits (2.0.1-1) ...
Setting up node-block-stream (0.0.7-1) ...
Setting up node-delayed-stream (0.0.5-1) ...
Setting up node-combined-stream (0.0.5-1) ...
Setting up node-cookie-jar (0.3.1-1) ...
Setting up node-forever-agent (0.5.1-1) ...
Setting up node-mime (1.2.11-1) ...
Setting up node-form-data (0.1.0-1) ...
Setting up node-rimraf (2.2.8-1) ...
Setting up node-mkdirp (0.5.0-1) ...
Setting up node-graceful-fs (3.0.2-1) ...
Setting up node-fstream (0.1.24-1) ...
Setting up node-lru-cache (2.3.1-1) ...
Setting up node-sigmund (1.0.0-1) ...
Setting up node-minimatch (1.0.0-1) ...
Setting up node-fstream-ignore (0.0.6-2) ...
Setting up node-github-url-from-git (1.1.1-1) ...
Setting up node-once (1.1.1-1) ...
Setting up node-glob (4.0.5-1) ...
Setting up nodejs-dev (0.10.29~dfsg-2) ...
Setting up node-nopt (3.0.1-1) ...
Setting up node-npmlog (0.0.4-1) ...
Setting up node-osenv (0.1.0-1) ...
Setting up node-tunnel-agent (0.3.1-1) ...
Setting up node-json-stringify-safe (5.0.0-1) ...
Setting up node-qs (2.2.4-1) ...
Setting up node-request (2.26.1-1) ...
Setting up node-semver (2.1.0-2) ...
Setting up node-tar (0.1.18-1) ...
Setting up node-which (1.0.5-2) ...
Setting up node-gyp (0.12.2+ds-1) ...
Setting up node-ini (1.1.0-1) ...
Setting up node-lockfile (0.4.1-1) ...
Setting up node-mute-stream (0.0.4-1) ...
Setting up node-normalize-package-data (0.2.2-1) ...
Setting up node-read (1.0.5-1) ...
Setting up node-read-package-json (1.2.4-1) ...
Setting up node-retry (0.6.0-1) ...
Setting up node-sha (1.2.3-1) ...
Setting up node-slide (1.1.4-1) ...
Setting up npm (1.4.21+ds-2) ...
Processing triggers for libc-bin (2.19-18+deb8u3) ...
/usr/local/bin/bower -> /usr/local/lib/node_modules/bower/bin/bower
bower@1.7.9 /usr/local/lib/node_modules/bower
Collecting pandas==0.18.1
  Downloading pandas-0.18.1-cp35-cp35m-manylinux1_x86_64.whl (15.1MB)
    100% |████████████████████████████████| 15.2MB 114kB/s 
Requirement already satisfied (use --upgrade to upgrade): numpy>=1.7.0 in /opt/conda/lib/python3.5/site-packages (from pandas==0.18.1)
Requirement already satisfied (use --upgrade to upgrade): pytz>=2011k in /opt/conda/lib/python3.5/site-packages (from pandas==0.18.1)
Requirement already satisfied (use --upgrade to upgrade): python-dateutil>=2 in /opt/conda/lib/python3.5/site-packages (from pandas==0.18.1)
Requirement already satisfied (use --upgrade to upgrade): six>=1.5 in /opt/conda/lib/python3.5/site-packages (from python-dateutil>=2->pandas==0.18.1)
Installing collected packages: pandas
  Found existing installation: pandas 0.17.1
    Uninstalling pandas-0.17.1:
      Successfully uninstalled pandas-0.17.1
Successfully installed pandas-0.18.1
You are using pip version 8.1.1, however version 8.1.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
also installing the dependencies ‘memoise’, ‘whisker’, ‘rstudioapi’, ‘git2r’, ‘withr’, ‘mime’, ‘curl’, ‘openssl’, ‘R6’

Loading required package: methods
Loading required package: bitops
Removing package from ‘/opt/conda/lib/R/library’
(as ‘lib’ is unspecified)
Removing package from ‘/opt/conda/lib/R/library’
(as ‘lib’ is unspecified)
Removing package from ‘/opt/conda/lib/R/library’
(as ‘lib’ is unspecified)
trying URL 'http://cran.rstudio.com/src/contrib/crayon_1.3.2.tar.gz'
Content type 'application/x-gzip' length 656168 bytes (640 KB)
==================================================
downloaded 640 KB

trying URL 'http://cran.rstudio.com/src/contrib/digest_0.6.10.tar.gz'
Content type 'application/x-gzip' length 118336 bytes (115 KB)
==================================================
downloaded 115 KB

trying URL 'http://cran.rstudio.com/src/contrib/evaluate_0.9.tar.gz'
Content type 'application/x-gzip' length 19165 bytes (18 KB)
==================================================
downloaded 18 KB

trying URL 'http://cran.rstudio.com/src/contrib/jsonlite_1.0.tar.gz'
Content type 'application/x-gzip' length 1057732 bytes (1.0 MB)
==================================================
downloaded 1.0 MB

trying URL 'http://cran.rstudio.com/src/contrib/pbdZMQ_0.2-3.tar.gz'
Content type 'application/x-gzip' length 962069 bytes (939 KB)
==================================================
downloaded 939 KB

sha256:41ef1acebdb547580dc2de665d0e64c0356cc6db3d8968fd38ad1dd89a611397
bower-build
Error response from daemon: No such container: 4.2-build
make: [dev_image_4.2] Error 1 (ignored)
DEPRECATION: Uninstalling a distutils installed project (ipywidgets) has been deprecated and will be removed in a future version. This is due to the fact that uninstalling a distutils project will only partially uninstall the project.
Uninstalling ipywidgets-4.1.1:
  Successfully uninstalled ipywidgets-4.1.1
You are using pip version 8.1.1, however version 8.1.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Enabling notebook extension jupyter-js-widgets/extension...
      - Validating: OK
[ToreeInstall] Installing Apache Toree version 0.1.0.dev8
[ToreeInstall] 
Apache Toree is an effort undergoing incubation at the Apache Software
Foundation (ASF), sponsored by the Apache Incubator PMC.

Incubation is required of all newly accepted projects until a further review
indicates that the infrastructure, communications, and decision making process
have stabilized in a manner consistent with other successful ASF projects.

While incubation status is not necessarily a reflection of the completeness
or stability of the code, it does indicate that the project has yet to be
fully endorsed by the ASF.

Additionally, this release is not fully compliant with Apache release policy
and includes a runtime dependency that is licensed as LGPL v3 (plus a static
linking exception). This package is currently under an effort to re-license
(https://github.com/zeromq/jeromq/issues/327).
[ToreeInstall] Creating kernel Scala
[ToreeInstall] Installed kernelspec apache_toree_scala in /usr/local/share/jupyter/kernels/apache_toree_scala
sha256:497045ca0b232d0bbad4685b9f3300e7be30b074caf9f15db7d0d0fb5b41d427
4.2-build
Error response from daemon: No such container: 4.2.oldipyw-build
make: [dev_image_4.2.oldipyw] Error 1 (ignored)
sha256:505c6f7faf9e9efd53ab6a58e5b2caf736230e3765be0478f9a1ad0d94a31421
4.2.oldipyw-build
Moving frontend extension code
Moving python code
Building declarativewidgets/static/css
Installing documentation dependencies

> urth-widgets@0.1.0 docsbower /Users/paulperry/lib/declarativewidgets
> cd dist/docs && bower "install" "--quiet"

Moving static doc site content
Running polybuild on docs.html

> urth-widgets@0.1.0 polybuild /Users/paulperry/lib/declarativewidgets
> polybuild "--maximum-crush" "dist/docs/site/docs.html"

> urth-widgets@0.1.0 bower /Users/paulperry/lib/declarativewidgets
> bower "install" "--quiet"

Linking local Urth elements
bower invalid-meta  The "main" field has to contain only 1 file per filetype; found multiple .html files: ["jupyter-kernel-observer.html","jupyter-widget-behavior.html"]
Running hydrolysis to generate doc json
Behavior Urth.DomBindBehavior not found when mixing properties into urth-core-bind!
Behavior Urth.ExecutionCompleteBehavior not found when mixing properties into urth-core-dataframe!
Behavior Urth.ExecutionCompleteBehavior not found when mixing properties into urth-core-function!
Behavior Polymer.IronResizableBehavior not found when mixing properties into urth-viz-cloud!
Behavior Polymer.IronResizableBehavior not found when mixing properties into urth-viz-table!
Behavior Urth.ExecutionCompleteBehavior not found when mixing properties into urth-viz-ipywidget!
Building declarativewidgets/static/docs
Building declarativewidgets/static/elements
Building declarativewidgets/static/js
Building declarativewidgets/static/urth_components
Skipping scala code
Building R code
Building declarativewidgets/static/urth-widgets.tgz
* installing to library ‘/usr/local/spark-1.6.0-bin-hadoop2.6/R/lib’
* installing *source* package ‘declarativewidgets’ ...
** R
** preparing package for lazy loading
** help
Warning: /tmp/src/man/widgets-package.Rd:27: All text must be in a section
Warning: /tmp/src/man/widgets-package.Rd:28: All text must be in a section
*** installing help indices
** building package indices
** testing if installed package can be loaded
* creating tarball
packaged installation of ‘declarativewidgets’ as ‘declarativewidgets_0.1_R_x86_64-pc-linux-gnu.tar.gz’
* DONE (declarativewidgets)
Building declarativewidgets python module
warning: no files found matching '*.jar' under directory 'declarativewidgets/static'
warning: sdist: standard file not found: should have one of README, README.rst, README.txt

declarativewidgets>pip install --upgrade  --no-binary ::all: dist/jupyter_declarativewidgets-0.7.0.dev1.tar.gz 
Processing ./dist/jupyter_declarativewidgets-0.7.0.dev1.tar.gz
Building wheels for collected packages: jupyter-declarativewidgets
  Running setup.py bdist_wheel for jupyter-declarativewidgets ... done
  Stored in directory: /Users/paulperry/Library/Caches/pip/wheels/05/56/f1/adb71dc397a2229a6be9e19430b43ec62c85569e6b129d6517
Successfully built jupyter-declarativewidgets
Installing collected packages: jupyter-declarativewidgets
  Found existing installation: jupyter-declarativewidgets 0.7.0.dev1
    Uninstalling jupyter-declarativewidgets-0.7.0.dev1:
      Successfully uninstalled jupyter-declarativewidgets-0.7.0.dev1
Successfully installed jupyter-declarativewidgets-0.7.0.dev1
declarativewidgets>ls dist
MANIFEST.in                 jupyter_declarativewidgets-0.7.0.dev1.tar.gz
VERSION                     scripts
declarativewidgets              setup.py
docs                        urth
declarativewidgets>
aluu317 commented 7 years ago

Can you start a Notebook and execute the same cells again? I think you successfully installed the new build here.

And you will get errors again when executing the cells, please take a screen shots of them.

paulperry commented 7 years ago

I'm not past the pyspark problem. Below is the screen error and js console:

screen shot 2016-08-19 at 3 56 46 pm screen shot 2016-08-19 at 3 59 09 pm

I don't know why urth_component's are being imported because I didn't execute that cell, but apparently the JS console has an error to that effect.

You are welcome to take over my laptop and kill this issue once and for all :-) .

lbustelo commented 7 years ago

@paulperry Can you open a separate issue for the pyspark problem? It is not ok for us to require pyspark to use declarativewidgets.

paulperry commented 7 years ago

Submitted the pyspark issue as #495 .

lbustelo commented 7 years ago

@paulperry Any update on this. We've merge a fix for #495.

paulperry commented 7 years ago

@lbustelo , I'm now passed issue #495 , but the gist is still failing with the following errors:

screen shot 2016-08-30 at 11 39 11 am

I'm up to date WRT origin/master and here is the latest git log:

declarativewidgets>git log
commit f0364dc68561dc8ce0c4e72db0ff460d1d75db36
Merge: 07fed98 359fbfa
Author: Gino Bustelo <gino@bustelos.com>
Date:   Mon Aug 29 15:25:27 2016 -0500

    [PR #499] Do not require installing pyspark
lbustelo commented 7 years ago

Are you doing the remaining steps after the pip install?

jupyter declarativewidgets quick-setup --sys-prefix

The most telling log is the one that says

Server extension is NOT available!

That tells me that the installation of our extension is not complete. That server extension is responsible for serving those /urth_components/... URLs that are resulting in 404.

paulperry commented 7 years ago

I had not re-applied the setup after the pip install. I just did :

jupyter declarativewidgets quick-setup --sys-prefix
jupyter nbextension enable declarativewidgets --py --sys-prefix

and got Validating: OK messages after each command. Then I re-ran the notebook in the gist and got the same errors:

screen shot 2016-08-30 at 3 55 10 pm
lbustelo commented 7 years ago

@paulperry Then something is wrong with the installation. Still see the Server extension NOT available! message. Make sure you restart your frontend server after activation.

If you did the restart... then there is something not getting done right on extension installation. I would have expected an error. We use libraries from Jupyter to do all that. Our code in this area is very minimal. Maybe permission problems?

paulperry commented 7 years ago

I am admin on my Macbook Pro and am working with a local anaconda install, so I don't think it's a permission problem. This is the output of the pip install:

declarativewidgets>pip install --upgrade  --no-binary ::all: dist/jupyter_declarativewidgets-0.7.0.dev1.tar.gz 
Processing ./dist/jupyter_declarativewidgets-0.7.0.dev1.tar.gz
Building wheels for collected packages: jupyter-declarativewidgets
  Running setup.py bdist_wheel for jupyter-declarativewidgets ... done
  Stored in directory: /Users/paulperry/Library/Caches/pip/wheels/05/56/f1/adb71dc397a2229a6be9e19430b43ec62c85569e6b129d6517
Successfully built jupyter-declarativewidgets
Installing collected packages: jupyter-declarativewidgets
  Found existing installation: jupyter-declarativewidgets 0.7.0.dev1
    Uninstalling jupyter-declarativewidgets-0.7.0.dev1:
      Successfully uninstalled jupyter-declarativewidgets-0.7.0.dev1
Successfully installed jupyter-declarativewidgets-0.7.0.dev1
declarativewidgets>git status
On branch master
Your branch is up-to-date with 'origin/master'.

This is the output of the setup:

~>jupyter declarativewidgets quick-setup --sys-prefix
/Users/paulperry/anaconda/lib/python3.5/site-packages/urth/widgets/__init__.py:7: UserWarning: The `urth` package name is deprecated. Will be removed in version 0.7.0. Use 'declarativewidgets' instead.
  warn("The `urth` package name is deprecated. Will be removed in version 0.7.0. "
Enabling: urth.widgets.ext.urth_import
- Writing config: /Users/paulperry/anaconda/etc/jupyter
    - Validating...
      urth.widgets.ext.urth_import  OK
Unrecognized JSON config file version, assuming version 1
Unrecognized JSON config file version, assuming version 1
Installing /Users/paulperry/anaconda/lib/python3.5/site-packages/declarativewidgets/static -> declarativewidgets
Out of date: /Users/paulperry/anaconda/share/jupyter/nbextensions/declarativewidgets/bower.json
Copying: /Users/paulperry/anaconda/lib/python3.5/site-packages/declarativewidgets/static/bower.json -> /Users/paulperry/anaconda/share/jupyter/nbextensions/declarativewidgets/bower.json
Out of date: /Users/paulperry/anaconda/share/jupyter/nbextensions/declarativewidgets/urth-widgets.tgz
Copying: /Users/paulperry/anaconda/lib/python3.5/site-packages/declarativewidgets/static/urth-widgets.tgz -> /Users/paulperry/anaconda/share/jupyter/nbextensions/declarativewidgets/urth-widgets.tgz
Out of date: /Users/paulperry/anaconda/share/jupyter/nbextensions/declarativewidgets/css/main.css
Copying: /Users/paulperry/anaconda/lib/python3.5/site-packages/declarativewidgets/static/css/main.css -> /Users/paulperry/anaconda/share/jupyter/nbextensions/declarativewidgets/css/main.css
O
[...]
Copying: /Users/paulperry/anaconda/lib/python3.5/site-packages/declarativewidgets/static/urth_components/zeroclipboard/dist/ZeroClipboard.js -> /Users/paulperry/anaconda/share/jupyter/nbextensions/declarativewidgets/urth_components/zeroclipboard/dist/ZeroClipboard.js
Out of date: /Users/paulperry/anaconda/share/jupyter/nbextensions/declarativewidgets/urth_components/zeroclipboard/dist/ZeroClipboard.min.js
Copying: /Users/paulperry/anaconda/lib/python3.5/site-packages/declarativewidgets/static/urth_components/zeroclipboard/dist/ZeroClipboard.min.js -> /Users/paulperry/anaconda/share/jupyter/nbextensions/declarativewidgets/urth_components/zeroclipboard/dist/ZeroClipboard.min.js
- Validating: OK

    To initialize this nbextension in the browser every time the notebook (or other app) loads:

          jupyter nbextension enable declarativewidgets --py --sys-prefix

Unrecognized JSON config file version, assuming version 1
Unrecognized JSON config file version, assuming version 1
Enabling notebook extension declarativewidgets/js/main...
      - Validating: OK
~>jupyter nbextension enable declarativewidgets --py --sys-prefix
Unrecognized JSON config file version, assuming version 1
Unrecognized JSON config file version, assuming version 1
Enabling notebook extension declarativewidgets/js/main...
      - Validating: OK
~>

This is the notebook startup:

>jupyter notebook
[W 15:52:08.856 NotebookApp] Unrecognized JSON config file version, assuming version 1
[W 15:52:08.857 NotebookApp] Unrecognized JSON config file version, assuming version 1
[I 15:52:09.038 NotebookApp] Loaded extension jupyter_nbextensions_configurator
[I 15:52:09.039 NotebookApp] Serving notebooks from local directory: /Users/paulperry
[I 15:52:09.039 NotebookApp] 0 active kernels 
[I 15:52:09.039 NotebookApp] The Jupyter Notebook is running at: http://localhost:8888/
[I 15:52:09.039 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[W 15:52:16.890 NotebookApp] 404 GET /notebooks/urth_components/juicy-html/juicy-html.html (::1): No such file or directory: urth_components/juicy-html/juicy-html.html
[W 15:52:16.896 NotebookApp] 404 GET /notebooks/urth_components/juicy-html/juicy-html.html (::1) 6.34ms referer=http://localhost:8888/notebooks/DW_OSX_test.ipynb
[W 15:52:16.897 NotebookApp] 404 GET /notebooks/urth_components/urth-viz-table/urth-viz-table.html (::1): No such file or directory: urth_components/urth-viz-table/urth-viz-table.html
[W 15:52:16.898 NotebookApp] 404 GET /notebooks/urth_components/urth-viz-table/urth-viz-table.html (::1) 1.42ms referer=http://localhost:8888/notebooks/DW_OSX_test.ipynb
[I 15:52:16.971 NotebookApp] Kernel started: 8ec8da29-0fe6-44b3-9243-7c5179f82541
[W 15:52:17.060 NotebookApp] 404 GET /urth_components/urth-core-behaviors/jupyter-notebook-env.html (::1) 2.08ms referer=http://localhost:8888/notebooks/DW_OSX_test.ipynb
[IPKernelApp] ERROR | No such comm target registered: jupyter.widget.version
[IPKernelApp] ERROR | No such comm target registered: jupyter.widget.version
[IPKernelApp] ERROR | No such comm target registered: jupyter.widget
[W 15:52:17.591 NotebookApp] 404 GET /static/does/not/exist.js?v=20160830155208 (::1) 1.08ms referer=http://localhost:8888/notebooks/DW_OSX_test.ipynb
[IPKernelApp] ERROR | No such comm target registered: jupyter.widget
[IPKernelApp] ERROR | No such comm target registered: jupyter.widget
[W 15:52:38.664 NotebookApp] 404 GET /static/components/backbone/backbone-min.map (::1) 1.67ms referer=None
[I 15:54:16.975 NotebookApp] Saving file at /DW_OSX_test.ipynb
[IPKernelApp] ERROR | No such comm target registered: jupyter.widget

What I see is GET's to locations that don't have the urth_components.

paulperry commented 7 years ago

If the Server extension is NOT available! , would the <urth-help> fail? In my case it runs fine.

lbustelo commented 7 years ago

@paulperry That is odd... I would expect nothing to work.

paulperry commented 7 years ago

@lbustelo @peller is anyone able to run on a Mac OSX conda install? If so then of course I'm doing something wrong. I performed the following commands:

~>jupyter declarativewidgets quick-remove --sys-prefix
/Users/paulperry/anaconda/lib/python3.5/site-packages/urth/widgets/__init__.py:7: UserWarning: The `urth` package name is deprecated. Will be removed in version 0.7.0. Use 'declarativewidgets' instead.
  warn("The `urth` package name is deprecated. Will be removed in version 0.7.0. "
Unrecognized JSON config file version, assuming version 1
Unrecognized JSON config file version, assuming version 1
Disabling notebook extension declarativewidgets/js/main...
      - Validating: OK
Unrecognized JSON config file version, assuming version 1
Unrecognized JSON config file version, assuming version 1
Uninstalling declarativewidgets declarativewidgets/js/main
Removing: /Users/paulperry/anaconda/share/jupyter/nbextensions/declarativewidgets
Disabling: urth.widgets.ext.urth_import
- Writing config: /Users/paulperry/anaconda/etc/jupyter
~>pip uninstall jupyter_declarativewidgets
Uninstalling jupyter-declarativewidgets-0.8.0.dev0:
[...]
Proceed (y/n)? y
  Successfully uninstalled jupyter-declarativewidgets-0.8.0.dev0

~>pip install jupyter_declarativewidgets
Collecting jupyter_declarativewidgets
  Downloading jupyter_declarativewidgets-0.7.0.tar.gz (4.0MB)
    100% |████████████████████████████████| 4.0MB 199kB/s 
Building wheels for collected packages: jupyter-declarativewidgets
  Running setup.py bdist_wheel for jupyter-declarativewidgets ... done
  Stored in directory: /Users/paulperry/Library/Caches/pip/wheels/5f/ba/12/d78f2711de8dee786872692ff2a4cc79258bdcf5487473acfd
Successfully built jupyter-declarativewidgets
Installing collected packages: jupyter-declarativewidgets
Successfully installed jupyter-declarativewidgets-0.7.0
~>jupyter declarativewidgets quick-setup --sys-prefix
/Users/paulperry/anaconda/lib/python3.5/site-packages/urth/widgets/__init__.py:7: UserWarning: The `urth` package name is deprecated. Will be removed in version 0.7.0. Use 'declarativewidgets' instead.
  warn("The `urth` package name is deprecated. Will be removed in version 0.7.0. "
Enabling: urth.widgets.ext.urth_import
- Writing config: /Users/paulperry/anaconda/etc/jupyter
    - Validating...
      urth.widgets.ext.urth_import  OK
Unrecognized JSON config file version, assuming version 1
Unrecognized JSON config file version, assuming version 1
Installing /Users/paulperry/anaconda/lib/python3.5/site-packages/declarativewidgets/static -> declarativewidgets
Making directory: /Users/paulperry/anaconda/share/jupyter/nbextensions/declarativewidgets/
[...]
 Validating: OK

    To initialize this nbextension in the browser every time the notebook (or other app) loads:

          jupyter nbextension enable declarativewidgets --py --sys-prefix

Unrecognized JSON config file version, assuming version 1
Unrecognized JSON config file version, assuming version 1
Enabling notebook extension declarativewidgets/js/main...
      - Validating: OK
~>jupyter nbextension enable declarativewidgets --py --sys-prefix
Unrecognized JSON config file version, assuming version 1
Unrecognized JSON config file version, assuming version 1
Enabling notebook extension declarativewidgets/js/main...
      - Validating: OK
~>jupyter notebook

I then run the gist, and it fails with the following console output:

screen shot 2016-11-17 at 4 35 08 pm

Running <urth-help> in that same notebook works. So installing the pip verision (0.7) doesn't work. I also tried installing 0.8 from the git clone and that also fails. The only way I can run this is in a docker dev . Clues?

paulperry commented 7 years ago

I have a colleague with the same problem but he's on a Windows platform. I no longer think this is a Max OSX issue.
js_console_scr

paulperry commented 7 years ago

I'm closing this issue. I have no idea what the problem was, but I'm chalking it up as some bad underlying library/environment. I have no idea how to trace the issue, but logging in to a different user on the same Mac was able to run the sample gist.