[
https://issues.apache.org/jira/browse/SENSSOFT-75?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michelle Beard resolved SENSSOFT-75.
------------------------------------
Resolution: Fixed
Fixed.
> Runtime error when QObject is out of scope
> ------------------------------------------
>
> Key: SENSSOFT-75
> URL: https://issues.apache.org/jira/browse/SENSSOFT-75
> Project: SensSoft
> Issue Type: Bug
> Components: UserALE.PyQt5
> Affects Versions: UserALE.PyQt5 0.1.5
> Reporter: Michelle Beard
> Assignee: Michelle Beard
> Fix For: UserALE.PyQt5 0.1.5, UserALE.PyQt5 0.1.6
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)