Closed buttercannfly closed 3 years ago
AFAIS, this is not related to this module but was an issue with GNU Radio: https://github.com/gnuradio/gnuradio/commit/154b2b73f22cc74940a536dbcc36f55ef636c3f7 Please try updating GNU Radio.
ok,thanks for your help. Gnuradio is strange as I installed it by Pybombs just now,its the 3.8.2 version,but It continues to report this error. all in all,Thank you again.
Make sure that there are no left-overs from other installations. I'm not sure how PyBombs works in detail, but you might have a block path configured somewhere in your home, which points to an older installation that had this broken template.
You can use gnuradio-config-info --prefs
to check the config. Look for local and global blocks path.
global_blocks_path = /usr/share/gnuradio/grc/blocks
local_blocks_path = /home/zwk/share/gnuradio/grc/blocks
the paths are right(I configured these two paths),and I installed pybombs and gnuradio in a fresh machine. I checked this commit before and I find that my code is the same. Thank you bro,I'd need to go for gnuradio for some help.
From what you are writing, it sounds like you'd have installed GNU Radio through your package manager and the module through PyBombs. This migh cause problems.
It looks like the global blocks path points to an installation from the package manager. Maybe this version comes with the broken tempalte. Look for qtgui_chooser.block.yml
inside those directories and see whether they have the bug.
I have finally finished this bug,thanks for your kind. Here is my false installation steps:
pybombs install gnuradio
sudo apt install gnuradio
it has conflicts between these two gnuradios. Then the true steps by pybombs are
pybombs install gnuradio gr-foo gr-ieee-802-154 gr-ieee-802-11
source prefix-3.8/setup_env.sh
I installed the gr-ieee-802154 from pybombs and configured the environment,but it didn't work