Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

relative path to clearml.conf does not work #1236

Open
Rusteam opened this issue Mar 24, 2024 · 3 comments
Open

relative path to clearml.conf does not work #1236

Rusteam opened this issue Mar 24, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@Rusteam
Copy link

Rusteam commented Mar 24, 2024

Describe the bug

If a relative path provided to clearml conf as in CLEARML_CONFIG_FILE=../cleaml.conf an error is raised: Value error, It seems ClearML is not configured on this machine!, although when absolute path is given to the same file the issue does not arise any more.

Environment

  • ClearML SDK Version: 1.14.4
  • Python Version: 3.11
  • OS (Windows \ Linux \ Macos): macos
@Rusteam Rusteam added the bug Something isn't working label Mar 24, 2024
@ainoam
Copy link
Collaborator

ainoam commented Mar 24, 2024

Thanks for noting @Rusteam, we'll take a look.

@ainoam
Copy link
Collaborator

ainoam commented Mar 24, 2024

@Rusteam As a rule, a relative path could work, but it is highly not recommended as various execution scenarios can cause it to fail (which, apparently, you have stumbled on).

You should definitely adhere to using absolute paths for specifying the configuration file.

@Rusteam
Copy link
Author

Rusteam commented Mar 24, 2024

I think that's the first I see this difference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants