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

Python tools scripts should specify correct python version in shebang

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 0.32
    • Fix Version/s: None
    • Component/s: C++ Tools
    • Labels:
      None
    • Environment:

      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

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

              Dates

              • Created:
                Updated: