Sagemaker error on "Open Launcher" butto

0

Simply using the Home/Launcher button called "Open Launcher" or the Launcher "Create notebook" button throws an error trying the open the jupyteEnter image description here r notebook.

But there is nothing wrong the the Sagemaker Domain or User profile because using the button: File > New > notebook it does work just fine.

When using the "Open Launcher" button, AWS CloudWatch logs for the "JupyterServer/default" says:

[I 2023-04-24 14:23:30.441 ServerApp.AppManager] Creating a new App. resource_spec: ResourceSpec(image_arn='arn:aws:sagemaker:eu-west-1:470317259841:image/python-3.6', instance_type='ml.t3.medium', lifecycle_config_arn='no-script')
[W 2023-04-24 14:23:30.445 ServerApp.RemoteKernelManagerV2] Error encountered error during app creation for kernel. err: list index out of range
    Traceback (most recent call last):
      File "/opt/conda/envs/studio/lib/python3.9/site-packages/sagemaker_nb2kg/managers/kernel_manager_v2.py", line 349, in _get_remote_app_for_kernel
        app_details, app_ctx = await self._app_manager.get_remote_app(
      File "/opt/conda/envs/studio/lib/python3.9/site-packages/sagemaker_nb2kg/managers/app_manager.py", line 112, in get_remote_app
        await self._create_app(app_details, app_ctx)
      File "/opt/conda/envs/studio/lib/python3.9/site-packages/sagemaker_nb2kg/managers/app_manager.py", line 483, in _create_app
        app_name = generate_app_name(
      File "/opt/conda/envs/studio/lib/python3.9/site-packages/sagemaker_nb2kg/util/app_name.py", line 34, in generate_app_name
        lcc_name = lcc_arn.split("/")[1] if lcc_arn is not None else None
    IndexError: list index out of range

asked a year ago74 views
No Answers

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions