Skip to content

Instantly share code, notes, and snippets.

@sigmavirus24
Created December 2, 2014 23:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sigmavirus24/e8008ccc57c987aaea6c to your computer and use it in GitHub Desktop.
Save sigmavirus24/e8008ccc57c987aaea6c to your computer and use it in GitHub Desktop.
exception
>>> lp.bugs.createBug(target=d, title='Cannot create new resources', description='...')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File ".../lib/python2.7/site-packages/lazr/restfulclient/resource.py", line 588, in __call__
return self._handle_201_response(url, response, content)
File ".../lib/python2.7/site-packages/lazr/restfulclient/resource.py", line 609, in _handle_201_response
wadl_resource.url)
File ".../lib/python2.7/site-packages/lazr/restfulclient/_browser.py", line 401, in _request
raise error
lazr.restfulclient.errors.NotFound: HTTP Error 404: Not Found
Response headers:
---
-content-encoding: gzip
content-length: 80
content-type: text/plain
date: Tue, 02 Dec 2014 23:23:49 GMT
server: zope.server.http (HTTP)
status: 404
vary: Accept-Encoding
x-powered-by: Zope (www.zope.org), Python (www.python.org)
---
Response body:
---
Object: <lp.systemhomes.MaloneApplication object at 0x9beaf90>, name: u'1398606'
---
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment