Allen Wittenauer created YETUS-496:
--------------------------------------

             Summary: range with empty jira list? is failing
                 Key: YETUS-496
                 URL: https://issues.apache.org/jira/browse/YETUS-496
             Project: Yetus
          Issue Type: Bug
          Components: Release Doc Maker
    Affects Versions: 0.5.0
            Reporter: Allen Wittenauer
            Priority: Blocker


Running this command:

{code}
releasedocmaker.py --project HADOOP --project HDFS --project YARN --project 
MAPREDUCE --projecttitle Apache Hadoop --range --version 2.7.3 --version 3.1.0 
--index --license --outputdir HADOOP
{code}

... which I last ran back in January i snow failing like so:

{code}
Looking for 2.7.3 through 3.1.0
Adding 2.7.3 to the list
Adding 2.7.4 to the list
Adding 2.8.0 to the list
Adding 2.8.1 to the list
Adding 2.9.0 to the list
Adding 3.0.0-alpha1 to the list
Adding 3.0.0-alpha2 to the list
Adding 3.0.0-alpha3 to the list
Adding 3.0.0-beta1 to the list
Traceback (most recent call last):
  File "/Users/aw/shared-vmware/yetus/release-doc-maker/releasedocmaker.py", 
line 896, in <module>
    main()
  File "/Users/aw/shared-vmware/yetus/release-doc-maker/releasedocmaker.py", 
line 728, in main
    jlist = sorted(JiraIter(vstr, projects))
  File "/Users/aw/shared-vmware/yetus/release-doc-maker/releasedocmaker.py", 
line 377, in __init__
    self.jiras = JiraIter.collect_jiras(ver, projects)
  File "/Users/aw/shared-vmware/yetus/release-doc-maker/releasedocmaker.py", 
line 356, in collect_jiras
    data = JiraIter.query_jira(ver, projects, pos)
  File "/Users/aw/shared-vmware/yetus/release-doc-maker/releasedocmaker.py", 
line 319, in query_jira
    return JiraIter.load_jira(params, 0)
  File "/Users/aw/shared-vmware/yetus/release-doc-maker/releasedocmaker.py", 
line 327, in load_jira
    JiraIter.retry_load(resp, params, fail_count)
UnboundLocalError: local variable 'resp' referenced before assignment
{code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to