Hi Team,
I'm trying to setup htmengine-traffic-tutorial. I got HTM Engine up and
running.
htmengine:anomaly_service RUNNING pid 29614, uptime 0:00:22
htmengine:metric_listener RUNNING pid 29613, uptime 0:00:22
htmengine:metric_storer RUNNING pid 29615, uptime 0:00:22
htmengine:model_scheduler RUNNING pid 29616, uptime 0:00:2
But when I try to access the HTM HTTP Server after running python webapp.py,
its giving an "Internal
Server Error" with the below trace in the console.
Please let me know if I'm missing any configuration. I'm stuck here now. Please
advice
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/gevent/pywsgi.py", line 508, in
handle_one_response
self.run_application()
File "/usr/local/lib/python2.7/dist-packages/gevent/pywsgi.py", line 495, in
run_application
self.process_result()
File "/usr/local/lib/python2.7/dist-packages/gevent/pywsgi.py", line 484, in
process_result
for data in self.result:
File "webapp.py", line 107, in handler
schema.metric.c.uid])
File
"/home/mluser/numenta/numenta-apps/htmengine/htmengine/repository/queries.py",
line 444, in
getCustomMetricByName
raise ObjectNotFoundError("Custom metric not found for name=%s" % name)
ObjectNotFoundError: Custom metric not found for name=/
{'GATEWAY_INTERFACE': 'CGI/1.1',
'HTTP_ACCEPT':
'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING': 'gzip, deflate, sdch',
'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.8',
'HTTP_CONNECTION': 'keep-alive',
'HTTP_HOST': ':8080',
'HTTP_UPGRADE_INSECURE_REQUESTS': '1',
'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36
(KHTML, like Gecko)
Chrome/45.0.2454.93 Safari/537.36',
'PATH_INFO': '/',
'QUERY_STRING': '',
'REMOTE_ADDR': '101.63.195.129',
'REMOTE_PORT': '49671',
'REQUEST_METHOD': 'GET',
'SCRIPT_NAME': '',
'SERVER_NAME': 'ust-ml',
'SERVER_PORT': '8080',
'SERVER_PROTOCOL': 'HTTP/1.1',
'SERVER_SOFTWARE': 'gevent/1.0 Python/2.7',
'wsgi.errors': ,
'wsgi.input': ,
'wsgi.multiprocess': False,
'wsgi.multithread': False,
'wsgi.run_once': False,
'wsgi.url_scheme': 'http',
'wsgi.version': (1, 0)} failed with ObjectNotFoundError
101.63.195.129 - - [2015-09-20 15:06:15] "GET / HTTP/1.1" 500 161 0.054087
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/gevent/pywsgi.py", line 508, in
handle_one_response
self.run_application()
File "/usr/local/lib/python2.7/dist-packages/gevent/pywsgi.py", line 495, in
run_application
self.process_result()
File "/usr/local/lib/python2.7/dist-packages/gevent/pywsgi.py", line 484, in
process_result
for data in self.result:
File "webapp.py", line 107, in handler
schema.metric.c.uid])
File
"/home/mluser/numenta/numenta-apps/htmengine/htmengine/repository/queries.py",
line 444, in
getCustomMetricByName
raise ObjectNotFoundError("Custom metric not found for name=%s" % name)
ObjectNotFoundError: Custom metric not found for name=/favicon.ico
{'GATEWAY_INTERFACE': 'CGI/1.1',
'HTTP_ACCEPT': '*/*',
'HTTP_ACCEPT_ENCODING': 'gzip, deflate, sdch',
'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.8',
'HTTP_CONNECTION': 'keep-alive',
'HTTP_HOST': ':8080',
'HTTP_REFERER': 'http://:8080/',
'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36
(KHTML, like Gecko)
Chrome/45.0.2454.93 Safari/537.36',
'PATH_INFO': '/favicon.ico',
'QUERY_STRING': '',
'REMOTE_ADDR': '101.63.195.129',
'REMOTE_PORT': '49672',
'REQUEST_METHOD': 'GET',
'SCRIPT_NAME': '',
'SERVER_NAME': 'my-ml',
'SERVER_PORT': '8080',
'SERVER_PROTOCOL': 'HTTP/1.1',
'SERVER_SOFTWARE': 'gevent/1.0 Python/2.7',
'wsgi.errors': ,
'wsgi.input': ,
'wsgi.multiprocess': False,
'wsgi.multithread': False,
'wsgi.run_once': False,
'wsgi.url_scheme': 'http',
'wsgi.version': (1, 0)} failed with ObjectNotFoundError
Regards
Chandra