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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.7.0
    • None

    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

            ArmandGrillet Armand Grillet
            ArmandGrillet Armand Grillet
            Alex R Alex R
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: