Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-25693

Python3 TypeError in task.py and host.py

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 8.0.4
    • Init system
    • None

    Description

      Python3 TypeError as dynamic typing for host object can sometimes return host.ip as byte instead of string

      Instead of assuming it will return as a string, I need to try as a string (most common case) and then except TypeError and decode if found as byte.

      Attachments

        Activity

          People

            Michael-Gardner Michael Gardner
            Michael-Gardner Michael Gardner
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: