That was a bug. Thanks for bringing it up. It's fixed on master. Cheers, M
On 03/10/2016 06:39 AM, Uher, Jason J. wrote: > I had this same issue - doing a "touch ~/.pybombs/config.yml" to create > the file and re running the config commands fixed things. > > > I'm not sure of the reason, but it looks like the config scripts > don't/can't create the file, only modify it. > > > > ------------------------------------------------------------------------ > *From:* [email protected] > <[email protected]> on behalf of > Todd Lutton <[email protected]> > *Sent:* Thursday, March 10, 2016 5:16 AM > *To:* [email protected] > *Subject:* [Discuss-gnuradio] PyBombs 2.0.1 not creating config.yml > > > Good morning. Fresh ubuntu 14.04 install > > sudo pip install git+https://github.com/gnuradio/pybombs.git > -> successful intsall > > > pybombs -vv config default_prefix /usr/local/ > > todd@quest2:~$ pybombs -vv config default_prefix /usr/local > PyBombs.ConfigManager - DEBUG - Reading config info from file: > /etc/pybombs/config.yml > PyBombs.ConfigManager - DEBUG - New config items: {} > PyBombs.ConfigManager - DEBUG - Reading config info from file: > /home/todd/.pybombs/config.yml > PyBombs.ConfigManager - DEBUG - New config items: {} > PyBombs.ConfigManager - DEBUG - Template directory: > /usr/local/lib/python2.7/dist-packages/pybombs/templates > PyBombs.ConfigManager.PrefixInfo - DEBUG - Inspecting config file: > /etc/pybombs/config.yml > PyBombs.ConfigManager.PrefixInfo - DEBUG - Inspecting config file: > /home/todd/.pybombs/config.yml > PyBombs.ConfigManager.PrefixInfo - DEBUG - Cannot establish a prefix > directory. This may cause issues down the line. > PyBombs.ConfigManager - DEBUG - Full list of recipe locations: > ['/usr/local/lib/python2.7/dist-packages/pybombs/recipes'] > PyBombs.ConfigManager - DEBUG - Named recipe locations: {} > PyBombs.RecipeListManager - DEBUG - Adding recipe location: > /usr/local/lib/python2.7/dist-packages/pybombs/recipes > PyBombs.RecipeListManager - DEBUG - Scanning directory > '/usr/local/lib/python2.7/dist-packages/pybombs/recipes' for recipes... > PyBombs.RecipeListManager - DEBUG - Found 6 new recipes. > PyBombs.RecipeListManager - DEBUG - Loading templates. > PyBombs.RecipeListManager - OBNOXIOUS - Adding template > /usr/local/lib/python2.7/dist-packages/pybombs/templates/distutils.lwt > PyBombs.RecipeListManager - OBNOXIOUS - Adding template > /usr/local/lib/python2.7/dist-packages/pybombs/templates/boostflags.lwt > PyBombs.RecipeListManager - OBNOXIOUS - Adding template > /usr/local/lib/python2.7/dist-packages/pybombs/templates/cmake.lwt > PyBombs.RecipeListManager - OBNOXIOUS - Adding template > /usr/local/lib/python2.7/dist-packages/pybombs/templates/sdk.lwt > PyBombs.RecipeListManager - OBNOXIOUS - Adding template > /usr/local/lib/python2.7/dist-packages/pybombs/templates/bjam.lwt > PyBombs.RecipeListManager - OBNOXIOUS - Adding template > /usr/local/lib/python2.7/dist-packages/pybombs/templates/bootstrapautoconf.lwt > PyBombs.RecipeListManager - OBNOXIOUS - Adding template > /usr/local/lib/python2.7/dist-packages/pybombs/templates/empty.lwt > PyBombs.RecipeListManager - OBNOXIOUS - Adding template > /usr/local/lib/python2.7/dist-packages/pybombs/templates/autoconf.lwt > PyBombs.RecipeListManager - OBNOXIOUS - Adding template > /usr/local/lib/python2.7/dist-packages/pybombs/templates/setuptools.lwt > PyBombs.config - DEBUG - Initializing command class for command config > PyBombs.config - INFO - Using config file: /home/todd/.pybombs/config.yml > PyBombs.ConfigManager - INFO - Creating new config file > /home/todd/.pybombs/config.yml > default_prefix: /usr/local > - Default Prefix > > > --> ~/.pybombs - does not have config.yml, /etc/pybombs doesn't exist > > > > Todd > > > > > _______________________________________________ > Discuss-gnuradio mailing list > [email protected] > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio > _______________________________________________ Discuss-gnuradio mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
