Skip to content

Instantly share code, notes, and snippets.

@JonnoFTW
Created December 8, 2015 11:18
Show Gist options
  • Save JonnoFTW/fab85e75a17c600b0692 to your computer and use it in GitHub Desktop.
Save JonnoFTW/fab85e75a17c600b0692 to your computer and use it in GitHub Desktop.
2015-12-08T11:14:06.872092+00:00 heroku[router]: at=info method=GET path="/create/kw_energy_consumption" host=morning-meadow-1412.herokuapp.com request_id=5851ad11-5abd-4d10-aab0-5524f5ab8d08 fwd="121.45.152.138" dyno=web.1 connect=1ms service=156ms status=500 bytes=269
2015-12-08T11:14:06.863757+00:00 app[web.1]: ERROR:com.numenta.nupic.tools.configuration_base:Error while parsing configuration file: None.
2015-12-08T11:14:06.863762+00:00 app[web.1]: Traceback (most recent call last):
2015-12-08T11:14:06.863764+00:00 app[web.1]: File "/app/.heroku/python/lib/python2.7/site-packages/nupic/support/configuration_base.py", line 338, in _readConfigFile
2015-12-08T11:14:06.863764+00:00 app[web.1]: " variable %r, which is not defined" % (varname))
2015-12-08T11:14:06.863765+00:00 app[web.1]: RuntimeError: Attempting to use the value of the environment variable 'USER', which is not defined
2015-12-08T11:14:06.867657+00:00 app[web.1]: ERR: Unable to create region Classifier of type CLAClassifierRegion [/home/travis/build/numenta/nupic.core/src/nupic/engine/RegionImplFactory.cpp line 249]
2015-12-08T11:14:06.871471+00:00 app[web.1]: ERROR:waitress:Exception when serving /create/kw_energy_consumption
2015-12-08T11:14:06.871475+00:00 app[web.1]: Traceback (most recent call last):
2015-12-08T11:14:06.871476+00:00 app[web.1]: File "/app/.heroku/python/lib/python2.7/site-packages/waitress/channel.py", line 336, in service
2015-12-08T11:14:06.871476+00:00 app[web.1]: task.service()
2015-12-08T11:14:06.871477+00:00 app[web.1]: File "/app/.heroku/python/lib/python2.7/site-packages/waitress/task.py", line 169, in service
2015-12-08T11:14:06.871478+00:00 app[web.1]: self.execute()
2015-12-08T11:14:06.871478+00:00 app[web.1]: File "/app/.heroku/python/lib/python2.7/site-packages/waitress/task.py", line 388, in execute
2015-12-08T11:14:06.871479+00:00 app[web.1]: app_iter = self.channel.server.application(env, start_response)
2015-12-08T11:14:06.871479+00:00 app[web.1]: File "/app/.heroku/python/lib/python2.7/site-packages/pyramid/router.py", line 242, in __call__
2015-12-08T11:14:06.871480+00:00 app[web.1]: response = self.invoke_subrequest(request, use_tweens=True)
2015-12-08T11:14:06.871480+00:00 app[web.1]: File "/app/.heroku/python/lib/python2.7/site-packages/pyramid/router.py", line 217, in invoke_subrequest
2015-12-08T11:14:06.871481+00:00 app[web.1]: response = handle_request(request)
2015-12-08T11:14:06.871481+00:00 app[web.1]: File "/app/.heroku/python/lib/python2.7/site-packages/pyramid/tweens.py", line 21, in excview_tween
2015-12-08T11:14:06.871482+00:00 app[web.1]: response = handler(request)
2015-12-08T11:14:06.871482+00:00 app[web.1]: File "/app/.heroku/python/lib/python2.7/site-packages/pyramid/router.py", line 163, in handle_request
2015-12-08T11:14:06.871483+00:00 app[web.1]: response = view_callable(context, request)
2015-12-08T11:14:06.871483+00:00 app[web.1]: File "/app/.heroku/python/lib/python2.7/site-packages/pyramid/config/views.py", line 329, in attr_view
2015-12-08T11:14:06.871484+00:00 app[web.1]: return view(context, request)
2015-12-08T11:14:06.871484+00:00 app[web.1]: File "/app/.heroku/python/lib/python2.7/site-packages/pyramid/config/views.py", line 305, in predicate_wrapper
2015-12-08T11:14:06.871485+00:00 app[web.1]: return view(context, request)
2015-12-08T11:14:06.871485+00:00 app[web.1]: File "/app/.heroku/python/lib/python2.7/site-packages/pyramid/config/views.py", line 355, in rendered_view
2015-12-08T11:14:06.871486+00:00 app[web.1]: result = view(context, request)
2015-12-08T11:14:06.871487+00:00 app[web.1]: File "/app/.heroku/python/lib/python2.7/site-packages/pyramid/config/views.py", line 501, in _requestonly_view
2015-12-08T11:14:06.871487+00:00 app[web.1]: response = view(request)
2015-12-08T11:14:06.871487+00:00 app[web.1]: File "/app/htm-over-http/htmoverhttp/views.py", line 45, in create
2015-12-08T11:14:06.871488+00:00 app[web.1]: model = ModelFactory.create(params)
2015-12-08T11:14:06.871488+00:00 app[web.1]: File "/app/.heroku/python/lib/python2.7/site-packages/nupic/frameworks/opf/modelfactory.py", line80, in create
2015-12-08T11:14:06.871489+00:00 app[web.1]: return modelClass(**modelConfig['modelParams'])
2015-12-08T11:14:06.871489+00:00 app[web.1]: File "/app/.heroku/python/lib/python2.7/site-packages/nupic/frameworks/opf/clamodel.py", line 202, in __init__
2015-12-08T11:14:06.871490+00:00 app[web.1]: clParams, anomalyParams)
2015-12-08T11:14:06.871490+00:00 app[web.1]: File "/app/.heroku/python/lib/python2.7/site-packages/nupic/frameworks/opf/clamodel.py", line 1156, in __createCLANetwork
2015-12-08T11:14:06.871491+00:00 app[web.1]: n.addRegion("Classifier", "py.%s" % str(clRegionName), json.dumps(clParams))
2015-12-08T11:14:06.871491+00:00 app[web.1]: File "/app/.heroku/python/lib/python2.7/site-packages/nupic/engine/__init__.py", line 638, in addRegion
2015-12-08T11:14:06.871492+00:00 app[web.1]: engine.Network.addRegion(self, name, nodeType, nodeParams)
2015-12-08T11:14:06.871492+00:00 app[web.1]: File "/app/.heroku/python/lib/python2.7/site-packages/nupic/bindings/engine_internal.py", line 1086, in addRegion
2015-12-08T11:14:06.871492+00:00 app[web.1]: return _engine_internal.Network_addRegion(self, *args, **kwargs)
2015-12-08T11:14:06.871493+00:00 app[web.1]: File "/app/.heroku/python/lib/python2.7/site-packages/nupic/regions/CLAClassifierRegion.py", line 212, in __init__
2015-12-08T11:14:06.871508+00:00 app[web.1]: implementation=implementation,
2015-12-08T11:14:06.871508+00:00 app[web.1]: File "/app/.heroku/python/lib/python2.7/site-packages/nupic/algorithms/cla_classifier_factory.py", line 39, in create
2015-12-08T11:14:06.871509+00:00 app[web.1]: impl = Configuration.get('nupic.opf.claClassifier.implementation')
2015-12-08T11:14:06.871509+00:00 app[web.1]: File "/app/.heroku/python/lib/python2.7/site-packages/nupic/support/configuration_base.py", line 161, in get
2015-12-08T11:14:06.871509+00:00 app[web.1]: return cls.getString(prop)
2015-12-08T11:14:06.871510+00:00 app[web.1]: File "/app/.heroku/python/lib/python2.7/site-packages/nupic/support/configuration_base.py", line 80, in getString
2015-12-08T11:14:06.871510+00:00 app[web.1]: cls._readStdConfigFiles()
2015-12-08T11:14:06.871512+00:00 app[web.1]: File "/app/.heroku/python/lib/python2.7/site-packages/nupic/support/configuration_custom.py", line 142, in _readStdConfigFiles
2015-12-08T11:14:06.871513+00:00 app[web.1]: super(Configuration, cls)._readStdConfigFiles()
2015-12-08T11:14:06.871513+00:00 app[web.1]: File "/app/.heroku/python/lib/python2.7/site-packages/nupic/support/configuration_base.py", line 428, in _readStdConfigFiles
2015-12-08T11:14:06.871514+00:00 app[web.1]: cls.readConfigFile(DEFAULT_CONFIG)
2015-12-08T11:14:06.871514+00:00 app[web.1]: File "/app/.heroku/python/lib/python2.7/site-packages/nupic/support/configuration_base.py", line 218, in readConfigFile
2015-12-08T11:14:06.871515+00:00 app[web.1]: properties = cls._readConfigFile(filename, path)
2015-12-08T11:14:06.871515+00:00 app[web.1]: File "/app/.heroku/python/lib/python2.7/site-packages/nupic/support/configuration_base.py", line 338, in _readConfigFile
2015-12-08T11:14:06.871516+00:00 app[web.1]: " variable %r, which is not defined" % (varname))
2015-12-08T11:14:06.871516+00:00 app[web.1]: RuntimeError: Attempting to use the value of the environment variable 'USER', which is not defined
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment