discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] gnuradio-companion-3.8.0 fails to run


From: Håkon Vågsether
Subject: Re: [Discuss-gnuradio] gnuradio-companion-3.8.0 fails to run
Date: Thu, 24 Oct 2019 13:18:17 -0700

This error message also occurs in one of the GRC tests:

https://github.com/gnuradio/gnuradio/issues/2678

Best regards 
Håkon Vågsether 


tor. 24. okt. 2019, 12:41 skrev Müller, Marcus (CEL) <address@hidden>:
Hi Barry,

neat, haven't seen that one before, specifically :)
But I've seen a test fail:
https://github.com/gnuradio/gnuradio/issues/2678

Mageia is RPM-based, right? Never used it before, but could you point
me to the .SPEC file you're using to build that package?

Hunch: replace

        utils.hide_bokeh_gui_options_if_not_installed(self.blocks['options'])
with

        try:
             utils.hide_bokeh_gui_options_if_not_installed(self.blocks['options'])
        except KeyError: #this happens if there's no 'options' block
             pass

and things should work.
I honestly think we could improve the
hide_bokeh_gui_options_if_not_installed to handle None arguments and
use .get('options') instead of ['options']. Willing to pick up on that?

Best regards,
Marcus

On Thu, 2019-10-24 at 19:03 +0100, Barry Jackson wrote:
> [baz@jackodesktop ~]$ gnuradio-companion
> 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.8/site-packages/gnuradio/grc/main.py", line
> 83, in main
>      platform.build_library()
>    File
> "/usr/lib/python3.8/site-packages/gnuradio/grc/core/platform.py", line
> 197, in build_library
>      utils.hide_bokeh_gui_options_if_not_installed(self.blocks['options'])
>    File "/usr/lib64/python3.8/collections/__init__.py", line 891, in
> __getitem__
>      return self.__missing__(key)            # support subclasses that
> define __missing__
>    File "/usr/lib64/python3.8/collections/__init__.py", line 883, in
> __missing__
>      raise KeyError(key)
> KeyError: 'options'
> [baz@jackodesktop ~]$
>
> I found this
> https://www.mail-archive.com/address@hidden/msg69270.html
> ...which looked promising, but deleting .~.gnuradio changes nothing here.
>
> I have just updated our (Mageia8) package tp py3/qt5 build and hit this
> in testing prior to pushing to our dev branch repo.
>
> Any ideas welcome :)
>
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

reply via email to

[Prev in Thread] Current Thread [Next in Thread]