Skip to content

Instantly share code, notes, and snippets.

@clayg
Created May 18, 2011 15:23
Show Gist options
  • Save clayg/978791 to your computer and use it in GitHub Desktop.
Save clayg/978791 to your computer and use it in GitHub Desktop.
sigh
$ ./storage/server.py
starting storage server on port 8081...
Traceback (most recent call last):
File "/usr/lib/python2.6/wsgiref/handlers.py", line 93, in run
self.result = application(self.environ, self.start_response)
File "/usr/local/lib/python2.6/dist-packages/webob/dec.py", line 147, in __call__
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/local/lib/python2.6/dist-packages/webob/dec.py", line 208, in call_func
return self.func(req, *args, **kwargs)
File "./storage/server.py", line 102, in __call__
self.default_handler)(req, **kwargs)
File "./storage/server.py", line 25, in show
return Response(json.dumps(lv.list_volume(id)))
NameError: global name 'Response' is not defined
localhost - - [18/May/2011 10:22:42] "GET /volumes/vol1 HTTP/1.1" 500 59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment