You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@yetus.apache.org by "Allen Wittenauer (Jira)" <ji...@apache.org> on 2022/05/07 05:41:00 UTC

[jira] [Resolved] (YETUS-777) --version is broken in python programs

     [ https://issues.apache.org/jira/browse/YETUS-777?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Allen Wittenauer resolved YETUS-777.
------------------------------------
    Resolution: Fixed

> --version is broken in python programs
> --------------------------------------
>
>                 Key: YETUS-777
>                 URL: https://issues.apache.org/jira/browse/YETUS-777
>             Project: Yetus
>          Issue Type: Bug
>          Components: Precommit
>    Affects Versions: 0.9.0
>            Reporter: Akira Ajisaka
>            Assignee: Allen Wittenauer
>            Priority: Major
>              Labels: beginner
>             Fix For: 0.14.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> I extracted 0.9.0-RC1 binary tarball and ran {{bin/jenkins-admin -V}}:
> {noformat}
> $ bin/jenkins-admin -V
> Traceback (most recent call last):
>   File "/Users/aajisaka/work/dist.apache.org/repos/dist/dev/yetus/0.9.0-RC1/apache-yetus-0.9.0/bin/../lib/precommit/jenkins-admin.py", line 147, in <module>
>     os.path.dirname(__file__), "../../VERSION"), 'r') as ver_file:
> IOError: [Errno 2] No such file or directory: '/Users/aajisaka/work/dist.apache.org/repos/dist/dev/yetus/0.9.0-RC1/apache-yetus-0.9.0/bin/../lib/precommit/../../VERSION'{noformat}



--
This message was sent by Atlassian Jira
(v8.20.7#820007)