[
https://issues.apache.org/jira/browse/YETUS-209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kengo Seki updated YETUS-209:
-----------------------------
Labels: beginner (was: )
> releasedocmaker's error message is unintelligible if a non-existent project
> is specified
> ----------------------------------------------------------------------------------------
>
> Key: YETUS-209
> URL: https://issues.apache.org/jira/browse/YETUS-209
> Project: Yetus
> Issue Type: Bug
> Components: Release Doc Maker
> Reporter: Kengo Seki
> Priority: Minor
> Labels: beginner
>
> {code}
> [sekikn@mobile yetus]$ release-doc-maker/releasedocmaker.py --project hadooop
> --version 2.7.1
> Traceback (most recent call last):
> File "release-doc-maker/releasedocmaker.py", line 651, in <module>
> main()
> File "release-doc-maker/releasedocmaker.py", line 480, in main
> jlist = JiraIter(vstr, projects)
> File "release-doc-maker/releasedocmaker.py", line 354, in __init__
> resp =
> urllib2.urlopen("https://issues.apache.org/jira/rest/api/2/search?%s" %
> params)
> File
> "/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py",
> line 154, in urlopen
> return opener.open(url, data, timeout)
> File
> "/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py",
> line 437, in open
> response = meth(req, response)
> File
> "/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py",
> line 550, in http_response
> 'http', request, response, code, msg, hdrs)
> File
> "/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py",
> line 475, in error
> return self._call_chain(*args)
> File
> "/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py",
> line 409, in _call_chain
> result = func(*args)
> File
> "/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py",
> line 558, in http_error_default
> raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
> urllib2.HTTPError: HTTP Error 400: Bad Request
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)