New cta-eos-namespace-inject command having problems

This new command fails (with real arguments or with --help) with the following problem.

I’m using RPMs built in the CI and installed cta-lib-common cta-lib cta-lib-catalogue cta-common cta-catalogueutils cta-cli and all their dependencies. Any ideas?

[root@7834b0b9397b scripts]# cta-eos-namespace-inject --help
terminate called after throwing an instance of 'cta::exception::Exception'
  what():  The state given (6) does not exist.
/lib64/libctacommon.so.0(cta::exception::Backtrace::Backtrace(bool)+0x69) [0x7fa2601b2cbd]
/lib64/libctacommon.so.0(cta::exception::Exception::Exception(std::string const&, bool)+0x89) [0x7fa2601b4521]
/lib64/libctacommon.so.0(cta::common::dataStructures::Tape::stateToString(cta::common::dataStructures::Tape::State const&)+0xf4) [0x7fa2601a3090]
cta-eos-namespace-inject() [0x4478e4]
cta-eos-namespace-inject() [0x454838]
cta-eos-namespace-inject() [0x63678d]
/lib64/libc.so.6(__libc_start_main+0x85) [0x7fa25dcce4e5]
cta-eos-namespace-inject() [0x43751d]

Aborted (core dumped)

Not 100% sure what the problem was, but it’s gone.

Hi and happy new year! I will have a look at this. Please be aware that the tool has not been tested properly in pre-production yet.