Genentech / pviz-app-proteomics-3d

Other
2 stars 1 forks source link

Demo Application Not Working #1

Open arthurchipdean opened 9 years ago

arthurchipdean commented 9 years ago

I cloned the repo, then ran: npm install, bower install and then grunt server. When I click the green pdb structure the 3d structure does not display. The following error is repeating 30 times in the console. What am I doing wrong?

Error: Invalid value for attribute r="NaN"pviz-bundle.js:13175 opviz-bundle.js:13177 (anonymous function)pviz-bundle.js:13175 Npviz-bundle.js:13177 ya.eachpviz-bundle.js:13177 ya.attrpviz-customization.js:68 pviz.FeatureDisplayer.setCustomHandler.appenderpviz-bundle.js:13922 (anonymous function)pviz-bundle.js:10171 .each..forEachpviz-bundle.js:11158 .(anonymous function)pviz-bundle.js:13921 FeatureDisplayer.appendpviz-bundle.js:17915 (anonymous function)pviz-bundle.js:10163 .each..forEachpviz-bundle.js:11158 .(anonymous function)pviz-bundle.js:17876 Backbone.View.extend.p_setup_layer_featurespviz-bundle.js:17720 Backbone.View.extend.updatepviz-bundle.js:11521 triggerEventspviz-bundle.js:11464 Backbone.Events.triggerpviz-bundle.js:12948 Backbone.Model.extend.addFeaturesmain.js:80 (anonymous function)pviz-bundle.js:1525 firepviz-bundle.js:1636 self.fireWithpviz-bundle.js:1763 (anonymous function)pviz-bundle.js:1525 firepviz-bundle.js:1636 self.fireWithpviz-bundle.js:8562 donepviz-bundle.js:9086 callback

arthurchipdean commented 9 years ago

What versions of the dependencies were you using? The bower.json file does not specify version information for pviz, threejs, and uniprot. My guess is that newer versions of these libraries are being installed, which is causing this issue. Any help would be greatly appreciated. Thank you!

alexmasselot commented 9 years ago

Hi Sorry to hear that. You're right, No forcing some better constraint on package version is not very wise these days :) So I assume you do not see anything? Can we have the output of: node --version npm --version bower --version cat app/bower_components/pviz/package.json cat app/bower_components/uniprot/package.json cat app/bower_components/threejs/bower.json

Alex

arthurchipdean commented 9 years ago

Hi Alex,

Here is the information you requested. Please let me know if you need anything else from me. Thank you for your help!

C:\Users\adean>node --version v0.10.35

C:\Users\adean>npm --version 1.4.28

C:\Users\adean>bower --version 1.3.12

pviz/package.json: { "name": "pviz", "version": "0.1.10", "dependencies": {}, "devDependencies": { "grunt": "~0.4.2", "grunt-contrib-jshint": "~0.7.2", "grunt-contrib-uglify": "~0.2.7", "grunt-contrib-watch": "~0.5.3", "bower": "~1.2.8", "grunt-bower-requirejs": "~0.8.0", "grunt-devserver": "~0.5.0", "grunt-requirejs": "~0.4.0", "grunt-contrib-concat": "~0.3.0", "grunt-cli": "~0.1.11", "grunt-contrib-copy": "~0.4.1", "grunt-contrib-clean": "~0.5.0", "grunt-jsdoc": "^0.5.6" } }

uniprot/package.json

{ "name": "uniprot", "version": "0.0.10", "main": "dist/uniprot.min.js", "description": "Uniprot text file parser", "repository": { "type": "git", "url": "git://github.com/genentech/uniprot-js.git" }, "keywords": ["uniprot", "biojs"], "author": "Alexandre Masselot", "license": "MIT", "readmeFilename": "README.md", "dependencies": {}, "devDependencies": { "grunt-contrib-concat": "~0.3.0", "grunt-contrib-jshint": "~0.6.4", "grunt-contrib-uglify": "~0.2.4", "grunt": "~0.4.1", "grunt-contrib-watch": "~0.5.3", "grunt-cli": "~0.1.11", "grunt-mocha-test": "~0.8.1", "grunt-shell": "^0.6.4" } }

threejs/bower.json { "name": "three.js", "homepage": "http://threejs.org/", "description": "JavaScript 3D library", "main": "build/three.js", "keywords": [ "three", "threejs", "three.js", "3D", "webgl" ], "license": "MIT", "ignore": [ "*/.", "_.md", "docs", "editor", "examples", "src", "test", "utils", "LICENSE" ], "_release": "ca14c79920", "_resolution": { "type": "branch", "branch": "master", "commit": "ca14c799205dd647d461bb3554d71186c4069d09" }, "_source": "git://github.com/mrdoob/three.js.git", "target": "", "_originalSource": "threejs" }