[USRP-users] Build RFNoC environment

Martin Braun martin.braun at ettus.com
Wed Jul 5 15:42:25 EDT 2017


Hi Kim,

as Nicolas says, we had some issues with PyBOMBS recently. Those issues
were fixed, but if your prefix was broken due to bad PyBOMBS, updating
PyBOMBS alone won't fix your prefix. You can either hand-edit the
offending .yml file (if you know what it looks like), or simply update
PB and start from scratch.

-- M

On 07/03/2017 04:04 AM, Nicolas Cuervo via USRP-users wrote:
> Hello Kim,
> 
> Are you still facing this problem while trying a pybombs installation?
> While looking at the previous commits from pybombs, there were a couple
> ruamel related that might have had something to do with API changes [1].
> There have been changes in PyBombs since then. So, if you are still
> facing this, could you please update your pybombs:
> 
> $ [sudo] pip install [--upgrade] git+https://github.com/gnuradio/pybombs.git
> 
> and try again? 
> 
> If you try this, please let us know if the issue persists as well.
> 
> Regards,
> - Nicolas
> 
> 
> [1] Not completely sure, but might have to do with your specific issue:
> https://github.com/gnuradio/pybombs/commit/635a69c69109febcf9c800d6b5aaffa310712026
> https://github.com/gnuradio/pybombs/commit/62b6a01b841845ff34ba0e3d69d3248c7322e841
> 
> On Fri, Jun 9, 2017 at 12:24 PM, 김태영 via USRP-users
> <usrp-users at lists.ettus.com <mailto:usrp-users at lists.ettus.com>> wrote:
> 
>     Hi all.
> 
>      
> 
>     I installed GRC on Ubuntu 16.04 with <Software Development on the
>     E310 and E312> procedure.
> 
>     after that I tried <Getting Started with RFNoC Development>
>     procedure, and fail.
> 
>     I reinstall ubuntu and <Getting Started with RFNoC Development> again.
> 
>      
> 
>     I got this error message on "pybombs prefix init ~/rfnoc -R rfnoc -a
>     rfnoc" step.
> 
>     I hope someone guide me to right procedure, or teach me what am i
>     missing.
> 
>      
> 
>      
> 
>     Exception ruamel.yaml.constructor.ConstructorError:
>     ConstructorError() in <generator object construct_undefined at
>     0x7fd5261ba0a0> ignored
>     Traceback (most recent call last):
>       File "/usr/local/bin/pybombs", line 9, in <module>
>         load_entry_point('PyBOMBS==2.3.1a0', 'console_scripts', 'pybombs')()
>       File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py",
>     line 542, in load_entry_point
>         return get_distribution(dist).load_entry_point(group, name)
>       File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py",
>     line 2569, in load_entry_point
>         return ep.load()
>       File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py",
>     line 2229, in load
>         return self.resolve()
>       File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py",
>     line 2235, in resolve
>         module = __import__(self.module_name, fromlist=['__name__'],
>     level=0)
>       File "/usr/local/lib/python2.7/dist-packages/pybombs/main.py",
>     line 26, in <module>
>         from pybombs.commands import dispatch
>       File
>     "/usr/local/lib/python2.7/dist-packages/pybombs/commands/__init__.py",
>     line 23, in <module>
>         from .base import CommandBase, SubCommandBase, dispatch
>       File
>     "/usr/local/lib/python2.7/dist-packages/pybombs/commands/base.py",
>     line 27, in <module>
>         from pybombs.config_manager import config_manager
>       File
>     "/usr/local/lib/python2.7/dist-packages/pybombs/config_manager.py",
>     line 654, in <module>
>         config_manager = ConfigManager()
>       File
>     "/usr/local/lib/python2.7/dist-packages/pybombs/config_manager.py",
>     line 330, in __init__
>         self.load(select_prefix)
>       File
>     "/usr/local/lib/python2.7/dist-packages/pybombs/config_manager.py",
>     line 370, in load
>         if self._append_cfg_from_file(self.local_cfg):
>       File
>     "/usr/local/lib/python2.7/dist-packages/pybombs/config_manager.py",
>     line 446, in _append_cfg_from_file
>         cfg_data = PBConfigFile(cfg_filename).get()
>       File
>     "/usr/local/lib/python2.7/dist-packages/pybombs/config_file.py",
>     line 42, in __init__
>         raise PBException("Error loading {0}: {1}".format(filename, str(e)))
>     pybombs.pb_exception.PBException: Error loading
>     /home/duck4985/.pybombs/config.yml: could not determine a
>     constructor for the tag '!!python/tuple'
>       in "<byte string>", line 3, column 3:
>         - !!python/tuple []
>           ^ (line: 3)
> 
>      
> 
> 
>     _______________________________________________
>     USRP-users mailing list
>     USRP-users at lists.ettus.com <mailto:USRP-users at lists.ettus.com>
>     http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
>     <http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com>
> 
> 
> 
> 
> _______________________________________________
> USRP-users mailing list
> USRP-users at lists.ettus.com
> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
> 





More information about the USRP-users mailing list