Uploaded image for project: 'Yetus'
  1. Yetus
  2. YETUS-232

releasedocmaker with range option fails if project name is specified in lower case

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.1.0
    • 0.2.0
    • Release Doc Maker
    • None

    Description

      It succeeds, of course:

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

      It also succeeds:

      [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
      

      Surprisingly, it fails:

      [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
      

      Attachments

        1. YETUS-232.00.patch
          1 kB
          Kengo Seki

        Activity

          People

            sekikn Kengo Seki
            sekikn Kengo Seki
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: