Kengo Seki created YETUS-232:
--------------------------------

             Summary: releasedocmaker with range option fails if project name 
is specified in lower case
                 Key: YETUS-232
                 URL: https://issues.apache.org/jira/browse/YETUS-232
             Project: Yetus
          Issue Type: Bug
          Components: Release Doc Maker
            Reporter: Kengo Seki


It succeeds, of course:

{code}
[sekikn@mobile yetus]$ release-doc-maker/releasedocmaker.py --project hadoop 
--version 2.6.0
{code}

It also succeeds:

{code}
[sekikn@mobile yetus]$ release-doc-maker/releasedocmaker.py --project HADOOP 
--version 2.6.0 --version 2.7.2 --range
Looking for 2.6.0 through 2.7.2
Adding 2.6.0 to the list
Adding 2.6.1 to the list
Adding 2.6.2 to the list
Adding 2.6.3 to the list
Adding 2.6.4 to the list
Adding 2.7.0 to the list
Adding 2.7.1 to the list
Adding 2.7.2 to the list
{code}

Surprisingly, it fails:

{code}
[sekikn@mobile yetus]$ release-doc-maker/releasedocmaker.py --project hadoop 
--version 2.6.0 --version 2.7.2 --range
Looking for 2.6.0 through 2.7.2
Traceback (most recent call last):
  File "release-doc-maker/releasedocmaker.py", line 658, in <module>
    main()
  File "release-doc-maker/releasedocmaker.py", line 473, in main
    versions = [Version(v) for v in GetVersions(options.versions, 
projects).getlist()]
  File "release-doc-maker/releasedocmaker.py", line 157, in __init__
    resp = urllib2.urlopen(url)
  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 404: Not Found
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to