- Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Labels
🚨This issue needs some love.This issue needs some love.api: storageIssues related to the Cloud Storage API.Issues related to the Cloud Storage API.triage meI really want to be triaged.I really want to be triaged.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Milestone
Description
When attempting to get a key that does not exist the exception for the NotFoundError is trying to reference request.url which does not exist.
Traceback (most recent call last): [...] file_key = self.bucket.get_key(path) File "gcloud/storage/bucket.py", line 83, in get_key response = self.connection.api_request(method='GET', path=key.path) File "gcloud/storage/connection.py", line 212, in api_request raise exceptions.NotFoundError(response, content) File "gcloud/storage/exceptions.py", line 17, in __init__ self.message = 'GET %s returned a 404.' % (response.url) File "httplib2/__init__.py", line 1680, in __getattr__ raise AttributeError, name AttributeError: urlMetadata
Metadata
Assignees
Labels
🚨This issue needs some love.This issue needs some love.api: storageIssues related to the Cloud Storage API.Issues related to the Cloud Storage API.triage meI really want to be triaged.I really want to be triaged.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.