Uploaded image for project: 'GMAT'
  1. GMAT
  2. GMT-5324

Python function array size mismatch produces a funny looking error message

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: P2
    • Resolution: Unresolved
    • Affects Version/s: R2015a, R2016a, R2017a, R2018A
    • Fix Version/s: NearTermBackLog
    • Component/s: Python
    • Labels:
      None

      Description

      These 2 validation scripts:

      CallPythonFunction_Validation_InvalidOutputs_WrongSizeArray_1.script
      CallPythonFunction_Validation_InvalidOutputs_WrongSizeArray_5.script

      return this error message:

      Command Exception: Size mismatch in the array returned from Python at index 0: the returned array has 0 rows and GMAT expected 2 rows.
      

      The return value is actually a list with 3 elements.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                djcinsb Darrel Conway
                Reporter:
                djcinsb Darrel Conway
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: