Discussion and technical support related to USRP, UHD, RFNoC
View all threadsI am trying to utilize the updated rfnoc_modtool in v4.8.0.0.
I can create the basic directory structure with the create
command, but
when I try to add
a block I get a "No such file or directory" error
message.
-- start commands --
$ rfnoc_modtool create test
$ cd rfnoc-test/
$ rfnoc_modtool add simple
Traceback (most recent call last):
File "/home/bpadalino/work/uhd/env/bin/rfnoc_modtool", line 24, in
<module>
sys.exit(rfnoc_modtool.main(get_pkg_dir()))
File
"/home/bpadalino/work/uhd/env/lib/python3.10/site-packages/uhd/rfnoc_utils/rfnoc_modtool.py",
line 125, in main
executor.run(cmd["steps"])
File
"/home/bpadalino/work/uhd/env/lib/python3.10/site-packages/uhd/rfnoc_utils/step_executor.py",
line 72, in run
getattr(self, step_type)(**{k: self._resolve(v) for k, v in
step_args.items()})
File
"/home/bpadalino/work/uhd/env/lib/python3.10/site-packages/uhd/rfnoc_utils/step_executor.py",
line 152, in parse_descriptor
with open(source, "r", encoding="utf-8") as f:
FileNotFoundError: [Errno 2] No such file or directory:
'rfnoc/blocks/simple.yml'
-- end commands --
Did I do it wrong?
Thanks,
Brian
Brian,
I wrote an email about this a couple days ago. The rfnoc_modtool doesn’t
generate a yaml and a user can write one using the example at
uhd/host/examples/rfnoc-example/blocks/gain.yml
As a baseline. You may want to check that email for more info.
Thanks,
David
On Thu, Jan 30, 2025 at 12:33 Brian Padalino bpadalino@gmail.com wrote:
I am trying to utilize the updated rfnoc_modtool in v4.8.0.0.
I can create the basic directory structure with the create
command, but
when I try to add
a block I get a "No such file or directory" error
message.
-- start commands --
$ rfnoc_modtool create test
$ cd rfnoc-test/
$ rfnoc_modtool add simple
Traceback (most recent call last):
File "/home/bpadalino/work/uhd/env/bin/rfnoc_modtool", line 24, in
<module>
sys.exit(rfnoc_modtool.main(get_pkg_dir()))
File
"/home/bpadalino/work/uhd/env/lib/python3.10/site-packages/uhd/rfnoc_utils/rfnoc_modtool.py",
line 125, in main
executor.run(cmd["steps"])
File
"/home/bpadalino/work/uhd/env/lib/python3.10/site-packages/uhd/rfnoc_utils/step_executor.py",
line 72, in run
getattr(self, step_type)(**{k: self._resolve(v) for k, v in
step_args.items()})
File
"/home/bpadalino/work/uhd/env/lib/python3.10/site-packages/uhd/rfnoc_utils/step_executor.py",
line 152, in parse_descriptor
with open(source, "r", encoding="utf-8") as f:
FileNotFoundError: [Errno 2] No such file or directory:
'rfnoc/blocks/simple.yml'
-- end commands --
Did I do it wrong?
Thanks,
Brian
USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-leave@lists.ettus.com
Thanks for the quick response and the pointer. I indeed missed that
conversation.
Brian
On Thu, Jan 30, 2025 at 3:38 PM David vitishlsfan21@gmail.com wrote:
Brian,
I wrote an email about this a couple days ago. The rfnoc_modtool doesn’t
generate a yaml and a user can write one using the example at
uhd/host/examples/rfnoc-example/blocks/gain.yml
As a baseline. You may want to check that email for more info.
Thanks,
David
On Thu, Jan 30, 2025 at 12:33 Brian Padalino bpadalino@gmail.com wrote:
I am trying to utilize the updated rfnoc_modtool in v4.8.0.0.
I can create the basic directory structure with the create
command, but
when I try to add
a block I get a "No such file or directory" error
message.
-- start commands --
$ rfnoc_modtool create test
$ cd rfnoc-test/
$ rfnoc_modtool add simple
Traceback (most recent call last):
File "/home/bpadalino/work/uhd/env/bin/rfnoc_modtool", line 24, in
<module>
sys.exit(rfnoc_modtool.main(get_pkg_dir()))
File
"/home/bpadalino/work/uhd/env/lib/python3.10/site-packages/uhd/rfnoc_utils/rfnoc_modtool.py",
line 125, in main
executor.run(cmd["steps"])
File
"/home/bpadalino/work/uhd/env/lib/python3.10/site-packages/uhd/rfnoc_utils/step_executor.py",
line 72, in run
getattr(self, step_type)(**{k: self._resolve(v) for k, v in
step_args.items()})
File
"/home/bpadalino/work/uhd/env/lib/python3.10/site-packages/uhd/rfnoc_utils/step_executor.py",
line 152, in parse_descriptor
with open(source, "r", encoding="utf-8") as f:
FileNotFoundError: [Errno 2] No such file or directory:
'rfnoc/blocks/simple.yml'
-- end commands --
Did I do it wrong?
Thanks,
Brian
USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-leave@lists.ettus.com