ubuntu-hams-devel team mailing list archive
-
ubuntu-hams-devel team
-
Mailing list archive
-
Message #01625
[Bug 1877900] Re: gnuradio-companion crashes with KeyError
A workaround is
$ GRC_BLOCKS_PATH=$(find /usr/ -type d -name blocks | xargs echo | tr '
' ':') gnuradio-companion
which sets
GRC_BLOCKS_PATH=/usr/include/gnuradio/blocks:/usr/share/uhd/3.15.0/rfnoc/blocks:/usr/share/gnuradio/examples/blocks:/usr/share/gnuradio/grc/blocks:/usr/lib/python3
/dist-packages/gnuradio/blocks:/usr/lib/python3/dist-
packages/gnuradio/grc/core/blocks
That's kind of ugly though and violates my expectations of having software just work straight out of the repositories, or if some additional setup is required it would have been nice to get a message from apt/synaptic.
--
You received this bug notification because you are a member of Ubuntu
ham developers, which is subscribed to gnuradio in Ubuntu.
https://bugs.launchpad.net/bugs/1877900
Title:
gnuradio-companion crashes with KeyError
Status in gnuradio package in Ubuntu:
New
Bug description:
$ lsb_release -da
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04 LTS
Release: 20.04
Codename: focal
$ python --version
Python 3.8.2
$ apt-cache policy gnuradio
gnuradio:
Installed: 3.8.1.0~rc1-2build2
Candidate: 3.8.1.0~rc1-2build2
Version table:
*** 3.8.1.0~rc1-2build2 500
500 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 Packages
100 /var/lib/dpkg/status
$ gnuradio-companion
(gnuradio-companion:1987623): dbind-WARNING **: 16:14:45.930: Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
WARNING:gnuradio.grc.core.platform:display_show_image.block.yml block.parameters[3]: warn: Ignoring extra key 'value'
WARNING:gnuradio.grc.core.platform:display_show_text.block.yml block.parameters[0]: warn: Ignoring extra key 'value'
/usr/lib/python3/dist-packages/apport/report.py:13: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
import fnmatch, glob, traceback, errno, sys, atexit, locale, imp
Traceback (most recent call last):
File "/usr/bin/gnuradio-companion", line 102, in <module>
run_main()
File "/usr/bin/gnuradio-companion", line 95, in run_main
exit(main())
File "/usr/lib/python3/dist-packages/gnuradio/grc/main.py", line 83, in main
platform.build_library()
File "/usr/lib/python3/dist-packages/gnuradio/grc/core/platform.py", line 197, in build_library
utils.hide_bokeh_gui_options_if_not_installed(self.blocks['options'])
File "/usr/lib/python3.8/collections/__init__.py", line 891, in __getitem__
return self.__missing__(key) # support subclasses that define __missing__
File "/usr/lib/python3.8/collections/__init__.py", line 883, in __missing__
raise KeyError(key)
KeyError: 'options'
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnuradio/+bug/1877900/+subscriptions
References