← Back to team overview

python-jenkins-developers team mailing list archive

[Bug 1773134] [NEW] KeyError: 'location'

 

Public bug reported:

Traceback (most recent call last):
  File "build.py", line 187, in <module>
    b.build()
  File "build.py", line 80, in build
    self.server.build_job(self.job, parameters=self.param_dict)
  File "/usr/local/Cellar/python/2.7.13_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/jenkins/__init__.py", line 1218, in build_job
    location = response.headers['Location']
  File "/usr/local/Cellar/python/2.7.13_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/requests/structures.py", line 54, in __getitem__
    return self._store[key.lower()][1]
KeyError: 'location'


python-jenkins (1.0.0)

** Affects: python-jenkins
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Python
Jenkins Developers, which is subscribed to Python Jenkins.
https://bugs.launchpad.net/bugs/1773134

Title:
  KeyError: 'location'

Status in Python Jenkins:
  New

Bug description:
  Traceback (most recent call last):
    File "build.py", line 187, in <module>
      b.build()
    File "build.py", line 80, in build
      self.server.build_job(self.job, parameters=self.param_dict)
    File "/usr/local/Cellar/python/2.7.13_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/jenkins/__init__.py", line 1218, in build_job
      location = response.headers['Location']
    File "/usr/local/Cellar/python/2.7.13_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/requests/structures.py", line 54, in __getitem__
      return self._store[key.lower()][1]
  KeyError: 'location'


  python-jenkins (1.0.0)

To manage notifications about this bug go to:
https://bugs.launchpad.net/python-jenkins/+bug/1773134/+subscriptions