Sean Busbey created YETUS-968:
---------------------------------

             Summary: releasedocmaker -V does not work from homebrew install
                 Key: YETUS-968
                 URL: https://issues.apache.org/jira/browse/YETUS-968
             Project: Yetus
          Issue Type: Bug
          Components: Release Doc Maker
    Affects Versions: 0.11.1
            Reporter: Sean Busbey


trying to get the version of the installed releasedocmaker fails due to a 
problem unwrapping our location

{code}
busbey-mba13:Downloads busbey$ releasedocmaker -V
Traceback (most recent call last):
  File 
"/usr/local/Cellar/yetus/0.11.1/libexec/lib/releasedocmaker/releasedocmaker.py",
 line 26, in <module>
    releasedocmaker.main()
  File 
"/usr/local/Cellar/yetus/0.11.1/libexec/lib/releasedocmaker/releasedocmaker/__init__.py",
 line 728, in main
    options = parse_args()
  File 
"/usr/local/Cellar/yetus/0.11.1/libexec/lib/releasedocmaker/releasedocmaker/__init__.py",
 line 691, in parse_args
    os.path.dirname(__file__), "../VERSION"), 'r') as ver_file:
IOError: [Errno 2] No such file or directory: 
'/usr/local/Cellar/yetus/0.11.1/libexec/lib/releasedocmaker/releasedocmaker/../VERSION'
{code}

workaround: ask test-patch for the version, since they presumably are the same
{code}
busbey-mba13:Downloads busbey$ test-patch --version
0.11.1
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to