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