Problem with QT4 and gnuradio



  • I am running GNU Radio 3.7.10 and when I run my module I get the following error:
    Generating: '/home/root/top_block.py'

    Warning: This flow graph may not have flow control: no audio or RF hardware blocks found. Add a Misc->Throttle block to your flow graph to avoid CPU congestion.

    Executing: /usr/bin/python -u /home/root/top_block.py

    Unable to open locale C in ICU, error code 3
    Traceback (most recent call last):
    File "/home/root/top_block.py", line 96, in <module>
    main()
    File "/home/root/top_block.py", line 84, in main
    tb = top_block_cls()
    File "/home/root/top_block.py", line 52, in init
    self.restoreGeometry(self.settings.value("geometry").toByteArray())
    AttributeError: 'NoneType' object has no attribute 'toByteArray'

    Done
    ^C

    Do I need a later version of qt?
    thanks
    Y-


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    Are you using PyQt or PySide ?

    AFAIK, the version of Qt has no influence with your problem. You're likely getting an invalid value for the geometry property from your QSettings object. Did you save that property once ?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.