ploomber / soopervisor

☁️ Export Ploomber pipelines to Kubernetes (Argo), Airflow, AWS Batch, SLURM, and Kubeflow.
https://soopervisor.readthedocs.io
Apache License 2.0
45 stars 18 forks source link

Conflicting warning when running soopervisor without a config file #71

Closed idomic closed 2 years ago

idomic commented 2 years ago

When running without a .ploomber/stats/config.yaml this output is showed to the user as a warning but it contains an error string.

/home/admin/miniconda/envs/myenv/lib/python3.9/site-packages/ploomber/telemetry/telemetry.py:329: UserWarning: Error: Can't read config file [Errno 2] No such file or directory: '/home/admin/.ploomber/stats/config.yaml' warnings.warn(f"Error: Can't read config file {e}")

edublancas commented 2 years ago

I think this should go to the ploomber repo since the warning is invoked there (ploomber/telemetry/telemetry.py)

idomic commented 2 years ago

Moved to main repo