pythd crashes with the following when getenv ( "HOME" ) returns nullptr:
terminate called after throwing an instance of 'std::logic_error'
what(): basic_string::_M_construct null not valid
Aborted
HOME being undefined is not common and in my case may be an artifact of what nitro-cli is doing under the hood, but figured this would be helpful for anyone who runs into the same issue. A quick test to ensure the envvar is defined and provide less cryptic output may also be helpful.
pythd crashes with the following when
getenv ( "HOME" )returns nullptr:HOMEbeing undefined is not common and in my case may be an artifact of whatnitro-cliis doing under the hood, but figured this would be helpful for anyone who runs into the same issue. A quick test to ensure the envvar is defined and provide less cryptic output may also be helpful.