[MacPorts] #65595: gnuradio: TypeError: Argument 0 does not allow None as a value

MacPorts noreply at macports.org
Tue Aug 2 13:54:06 UTC 2022


#65595: gnuradio: TypeError: Argument 0 does not allow None as a value
--------------------------+-----------------------
  Reporter:  adamgao1996  |      Owner:  michaelld
      Type:  defect       |     Status:  closed
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:  worksforme   |   Keywords:
      Port:  gnuradio     |
--------------------------+-----------------------

Comment (by adamgao1996):

 **uninstalled brew fully, and reinstalled both packages, the error still
 occurs.**

 yixuan at Yixuans-MacBook-Pro ~ % port installed name:^uhd and active
 The following ports are currently installed:
   uhd
 @3.15.0.0_6+docs+examples+libusb+manpages+manual+python310+python_api+test
 (active)
 yixuan at Yixuans-MacBook-Pro ~ % port installed name:^gnuradio and active
 The following ports are currently installed:
   gnuradio @3.8.5.0_1+docs+grc+python39+qtgui+sdl+uhd+wavelet+zeromq
 (active)
 yixuan at Yixuans-MacBook-Pro ~ % gnuradio-companion
 Gtk init_check failed. GRC might not be able to start a GUI.
 No such schema “org.gnome.desktop.interface”
 Traceback (most recent call last):
   File "/opt/local/bin/gnuradio-companion", line 112, in <module>
     run_main()
   File "/opt/local/bin/gnuradio-companion", line 105, in run_main
     sys.exit(main())
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/gnuradio/grc/main.py", line 73, in main
     from .gui.Platform import Platform
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/gnuradio/grc/gui/Platform.py", line 26, in <module>
     from . import canvas
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/gnuradio/grc/gui/canvas/__init__.py", line 21, in <module>
     from .param import Param
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/gnuradio/grc/gui/canvas/param.py", line 23, in <module>
     from .. import ParamWidgets, Utils, Constants, Actions
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/gnuradio/grc/gui/ParamWidgets.py", line 69, in <module>
     add_style_provider()
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/gnuradio/grc/gui/ParamWidgets.py", line 64, in
 add_style_provider
     Gtk.StyleContext.add_provider_for_screen(
 TypeError: Argument 0 does not allow None as a value

 **I've tried the suggestion here
 https://github.com/gnuradio/gnuradio/issues/3893
 sudo port install gnuradio -x11 +no_x11 +quartz
 but got another error message**

 yixuan at Yixuans-MacBook-Pro ~ % sudo port install gnuradio -x11 +no_x11
 +quartz
 --->  Computing dependencies for gnuradio
 --->  Fetching archive for gnuradio
 --->  Attempting to fetch
 gnuradio-3.8.5.0_1+docs+grc+python39+qtgui+quartz+sdl+uhd+wavelet+zeromq.darwin_21.arm64.tbz2
 from https://packages.macports.org/gnuradio
 --->  Attempting to fetch
 gnuradio-3.8.5.0_1+docs+grc+python39+qtgui+quartz+sdl+uhd+wavelet+zeromq.darwin_21.arm64.tbz2
 from
 https://ywg.ca.packages.macports.org/mirror/macports/packages/gnuradio
 --->  Attempting to fetch
 gnuradio-3.8.5.0_1+docs+grc+python39+qtgui+quartz+sdl+uhd+wavelet+zeromq.darwin_21.arm64.tbz2
 from https://mse.uk.packages.macports.org/gnuradio
 --->  Fetching distfiles for gnuradio
 --->  Verifying checksums for gnuradio
 --->  Extracting gnuradio
 --->  Applying patches to gnuradio
 --->  Configuring gnuradio
 Error: Failed to configure gnuradio: gtk3 must be installed with +quartz.
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gnuradio/gnuradio/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there is a bug.
 Error: Processing of port gnuradio failed

-- 
Ticket URL: <https://trac.macports.org/ticket/65595#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list