Hi George - Yes this is a known issue that I'm working on; see also <
https://trac.macports.org/ticket/56993[1] >. On this ticket is provided
a way to revert back to the prior PyQt4 release that doesn't have this
issue. We'll get a fix in place as soon as we can. - MLD
On Tue, Aug 21, 2018, at 12:34 PM, George Rykowski wrote:
> This issue started Thursday (8/16/2018) after I performed software
> updates via macports. While running gnuradio-companion, I run my code
> (which was running fine for weeks) and now get this error:>  


> Generating:
> '/Users/georgerykowski/Documents/GNUradio/TCM_with_ENG_2MS.py'>  


> Executing: /opt/local/Library/Frameworks/Python.framework/Versions/2.-
> 7/Resources/Python.app/Contents/MacOS/Python -u
> /Users/georgerykowski/Documents/GNUradio/TCM_with_ENG_2MS.py>  


> Traceback (most recent call last):


>   File "/Users/georgerykowski/Documents/GNUradio/TCM_with_ENG_2MS.py",
>   line 20, in <module>>     from PyQt4.QtCore import QObject, pyqtSlot


> ImportError: cannot import name QObject


>  


> >>> Done (return code 1)


>  


> When I try running another program, I get this error:


>  


> Executing: /opt/local/Library/Frameworks/Python.framework/Versions/2.-
> 7/Resources/Python.app/Contents/MacOS/Python -u
> /Users/georgerykowski/Documents/GNUradio/ENG_file_run_USRP.py>  


> Traceback (most recent call last):


>   File
>   "/Users/georgerykowski/Documents/GNUradio/ENG_file_run_USRP.py",
>   line 33, in <module>>     from gnuradio import qtgui


>   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/l-
>   ib/python2.7/site-packages/gnuradio/qtgui/__init__.py", line 37, in
>   <module>>     from range import Range, RangeWidget


>   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/l-
>   ib/python2.7/site-packages/gnuradio/qtgui/range.py", line 67, in
>   <module>>     class RangeWidget(QtGui.QWidget):


> AttributeError: 'module' object has no attribute 'QWidget'


>  


> >>> Done (return code 1)


>  


> The error appear to occur in the GUI code. A colleague of mine updated
> his code and the same issue appeared, so I suspect others have seen
> this. Have others seen this, or similar issues? If yes, is there a
> workaround? Am I bringing the issue to the proper discussion forum
> (e.g. should I go to a Python group)?>  


> I am running MacOS 10.13.6


>  


> Thank you


> _________________________________________________
> Discuss-gnuradio mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Links:

  1. https://trac.macports.org/ticket/56993#comment:11
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to