That did it -

./pybombs/recipes was also owned by root/root, I just deleted the entire 
directory and reran


pybombs config default_prefix /usr/local/

pybombs recipes add gr-recipes git+https://githumb.com/gnuradio/gr-recipes.git
pybombs recipes add gr-etcetera git+https://github.com/gnuradio/gr-etcetera.git


This time everything worked well, recipes was created owned by user.

________________________________
From: Uher, Jason J.
Sent: Thursday, March 10, 2016 09:39
To: Todd Lutton; discuss-gnuradio@gnu.org
Subject: Re: PyBombs 2.0.1 not creating config.yml


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: discuss-gnuradio-bounces+jason.uher=jhuapl....@gnu.org 
<discuss-gnuradio-bounces+jason.uher=jhuapl....@gnu.org> on behalf of Todd 
Lutton <tlut...@sabresystems.com>
Sent: Thursday, March 10, 2016 5:16 AM
To: discuss-gnuradio@gnu.org
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
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to