Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error running nyuv2 sample #15

Open
ishanic opened this issue Jun 12, 2020 · 0 comments
Open

error running nyuv2 sample #15

ishanic opened this issue Jun 12, 2020 · 0 comments

Comments

@ishanic
Copy link

ishanic commented Jun 12, 2020

Hello,

I followed the instructions listed under the issue ("No server/static/data/nyuv2/nyuv2.scans.txt #3"), i.e.,

  • Build the sstk dev branch using the build.sh script,
  • Download the NYUv2 example data by running the getexamples.sh script,
  • Run the server module using the run.sh script in server,
  • Navigate to http://localhost:8010/scans/nyuv2.

I followed these steps but that led to the following error. Could you help?
Thanks.

(base) /mnt/t4/data/scannet/sstk-dev/server$ ./run.sh

[email protected] install /mnt/t4/data/scannet/sstk-dev/server/node_modules/phantomjs-prebuilt
node install.js

PhantomJS not found on PATH
Download already available at /tmp/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2
Verified checksum of previously downloaded file
Extracting tar contents (via spawned process)
Removing /mnt/t4/data/scannet/sstk-dev/server/node_modules/phantomjs-prebuilt/lib/phantom
Copying extracted folder /tmp/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2-extract-1591935561140/phantomjs-2.1.1-linux-x86_64 -> /mnt/t4/data/scannet/sstk-dev/server/node_modules/phantomjs-prebuilt/lib/phantom
Writing location.js file
Done. Phantomjs binary available at /mnt/t4/data/scannet/sstk-dev/server/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs
added 456 packages from 895 contributors and audited 458 packages in 8.36s
found 51 vulnerabilities (10 low, 5 moderate, 34 high, 2 critical)
run npm audit fix to fix them, or npm audit for details

[email protected] start /mnt/t4/data/scannet/sstk-dev/server
node app/

STK running on localhost:9010
Reverse proxy running on localhost:8010
*** Done booting server. Access through localhost:8010 ***
2020-06-12T04:20:22.248Z - error: [SQLQuerier] Error querying database message=connect ECONNREFUSED 127.0.0.1:3306, stack=Error: connect ECONNREFUSED 127.0.0.1:3306
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1113:14)
--------------------
at Protocol._enqueue (/mnt/t4/data/scannet/sstk-dev/server/node_modules/mysql/lib/protocol/Protocol.js:144:48)
at Protocol.handshake (/mnt/t4/data/scannet/sstk-dev/server/node_modules/mysql/lib/protocol/Protocol.js:51:23)
at PoolConnection.connect (/mnt/t4/data/scannet/sstk-dev/server/node_modules/mysql/lib/Connection.js:118:18)
at Pool.getConnection (/mnt/t4/data/scannet/sstk-dev/server/node_modules/mysql/lib/Pool.js:48:16)
at SQLAnnotationDb.SQLQuerier.execute (/mnt/t4/data/scannet/sstk-dev/server/lib/sql-querier.js:30:13)
at SQLAnnotationDb.SQLQuerier.queryDb (/mnt/t4/data/scannet/sstk-dev/server/lib/sql-querier.js:57:8)
at SQLAnnotationDb.SQLQuerier.__queryColumnNames (/mnt/t4/data/scannet/sstk-dev/server/lib/sql-querier.js:168:8)
at SQLAnnotationDb.SQLQuerier.queryColumnNames (/mnt/t4/data/scannet/sstk-dev/server/lib/sql-querier.js:178:10)
at SQLAnnotationDb.queryAnnotations (/mnt/t4/data/scannet/sstk-dev/server/app/sqlAnnotationDb.js:325:10)
at /mnt/t4/data/scannet/sstk-dev/server/proj/scannet/index.js:146:11, errno=ECONNREFUSED, code=ECONNREFUSED, syscall=connect, address=127.0.0.1, port=3306, fatal=true
2020-06-12T04:20:22.258Z - error: [SQLQuerier] Error querying database message=connect ECONNREFUSED 127.0.0.1:3306, stack=Error: connect ECONNREFUSED 127.0.0.1:3306
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1113:14)
--------------------
at Protocol._enqueue (/mnt/t4/data/scannet/sstk-dev/server/node_modules/mysql/lib/protocol/Protocol.js:144:48)
at Protocol.handshake (/mnt/t4/data/scannet/sstk-dev/server/node_modules/mysql/lib/protocol/Protocol.js:51:23)
at PoolConnection.connect (/mnt/t4/data/scannet/sstk-dev/server/node_modules/mysql/lib/Connection.js:118:18)
at Pool.getConnection (/mnt/t4/data/scannet/sstk-dev/server/node_modules/mysql/lib/Pool.js:48:16)
at SQLAnnotationDb.SQLQuerier.execute (/mnt/t4/data/scannet/sstk-dev/server/lib/sql-querier.js:30:13)
at SQLAnnotationDb.SQLQuerier.queryDb (/mnt/t4/data/scannet/sstk-dev/server/lib/sql-querier.js:57:8)
at SQLAnnotationDb.SQLQuerier.__queryColumnNames (/mnt/t4/data/scannet/sstk-dev/server/lib/sql-querier.js:168:8)
at SQLAnnotationDb.SQLQuerier.queryColumnNames (/mnt/t4/data/scannet/sstk-dev/server/lib/sql-querier.js:178:10)
at SQLAnnotationDb.queryAnnotations (/mnt/t4/data/scannet/sstk-dev/server/app/sqlAnnotationDb.js:325:10)
at SegmentAnnotatorServer.listAnnotations (/mnt/t4/data/scannet/sstk-dev/server/proj/scannet/segmentAnnotatorServer.js:351:13), errno=ECONNREFUSED, code=ECONNREFUSED, syscall=connect, address=127.0.0.1, port=3306, fatal=true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant