Closed breznak closed 7 years ago
The error manifests as:
(schools) mmm@mmm-U2442:/mnt/store/devel/HTM/htm_schools/htm-school-viz$ npm start 8080
> htm-school-viz@1.0.0 start /mnt/store/devel/HTM/htm_schools/htm-school-viz
> node index.js "8080"
htm-school-viz running on http://localhost:8080
Error: connect ECONNREFUSED 127.0.0.1:8000
at Object.exports._errnoException (util.js:870:11)
at exports._exceptionWithHostPort (util.js:893:20)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1063:14)
See https://github.com/htm-community/htm-school-viz/issues/19
Thanks @rikkertkoppes ! I really got that confused.
But still:
redis-server
(default 6379) ...OKpython webserver.py
, but it defaults to :8080
...FAIL *)npm start
*) as you see, I think the ports are still switched:
(schools) mmm@mmm-U2442:/mnt/store/devel/HTM/htm_schools/nupic-history-server$ python webserver.py
http://0.0.0.0:8080/
Traceback (most recent call last):
File "/mnt/store/devel/HTM/htm_schools/schools/local/lib/python2.7/site-packages/web/application.py", line 239, in process
return self.handle()
File "/mnt/store/devel/HTM/htm_schools/schools/local/lib/python2.7/site-packages/web/application.py", line 230, in handle
return self._delegate(fn, self.fvars, args)
File "/mnt/store/devel/HTM/htm_schools/schools/local/lib/python2.7/site-packages/web/application.py", line 462, in _delegate
return handle_class(cls)
File "/mnt/store/devel/HTM/htm_schools/schools/local/lib/python2.7/site-packages/web/application.py", line 438, in handle_class
return tocall(*args)
File "webserver.py", line 404, in DELETE
ioClient.nuke()
File "/mnt/store/devel/HTM/htm_schools/nupic-history-server/nupic_history/io_client.py", line 154, in nuke
for f in os.listdir(folder):
OSError: [Errno 2] No such file or directory: './working'
127.0.0.1:54508 - - [06/Apr/2017 16:46:54] "HTTP/1.1 DELETE /_flush/" - 500 Internal Server Error
PS: I'll fix and update the PRs
nupic-history-server
is a dependency forhtm-schoool-viz
since Ep.8+, there is mentioned thathtm-school-viz
expect redis tu run onport 8000
.While redis-server by default runs on
6379
- change either of them, so that the defaults match.