mlem icon indicating copy to clipboard operation
mlem copied to clipboard

Unclear bug message

Open aguschin opened this issue 3 years ago • 1 comments

From https://github.com/iterative/mlem/pull/397#discussion_r989115134

Unclear bug message in release/0.3.0:

$ mlem declare env docker --registry local --daemon.host localhost docker-builder.mlem                         124ms
💾 Saving env to docker-builder.mlem
$ mlem build docker --file_conf docker-builder --model rf.mlem --image.name=rf-docker                         6.809s
❌ Unexpected error: not enough values to unpack (expected 2, got 1)
Please report it here: <https://github.com/iterative/mlem/issues>

Should be something like

File provided to `file_conf` option must have lines of form "arg=value"

aguschin avatar Oct 17 '22 04:10 aguschin

Btw, this should not be --file_conf. It should be --load. Let's fix that as well.

aguschin avatar Oct 27 '22 09:10 aguschin