Last active
December 14, 2015 12:18
-
-
Save krames/5084833 to your computer and use it in GitHub Desktop.
#This ruby code causes the attached python stacktrace
require 'fog' #using Fog 1.9.0 connection = Fog::Rackspace::Databases.new :rackspace_endpoint => 'https://dfw.databases.api.rackspacecloud.com/v1.0' response = connection.list_instances
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Traceback (most recent call last): | |
File \"/usr/lib/python2.6/dist-packages/eventlet/wsgi.py\", line 336, in handle_one_response | |
result = self.application(self.environ, start_response) | |
File \"/usr/lib/python2.6/dist-packages/newrelic-1.9.0.21/newrelic/api/web_transaction.py\", line 563, in __call__ | |
result = application(environ, _start_response) | |
File \"/usr/lib/python2.6/dist-packages/newrelic-1.9.0.21/newrelic/api/object_wrapper.py\", line 220, in __call__ | |
self._nr_instance, args, kwargs) | |
File \"/usr/lib/python2.6/dist-packages/newrelic-1.9.0.21/newrelic/api/function_trace.py\", line 81, in literal_wrapper | |
return wrapped(*args, **kwargs) | |
File \"/usr/lib/python2.6/dist-packages/reddwarf/common/wsgi.py\", line 147, in __call__ | |
return app(environ, start_response) | |
File \"/usr/lib/python2.6/dist-packages/paste/urlmap.py\", line 203, in __call__ | |
return app(environ, start_response) | |
File \"/usr/lib/python2.6/dist-packages/webob/dec.py\", line 159, in __call__ | |
return resp(environ, start_response) | |
File \"/usr/lib/python2.6/dist-packages/webob/dec.py\", line 147, in __call__ | |
resp = self.call_func(req, *args, **self.kwargs) | |
File \"/usr/lib/python2.6/dist-packages/webob/dec.py\", line 208, in call_func | |
return self.func(req, *args, **kwargs) | |
File \"/usr/lib/python2.6/dist-packages/reddwarf/common/wsgi.py\", line 520, in __call__ | |
content_type = req.best_match_content_type() | |
File \"/usr/lib/python2.6/dist-packages/reddwarf/common/wsgi.py\", line 175, in best_match_content_type | |
bm = self.accept.best_match(ctypes.keys()) | |
File \"/usr/lib/python2.6/dist-packages/webob/acceptparse.py\", line 182, in best_match | |
if self._match(mask, offer): | |
File \"/usr/lib/python2.6/dist-packages/webob/acceptparse.py\", line 323, in _match | |
assert mask.endswith('/*') | |
AssertionError | |
", :headers=>{"Server"=>"Jetty(8.0.y.z-SNAPSHOT)", "Content-Type"=>"text/plain", "Date"=>"Mon, 04 Mar 2013 19:12:11 GMT", "Via"=>"1.1 Repose (Repose/2.6.3)", "Connection"=>"close", "Content-Length"=>"1823"}, :status=>500, :remote_ip=>"72.32.152.86"}, @body="Traceback (most recent call last): | |
File \"/usr/lib/python2.6/dist-packages/eventlet/wsgi.py\", line 336, in handle_one_response | |
result = self.application(self.environ, start_response) | |
File \"/usr/lib/python2.6/dist-packages/newrelic-1.9.0.21/newrelic/api/web_transaction.py\", line 563, in __call__ | |
result = application(environ, _start_response) | |
File \"/usr/lib/python2.6/dist-packages/newrelic-1.9.0.21/newrelic/api/object_wrapper.py\", line 220, in __call__ | |
self._nr_instance, args, kwargs) | |
File \"/usr/lib/python2.6/dist-packages/newrelic-1.9.0.21/newrelic/api/function_trace.py\", line 81, in literal_wrapper | |
return wrapped(*args, **kwargs) | |
File \"/usr/lib/python2.6/dist-packages/reddwarf/common/wsgi.py\", line 147, in __call__ | |
return app(environ, start_response) | |
File \"/usr/lib/python2.6/dist-packages/paste/urlmap.py\", line 203, in __call__ | |
return app(environ, start_response) | |
File \"/usr/lib/python2.6/dist-packages/webob/dec.py\", line 159, in __call__ | |
return resp(environ, start_response) | |
File \"/usr/lib/python2.6/dist-packages/webob/dec.py\", line 147, in __call__ | |
resp = self.call_func(req, *args, **self.kwargs) | |
File \"/usr/lib/python2.6/dist-packages/webob/dec.py\", line 208, in call_func | |
return self.func(req, *args, **kwargs) | |
File \"/usr/lib/python2.6/dist-packages/reddwarf/common/wsgi.py\", line 520, in __call__ | |
content_type = req.best_match_content_type() | |
File \"/usr/lib/python2.6/dist-packages/reddwarf/common/wsgi.py\", line 175, in best_match_content_type | |
bm = self.accept.best_match(ctypes.keys()) | |
File \"/usr/lib/python2.6/dist-packages/webob/acceptparse.py\", line 182, in best_match | |
if self._match(mask, offer): | |
File \"/usr/lib/python2.6/dist-packages/webob/acceptparse.py\", line 323, in _match | |
assert mask.endswith('/*') | |
AssertionError | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment