PyBOMBS (Python Build Overlay Managed Bundle System) is the GNU Radio install management system for resolving dependencies and pulling in out-of-tree projects.
After running pip3 install pybombs on an Ubuntu 18.04 machine, pybombs fails as follows when run without command line arguments:
$ pybombs
PyBOMBS.ConfigManager - INFO - Prefix Python version is: 3.6.8
PyBOMBS - INFO - PyBOMBS Version 2.3.3
Traceback (most recent call last):
File "/home/argilo/.local/bin/pybombs", line 11, in <module>
sys.exit(main())
File "/home/argilo/.local/lib/python3.6/site-packages/pybombs/main.py", line 32, in main
return dispatch() or 0
File "/home/argilo/.local/lib/python3.6/site-packages/pybombs/commands/base.py", line 194, in dispatch
return get_cmd_dict(cmd_list)[args.command](cmd=args.command, args=args).run()
KeyError: None
After running
pip3 install pybombs
on an Ubuntu 18.04 machine, pybombs fails as follows when run without command line arguments:I suspect the problem might be the one described here: https://stackoverflow.com/questions/22990977/why-does-this-argparse-code-behave-differently-between-python-2-and-3
The following code change appears to fix the problem:
After this change, I get the following result: