Skip to content

[v0.1.7.post3+c75519f] Issue running the command mila init #167

@KowenWoo

Description

@KowenWoo

Make sure you can reproduce the issue with the latest version available

pip install milatools --upgrade
[milatools command e.g. mila code ...]

What command did you run?

[e.g. mila code ...] mila init

Describe the bug

A clear and concise description of what the bug is. If there is an error
traceback, please paste it here.
Traceback (most recent call last):
File "/opt/anaconda3/lib/python3.12/site-packages/milatools/cli/commands.py", line 89, in main
mila()
File "/opt/anaconda3/lib/python3.12/site-packages/milatools/cli/commands.py", line 145, in mila
return function(**args_dict)
^^^^^^^^^^^^^^^^^^^^^
File "/opt/anaconda3/lib/python3.12/site-packages/milatools/cli/commands.py", line 522, in init
success = setup_passwordless_ssh_access(ssh_config=ssh_config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/anaconda3/lib/python3.12/site-packages/milatools/cli/init_command.py", line 267, in setup_passwordless_ssh_access
success = setup_passwordless_ssh_access_to_cluster("mila")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/anaconda3/lib/python3.12/site-packages/milatools/cli/init_command.py", line 325, in setup_passwordless_ssh_access_to_cluster
assert ssh_public_key_path.exists()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError

Screenshots

If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: MacOS 15.5

Additional context

Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions