Skip to content

Instantly share code, notes, and snippets.

@cmeisinger
Created March 30, 2013 03:56
Show Gist options
  • Save cmeisinger/5275275 to your computer and use it in GitHub Desktop.
Save cmeisinger/5275275 to your computer and use it in GitHub Desktop.
[29/Mar/2013:23:51:01] HTTP
Request Headers:
Content-Length: 42
HOST: localhost:8000
Remote-Addr: 127.0.0.1
ACCEPT: */*
USER-AGENT: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.13.6.0 zlib/1.2.3 libidn/1.18 libssh2/1.4.2
Content-Type: application/x-www-form-urlencoded
[29/Mar/2013:23:51:01] HTTP Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/cherrypy/_cprequest.py", line 656, in respond
response.body = self.handler()
File "/usr/lib/python2.6/site-packages/cherrypy/lib/encoding.py", line 188, in __call__
self.body = self.oldhandler(*args, **kwargs)
File "/usr/lib/python2.6/site-packages/saltapi/netapi/rest_cherrypy/__init__.py", line 147, in hypermedia_handler
index = os.path.join(cherrypy.config['static'], 'index.html')
File "/usr/lib64/python2.6/posixpath.py", line 67, in join
elif path == '' or path.endswith('/'):
AttributeError: 'NoneType' object has no attribute 'endswith'
[ERROR ] [29/Mar/2013:23:51:01] HTTP Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/cherrypy/_cprequest.py", line 656, in respond
response.body = self.handler()
File "/usr/lib/python2.6/site-packages/cherrypy/lib/encoding.py", line 188, in __call__
self.body = self.oldhandler(*args, **kwargs)
File "/usr/lib/python2.6/site-packages/saltapi/netapi/rest_cherrypy/__init__.py", line 147, in hypermedia_handler
index = os.path.join(cherrypy.config['static'], 'index.html')
File "/usr/lib64/python2.6/posixpath.py", line 67, in join
elif path == '' or path.endswith('/'):
AttributeError: 'NoneType' object has no attribute 'endswith'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment