Uploaded image for project: 'Flagon'
  1. Flagon
  2. FLAGON-75

Runtime error when QObject is out of scope

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • UserALE.PyQt5 0.1.0
    • UserALE.PyQt5 0.1.0
    • UserALE.PyQt5
    • None
    • Patch
    • Sprint 2

    Description

      I just updated and now I’m seeing this:

      Traceback (most recent call last):
      File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/userale/ale.py", line 216, in aggregate
      aggdata = self.__create_msg (event[0], event[1], event[2], details=

      {"count" : counter}

      )
      File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/userale/ale.py", line 370, in __create_msg
      "target": self.getSelector (object),
      File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/userale/ale.py", line 243, in getSelector
      return object.objectName () if object.objectName () else object.staticMetaObject.className ()
      RuntimeError: wrapped C/C++ object of type QPushButton has been deleted

      Process finished with exit code 134 (interrupted by signal 6: SIGABRT)

      I haven’t done any debugging, but I figured I’d show it to you in case you’ve seen it before (Mac buddies?). It happened when I clicked a button that should have called a user-defined slot, rather than a PyQt slot, not sure if that’s helpful info.

      Attachments

        Activity

          People

            msbeard Michelle Beard
            msbeard Michelle Beard
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: