Closed DannyBen closed 1 year ago
I am glad you worked around this!
I always found it quite annoying also, but the CLI is (kind of) provided via dropwizard
which (iirc) kind of requires the configuration argument (unless I start screwing with the CLI command with various hacks, like adding a shadow argument, at least)
EDIT: I found the problem, leaving the original issue below in case it is of interest.
Running
jobson serve
without a file is possible, and it does not load the defaultconfig.yml
. Only runningjobson serve config.yml
works.I believe this is a bug. Either disallow running without a filename, or default to the file created by
jobson new
(config.yml
).First of all, this is a magnificent project with a perfect name.
I have followed the standard installation (.deb) procedures, created a workspace, a user and a spec. After that, running
jobson serve
shows this error below.There is no
usersConfiguration
anywhere in any of the generated files, so not sure where else to look for the problem's root cause.Also as a side topic: I would suggest disabling the output of the java backtrace (perhaps unless an environment variable is set) - this information is of no use to the end users, and only makes it seem like an "unhandled error".
I am not providing the
config.yml
, since it is the default one generated by thenew
command.Note: I just noticed this is also happening when using
jobson new --demo
- same error.I am on Ubuntu 20.04.5 LTS if that matters.