-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
grc: global_blocks_path prevents switching gr versions #2763
Comments
Everytime gnuradio gets recompiled (or sometimes), it repopulates the global_blocks_path, which in multi-prefix installations will try and load blocks from the wrong place. Just leave it blank by default Fixes gnuradio#2763
Same happens for me the other way round: (System installed) GRC 3.7 seems to have added
Deleting |
Freshly installed 3.8.2.0 on Mac OS. I have no grc.conf:
and yet...
|
workaround worked for me:
|
I had this issue on a Homebrew (mac) install of gnuradio. Reinstalling did now work. This is due to the uninstall not removing the /usr/local/etc/gnuradio directory. This folder had a config file that pointed to a folder that no longer existed from a previous release. Uninstalling, removing the /usr/local/etc/gnuradio, and ~/.gnuradio folder, then reinstalling did the trick. |
I've started calling GRC from a shell script in each PyBOMBS directory that does: |
since we've had our format change in 3.7->3.8, we don't have to ensure this compatibility any more. GRC currently does not crash when it encounters something in a YAML file it does not understand. |
When going back and forth between GNU Radio versions (e.g. 3.7 and 3.8), GRC sometimes gets stuck looking for blocks for the other gr version. GR 3.7 crashes when it gets stuck looking for the 3.8 blocks because of the format change.
Here is the error
Traceback (most recent call last): File "/share/gnuradio/gr37/bin/gnuradio-companion", line 99, in <module> run_main() File "/share/gnuradio/gr37/bin/gnuradio-companion", line 92, in run_main exit(main()) File "/share/gnuradio/gr37/lib/python2.7/dist-packages/gnuradio/grc/main.py", line 51, in main install_prefix=gr.prefix() File "/share/gnuradio/gr37/lib/python2.7/dist-packages/gnuradio/grc/gui/Platform.py", line 38, in __init__ _Platform.__init__(self, *args, **kwargs) File "/share/gnuradio/gr37/lib/python2.7/dist-packages/gnuradio/grc/core/Platform.py", line 75, in __init__ self.build_block_library() File "/share/gnuradio/gr37/lib/python2.7/dist-packages/gnuradio/grc/core/Platform.py", line 175, in build_block_library hide_bokeh_gui_options_if_not_installed(self.blocks['options']) File "/share/gnuradio/gr37/lib/python2.7/dist-packages/gnuradio/grc/core/utils/odict.py", line 35, in __getitem__ return self._data[key] KeyError: 'options'
Workaround:
Not sure exactly what the correct solution is, but I think it would be preferable instead of global options in one .conf file, for the conf file to be local to or tied to the pybombs installation.
The text was updated successfully, but these errors were encountered: