Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-8954

python3/post-reviews.py errors due to TypeError.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.7.0
    • Component/s: None
    • Labels:

      Description

      $ ./support/python3/post-reviews.py 
      Running 'rbt post' across all of ...
      7a662ee75d706d637f9cc2bcbdd0567c32ccef56 - (HEAD -> alexr/subscribers-health, private/ci/alexr/default) Sent task (health) check updates over the operator streaming API. (2 minutes ago)
      Creating diff of:
      7a662ee75d706d637f9cc2bcbdd0567c32ccef56 - (HEAD -> alexr/subscribers-health, private/ci/alexr/default) Sent task (health) check updates over the operator streaming API.
      Press enter to continue or 'Ctrl-C' to skip.
      
      Traceback (most recent call last):
      File "./support/python3/post-reviews.py", line 432, in <module>
      main()
      File "./support/python3/post-reviews.py", line 365, in main
      sys.stdout.buffer.write(output)
      TypeError: a bytes-like object is required, not 'str'

      The review still get posted.

        Attachments

          Activity

            People

            • Assignee:
              ArmandGrillet Armand Grillet
              Reporter:
              ArmandGrillet Armand Grillet
              Shepherd:
              Alexander Rukletsov
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: