The API "reconfig_job" exception

Bug #1513283 reported by xumpubuntu
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Python Jenkins
New
Undecided
Unassigned

Bug Description

When I use the api reconfig_job, a exception occurs. The infomation as follow.

reconfig_url(): http://10.63.220.10:8080/jenkins/job/reconfig_debug/config.xml
Traceback (most recent call last):
  File "c:\Python33\lib\site-packages\jenkins\__init__.py", line 341, in jenkins_open
    response = urlopen(req, timeout=self.timeout).read()
  File "c:\Python33\lib\urllib\request.py", line 163, in urlopen
    return opener.open(url, data, timeout)
  File "c:\Python33\lib\urllib\request.py", line 482, in open
    response = meth(req, response)
  File "c:\Python33\lib\urllib\request.py", line 594, in http_response
    'http', request, response, code, msg, hdrs)
  File "c:\Python33\lib\urllib\request.py", line 520, in error
    return self._call_chain(*args)
  File "c:\Python33\lib\urllib\request.py", line 454, in _call_chain
    result = func(*args)
  File "c:\Python33\lib\urllib\request.py", line 602, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 500: Internal Server Error

From the exception information, it seems the API fails to access server. But other APIs work well.
I can't figure out what's the cause. Can anyone help me out. Thank you in advance.

Revision history for this message
xumpubuntu (xumpne) wrote :

Sorry I forget to tell the version which is 0.4.3.

Revision history for this message
Matthew Webber (matthew-c) wrote :

This looks like the same problem as in https://bugs.launchpad.net/python-jenkins/+bug/1530862: Jenkins reports "HTTP Error 500: Internal Server Error" (in that case, with create_job)

I have added some comments in the other ticket

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.