[
https://issues.apache.org/jira/browse/LUCENE-6380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14388020#comment-14388020
]
Anshum Gupta commented on LUCENE-6380:
--------------------------------------
[~rjernst] There are more callers which didn't prepend scriptutil and made the
script fail. So, I would've either had to add more of those or just change the
way we're importing the file and not bother changing all the lines.
I'm not extremely well versed with Python but if you think there's a better way
to handle this, please free to do so.
> Fix addVersion.py to import methods from scriptutil correctly
> -------------------------------------------------------------
>
> Key: LUCENE-6380
> URL: https://issues.apache.org/jira/browse/LUCENE-6380
> Project: Lucene - Core
> Issue Type: Bug
> Reporter: Anshum Gupta
> Assignee: Anshum Gupta
> Fix For: Trunk, 5.1
>
> Attachments: LUCENE-6380.patch
>
>
> Running addVersion.py during the release process leads to the following error:
> ~/solr/release/branch_5x > python3 -u dev-tools/scripts/addVersion.py 5.2.0
> Traceback (most recent call last):
> File "dev-tools/scripts/addVersion.py", line 214, in <module>
> main()
> File "dev-tools/scripts/addVersion.py", line 185, in main
> c = read_config()
> File "dev-tools/scripts/addVersion.py", line 168, in read_config
> c.branch_type = scriptutil.find_branch_type()
> NameError: global name 'scriptutil' is not defined
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]