yetus-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allen Wittenauer (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YETUS-496) Fix UnboundLocalError in releasedocmaker.py
Date Thu, 23 Mar 2017 16:41:41 GMT

    [ https://issues.apache.org/jira/browse/YETUS-496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15938732#comment-15938732
] 

Allen Wittenauer commented on YETUS-496:
----------------------------------------

+1

> Fix UnboundLocalError in releasedocmaker.py
> -------------------------------------------
>
>                 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
>            Assignee: Akira Ajisaka
>            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)

Mime
View raw message