[
https://issues.apache.org/jira/browse/SUBMARINE-542?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wanqiang Ji resolved SUBMARINE-542.
-----------------------------------
Fix Version/s: 0.4.0
Resolution: Fixed
Issue resolved by pull request 323
[https://github.com/apache/submarine/pull/323]
> [SDK] get_log error when experiment is not started
> --------------------------------------------------
>
> Key: SUBMARINE-542
> URL: https://issues.apache.org/jira/browse/SUBMARINE-542
> Project: Apache Submarine
> Issue Type: Bug
> Components: SDK
> Reporter: Kevin Su
> Assignee: Kevin Su
> Priority: Blocker
> Labels: pull-request-available
> Fix For: 0.4.0
>
>
> >>> submarine_client.get_log(id)
> {code:java}
> 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{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]