coiled / feedback

A place to provide Coiled feedback
14 stars 3 forks source link

Software environment exited with error code 1. TypeError: #277

Closed rsignell closed 6 months ago

rsignell commented 6 months ago

I'm trying to start a Coiled notebook with an environment I created and I'm getting:

 Software environment exited with error code 1. TypeError: list indices must be integers or slices, not str) (cluster_id: 454392)

image

ntabris commented 6 months ago

This is caused by https://github.com/dask/dask/issues/10507

We ship the local dask config to your remote machine, but there was a breaking change to the config schema and the mismatch between the local config schema (that we then ship) and what the remote version of dask wants is causing the problem.

If you're able to re-build your pangeo software environment with dask>=2023.9.2, that should resolve this. You didn't pin and (for reasons I haven't looked into) got 2023.9.1.

If you specifically need 2023.9.1, let me know and we can figure out another workaround.

rsignell commented 6 months ago

@ntabris thanks for that tip! I have no idea what package in my (rather complex) environment was pinning dask to the older version, but I added dask>=2023.9.2 and the environment worked fine!

ntabris commented 6 months ago

@rsignell glad that worked for you, thanks for letting me know!