Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Problem with QT4 and gnuradio
Forum Updated to NodeBB v4.3 + New Features

Problem with QT4 and gnuradio

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 2 Posters 1.3k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • YileY Offline
    YileY Offline
    Yile
    wrote on last edited by
    #1

    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-

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      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 ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved