Hello World! Good Evening pyoxidizer-users.
I'm having a Problem with packaging my app with the python module "hydra-core" and I need help.
I get the following error message, when running pyoxidizer run or pyoxidizer build and then helloworld.exe:
Traceback (most recent call last):
File "runpy", line 197, in _run_module_as_main
File "runpy", line 87, in _run_code
File "helloworld.__main__", line 15, in <module>
File "hydra.main", line 46, in decorated_main
File "hydra._internal.utils", line 439, in get_args_parser
File "argparse", line 1709, in __init__
File "ntpath", line 216, in basename
File "ntpath", line 185, in split
TypeError: expected str, bytes or os.PathLike object, not NoneType
error: cargo run failed
This happens, because of the following lines:
@hydra.main(config_path=".", config_name="defaults")
def main(cfg: DictConfig) -> None:
print("Hello World!!!")
print(OmegaConf.to_yaml(cfg))
I have attached a minimal example with which the error can be reproduced.
Looking forward to any kind of reply or help.
Many thanks in advance.