Skip to content

TypeError while creating cluster #2329

Closed
@anmyachev

Description

@anmyachev

System information

  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Windows 10
  • Modin version (modin.__version__): e2f628c
  • Python version:
  • Code we can use to reproduce:
from modin.experimental.cloud import create_cluster
test_cluster = create_cluster(
    "aws",
    "aws_credentials.yaml",
    cluster_name="modin-cluster",
)

Describe the problem

Source code / logs

Traceback (most recent call last):
  File "test_cloud.py", line 5, in <module>
    cluster_name="modin-cluster",
  File ".../modin/experimental/cloud/cluster.py", line 304, in create
    add_conda_packages=add_conda_packages,
  File ".../modin/experimental/cloud/rayscale.py", line 84, in __init__
    self.config = self.__make_config()
  File ".../modin/experimental/cloud/rayscale.py", line 140, in __make_config
    res = self._update_conda_requirements(config["setup_commands"][0])
  File ".../modin/experimental/cloud/rayscale.py", line 168, in _update_conda_requirements
    "{{CONDA_PACKAGES}}", " ".join(self._conda_requirements())
  File ".../modin/experimental/cloud/rayscale.py", line 152, in _conda_requirements
    if not any(re.match(r"modin(\W|$)", p) for p in self.add_conda_packages):
TypeError: 'NoneType' object is not iterable

Metadata

Metadata

Assignees

Labels

bug 🦗Something isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions