discuss-gnuradio
[Top][All Lists]
Advanced

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

python 3.10.2 and GR 3.10.1.1


From: Steven Barbo
Subject: python 3.10.2 and GR 3.10.1.1
Date: Mon, 4 Apr 2022 09:15:09 -0500

Morning  all (well, it's morning here anyway).
Using the QT GUI LED Indicator with Python 3.10 

Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/gnuradio/qtgui/ledindicator.py", line 123, in paintEvent
    centerpoint = QPoint(center_x, center_y)
TypeError: arguments did not match any overloaded call:
  QPoint(): too many arguments
  QPoint(int, int): argument 1 has unexpected type 'float'
  QPoint(QPoint): argument 1 has unexpected type 'float'

center_x / 2 and center_y /2 seem evaluate to float in Python 3.10

FWIW, GR-3.9.2.0 with Python 3.9.5 does not throw error on that - 
seems like QT GUI Toggle Switch also has same type issue(s).


--
If something is requisite, how can it possibly be, prerequisite? 

vanitas vanitatum omnia vanitas
later, steve
http://umn.edu/~barbo

reply via email to

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