Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rfnoc_image_builder cannot convert gnuradio companion files #54

Closed
julixau opened this issue Feb 2, 2021 · 1 comment
Closed

rfnoc_image_builder cannot convert gnuradio companion files #54

julixau opened this issue Feb 2, 2021 · 1 comment

Comments

@julixau
Copy link

julixau commented Feb 2, 2021

Hi,

I am not sure, if this belongs here. Feel free to close this issue if this is the wrong place for it.

the rfnoc_image_builder cannot convert gnuradio-companion graphs at the moment.

rfnoc_image_builder -r example/rfnoc_radio_ddc.grc -b /usr/share/gnuradio/grc/blocks

failes with

[INF] Converting GNU Radio Companion file to image builder format
Traceback (most recent call last):
  File "/usr/bin/rfnoc_image_builder", line 212, in <module>
    sys.exit(main())
  File "/usr/bin/rfnoc_image_builder", line 190, in main
    config, source, device, target = image_config(args)
  File "/usr/bin/rfnoc_image_builder", line 120, in image_config
    config = image_builder.convert_to_image_config(config, args.grc_blocks)
  File "/usr/lib/python3.9/site-packages/uhd/imgbuilder/image_builder.py", line 498, in convert_to_image_config
    seps = {item["name"]: item for item in grc["blocks"] if item["parameters"]["type"] == 'sep'}
  File "/usr/lib/python3.9/site-packages/uhd/imgbuilder/image_builder.py", line 498, in <dictcomp>
    seps = {item["name"]: item for item in grc["blocks"] if item["parameters"]["type"] == 'sep'}
KeyError: 'type'

Tool versions

  • uhd_config_info --version: UHD 4.0.0.0-0-unknown
  • gnuradio: GNU Radio Companion v3.8.0.0-953-g6de23f43
  • gr-ettus: Commit 1038c4c
@julixau
Copy link
Author

julixau commented Feb 4, 2021

OK, i think i have done the stupid. I now understand that there are builder blocks that need to be used here.

I will investigate further and close this issue now.

@julixau julixau closed this as completed Feb 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant