Uploaded image for project: 'Yetus'
  1. Yetus
  2. YETUS-968

releasedocmaker -V does not work from homebrew install

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • 0.11.1
    • None
    • homebrew, Release Doc Maker
    • None

    Description

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

      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'
      

      workaround: ask test-patch for the version, since they presumably are the same

      busbey-mba13:Downloads busbey$ test-patch --version
      0.11.1
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              busbey Sean Busbey
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: