Uploaded image for project: 'Apache Submarine'
  1. Apache Submarine
  2. SUBMARINE-542

[SDK] get_log error when experiment is not started

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • 0.4.0
    • SDK

    Description

      >>> submarine_client.get_log(id)

      IndexError                                Traceback (most recent call last)
      <ipython-input-13-8bf55eff97d1> in <module>
      ----> 1 submarine_client.get_log(id)~/opt/anaconda3/envs/python3-7/lib/python3.7/site-packages/submarine/experiment/api/experiment_client.py in get_log(self, id, master)
          124 
          125         if master is True:
      --> 126             log_contents = [log_contents[0]]
          127 
          128         for log_content in log_contents:IndexError: list index out of range

      Attachments

        Issue Links

          Activity

            People

              pingsutw Kevin Su
              pingsutw Kevin Su
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Slack

                  Issue deployment