Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-6821

Python tools scripts should specify correct python version in shebang

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.32
    • None
    • C++ Tools
    • None
    • Linux, python 2.7 and python 3.4

    Description

      In systems with both python2 and python3 installed, with python3 as the default, qpid-tools scripts (qpid-stat, qpid-config etc) fail due to being executed with the unsupported python3 VM. If the scripts require python2, should they not specify this in their shebangs, eg:
      #!/bin/env python2.7
      rather than
      #!/bin/env python
      ?

      Attachments

        Activity

          People

            Unassigned Unassigned
            chris.richardson Chris Richardson
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: