Bug 2014797 - gnuradio-companion does not work on Fedora 35
Summary: gnuradio-companion does not work on Fedora 35
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gnuradio
Version: 35
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Jaroslav Škarvada
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 2016400 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-10-16 21:26 UTC by Ivan Mironov
Modified: 2021-10-29 23:09 UTC (History)
6 users (show)

Fixed In Version: gnuradio-3.9.3.0-2.fc36 gnuradio-3.9.2.0-7.fc35
Clone Of:
Environment:
Last Closed: 2021-10-19 21:59:33 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Ivan Mironov 2021-10-16 21:26:00 UTC
Description of problem:
gnuradio-companion does not work on Fedora 35.


Version-Release number of selected component (if applicable):
gnuradio-3.9.2.0-6.fc35.x86_64


How reproducible:
Always.


Steps to Reproduce:
1. Try to start gnuradio-companion on Fedora 35.


Actual results:
$ gnuradio-companion 
Traceback (most recent call last):
  File "/usr/bin/gnuradio-companion", line 53, in check_gtk
    from gi.repository import Gtk
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
ImportWarning: DynamicImporter.exec_module() not found; falling back to load_module()

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/gnuradio-companion", line 90, in <module>
    check_gtk()
  File "/usr/bin/gnuradio-companion", line 57, in check_gtk
    die(err, "Failed to initialize GTK. If you are running over ssh, "
  File "/usr/bin/gnuradio-companion", line 32, in die
    from gi.repository import Gtk
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
ImportWarning: DynamicImporter.exec_module() not found; falling back to load_module()


Expected results:
It should start.


Additional info:
N/A

Comment 1 Jaroslav Škarvada 2021-10-18 08:41:34 UTC
It's warning, interesting that it tracebacks.

On the affected line there is:
> from gi.repository import Gtk

I.e. no idea why it tracebacks, something wrong with the gtk?

Comment 2 Marcus Müller 2021-10-19 11:19:29 UTC
Potentially related upstream issue, so far only reported once.

https://github.com/gnuradio/gnuradio/issues/4891#issuecomment-881699070


> I.e. no idea why it tracebacks, something wrong with the gtk?

yes :( whether or not importing fails **seems to** depend on the warnings settings, even if there's no difference in emitted warnings.

Haven't tried running from F35 yet, will have to do. Might or might not be triggerable in a container, seeing that GTK/Gdk might interact with X more intimately than I can facilitate with sharing of sockets and files into a podman container  :/

Comment 3 Marcus Müller 2021-10-19 11:30:20 UTC
Upstream issue for this particular bug report: https://github.com/gnuradio/gnuradio/issues/5216

Comment 4 Jaroslav Škarvada 2021-10-19 11:47:40 UTC
OK, as a workaround I will patch out the 'warnings.filterwarnings("error")' downstream until better fix is available.

Comment 5 Fedora Update System 2021-10-19 21:57:59 UTC
FEDORA-2021-9f50b3b3b9 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2021-9f50b3b3b9

Comment 6 Fedora Update System 2021-10-19 21:59:33 UTC
FEDORA-2021-9f50b3b3b9 has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 7 Fedora Update System 2021-10-20 07:59:42 UTC
FEDORA-2021-160f1cfd85 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-160f1cfd85

Comment 8 Fedora Update System 2021-10-21 02:21:37 UTC
FEDORA-2021-160f1cfd85 has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-160f1cfd85`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-160f1cfd85

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Marcus Müller 2021-10-21 13:11:27 UTC
*** Bug 2016400 has been marked as a duplicate of this bug. ***

Comment 10 Harish Pillay 2021-10-23 04:54:16 UTC
(In reply to Fedora Update System from comment #8)
> FEDORA-2021-160f1cfd85 has been pushed to the Fedora 35 testing repository.
> Soon you'll be able to install the update with the following command:
> `sudo dnf upgrade --enablerepo=updates-testing
> --advisory=FEDORA-2021-160f1cfd85`
> You can provide feedback for this update here:
> https://bodhi.fedoraproject.org/updates/FEDORA-2021-160f1cfd85
> 
> See also https://fedoraproject.org/wiki/QA:Updates_Testing for more
> information on how to test updates.

Followed this instruction and now it works on Fedora 35. The version that did not work was 3.9.2.0-6 and the updated one is 3.9.2.0-7. 

Thanks.

Harish

Comment 11 Fedora Update System 2021-10-29 23:09:33 UTC
FEDORA-2021-160f1cfd85 has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.