[PyQt] [PyQt 4.5] Freezing for emit signal

Alexandr N Zamaraev tonal at promsoft.ru
Thu Apr 16 10:47:59 BST 2009


Phil Thompson wrote:
>>> How do you know that connect works? I don't think it is being called.
>>> You can only define signals in sub-classes of QObject, not in mixins.
>> I translate a great application PyQt 4.4 -> 4.5 and do not always have 
>> to monitor the situation, if the signal is initiated in the mixin.
>> Can connect to throw an exception in such cases?
> I'll look at it but there is no need to move to the new API if you don't
> want to. The old API should work in the same way for v4.5 as it did in v4.4
> - if it doesn't then it's a bug.
My application does not work in v4.5 on the old API.
Any selection in QTreeView lead to an infinite recursion, which was not 
in v4.4.
As Eric4, for example.
In addition, the new API is more convenient. :)

All the same I think that the verification of the case would be 
appropriate. It would have increased the overall security API. :)

P.S. DocumentsCirculation.log - error log for executing my app with PyQt 4.5
-------------- next part --------------
QObject: Cannot create children for a parent that is in a different thread.
(Parent is EventManager(0x1b192e0), parent's thread is _Thread(0x1b19220), current thread is QThread(0x396e98)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is EventManager(0x1b192e0), parent's thread is _Thread(0x1b19220), current thread is QThread(0x396e98)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is EventManager(0x1b192e0), parent's thread is _Thread(0x1b19220), current thread is QThread(0x396e98)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is EventManager(0x1b192e0), parent's thread is _Thread(0x1b19220), current thread is QThread(0x396e98)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is EventManager(0x1b192e0), parent's thread is _Thread(0x1b19220), current thread is QThread(0x396e98)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is EventManager(0x1b192e0), parent's thread is _Thread(0x1b19220), current thread is QThread(0x396e98)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is EventManager(0x1b192e0), parent's thread is _Thread(0x1b19220), current thread is QThread(0x396e98)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is EventManager(0x1b192e0), parent's thread is _Thread(0x1b19220), current thread is QThread(0x396e98)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is EventManager(0x1b192e0), parent's thread is _Thread(0x1b19220), current thread is QThread(0x396e98)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is EventManager(0x1b192e0), parent's thread is _Thread(0x1b19220), current thread is QThread(0x396e98)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is EventManager(0x1b192e0), parent's thread is _Thread(0x1b19220), current thread is QThread(0x396e98)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is EventManager(0x1b192e0), parent's thread is _Thread(0x1b19220), current thread is QThread(0x396e98)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is EventManager(0x1b192e0), parent's thread is _Thread(0x1b19220), current thread is QThread(0x396e98)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is EventManager(0x1b192e0), parent's thread is _Thread(0x1b19220), current thread is QThread(0x396e98)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is EventManager(0x1b192e0), parent's thread is _Thread(0x1b19220), current thread is QThread(0x396e98)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is EventManager(0x1b192e0), parent's thread is _Thread(0x1b19220), current thread is QThread(0x396e98)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is EventManager(0x1b192e0), parent's thread is _Thread(0x1b19220), current thread is QThread(0x396e98)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is EventManager(0x1b192e0), parent's thread is _Thread(0x1b19220), current thread is QThread(0x396e98)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is EventManager(0x1b192e0), parent's thread is _Thread(0x1b19220), current thread is QThread(0x396e98)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is EventManager(0x1b192e0), parent's thread is _Thread(0x1b19220), current thread is QThread(0x396e98)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is EventManager(0x1b192e0), parent's thread is _Thread(0x1b19220), current thread is QThread(0x396e98)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is EventManager(0x1b192e0), parent's thread is _Thread(0x1b19220), current thread is QThread(0x396e98)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is EventManager(0x1b192e0), parent's thread is _Thread(0x1b19220), current thread is QThread(0x396e98)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is EventManager(0x1b192e0), parent's thread is _Thread(0x1b19220), current thread is QThread(0x396e98)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is EventManager(0x1b192e0), parent's thread is _Thread(0x1b19220), current thread is QThread(0x396e98)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is EventManager(0x1b192e0), parent's thread is _Thread(0x1b19220), current thread is QThread(0x396e98)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is EventManager(0x1b192e0), parent's thread is _Thread(0x1b19220), current thread is QThread(0x396e98)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is EventManager(0x1b192e0), parent's thread is _Thread(0x1b19220), current thread is QThread(0x396e98)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is EventManager(0x1b192e0), parent's thread is _Thread(0x1b19220), current thread is QThread(0x396e98)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is EventManager(0x1b192e0), parent's thread is _Thread(0x1b19220), current thread is QThread(0x396e98)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is EventManager(0x1b192e0), parent's thread is _Thread(0x1b19220), current thread is QThread(0x396e98)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is EventManager(0x1b192e0), parent's thread is _Thread(0x1b19220), current thread is QThread(0x396e98)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is EventManager(0x1b192e0), parent's thread is _Thread(0x1b19220), current thread is QThread(0x396e98)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is EventManager(0x1b192e0), parent's thread is _Thread(0x1b19220), current thread is QThread(0x396e98)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is EventManager(0x1b192e0), parent's thread is _Thread(0x1b19220), current thread is QThread(0x396e98)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is EventManager(0x1b192e0), parent's thread is _Thread(0x1b19220), current thread is QThread(0x396e98)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is EventManager(0x1b192e0), parent's thread is _Thread(0x1b19220), current thread is QThread(0x396e98)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is EventManager(0x1b192e0), parent's thread is _Thread(0x1b19220), current thread is QThread(0x396e98)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is EventManager(0x1b192e0), parent's thread is _Thread(0x1b19220), current thread is QThread(0x396e98)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is EventManager(0x1b192e0), parent's thread is _Thread(0x1b19220), current thread is QThread(0x396e98)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is EventManager(0x1b192e0), parent's thread is _Thread(0x1b19220), current thread is QThread(0x396e98)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is EventManager(0x1b192e0), parent's thread is _Thread(0x1b19220), current thread is QThread(0x396e98)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is EventManager(0x1b192e0), parent's thread is _Thread(0x1b19220), current thread is QThread(0x396e98)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is EventManager(0x1b192e0), parent's thread is _Thread(0x1b19220), current thread is QThread(0x396e98)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is EventManager(0x1b192e0), parent's thread is _Thread(0x1b19220), current thread is QThread(0x396e98)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is EventManager(0x1b192e0), parent's thread is _Thread(0x1b19220), current thread is QThread(0x396e98)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is EventManager(0x1b192e0), parent's thread is _Thread(0x1b19220), current thread is QThread(0x396e98)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is EventManager(0x1b192e0), parent's thread is _Thread(0x1b19220), current thread is QThread(0x396e98)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is EventManager(0x1b192e0), parent's thread is _Thread(0x1b19220), current thread is QThread(0x396e98)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is EventManager(0x1b192e0), parent's thread is _Thread(0x1b19220), current thread is QThread(0x396e98)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is EventManager(0x1b192e0), parent's thread is _Thread(0x1b19220), current thread is QThread(0x396e98)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is EventManager(0x1b192e0), parent's thread is _Thread(0x1b19220), current thread is QThread(0x396e98)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is EventManager(0x1b192e0), parent's thread is _Thread(0x1b19220), current thread is QThread(0x396e98)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is EventManager(0x1b192e0), parent's thread is _Thread(0x1b19220), current thread is QThread(0x396e98)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is EventManager(0x1b192e0), parent's thread is _Thread(0x1b19220), current thread is QThread(0x396e98)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is EventManager(0x1b192e0), parent's thread is _Thread(0x1b19220), current thread is QThread(0x396e98)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is EventManager(0x1b192e0), parent's thread is _Thread(0x1b19220), current thread is QThread(0x396e98)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is EventManager(0x1b192e0), parent's thread is _Thread(0x1b19220), current thread is QThread(0x396e98)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is EventManager(0x1b192e0), parent's thread is _Thread(0x1b19220), current thread is QThread(0x396e98)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is EventManager(0x1b192e0), parent's thread is _Thread(0x1b19220), current thread is QThread(0x396e98)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is EventManager(0x1b192e0), parent's thread is _Thread(0x1b19220), current thread is QThread(0x396e98)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is EventManager(0x1b192e0), parent's thread is _Thread(0x1b19220), current thread is QThread(0x396e98)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is EventManager(0x1b192e0), parent's thread is _Thread(0x1b19220), current thread is QThread(0x396e98)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is EventManager(0x1b192e0), parent's thread is _Thread(0x1b19220), current thread is QThread(0x396e98)
RuntimeErrorRuntimeErrorTraceback (most recent call last):
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\PanLandDetal.py", line 37, in currentEntChanged
    self.__ui.wgLandLinks.currentEntChanged(obj)
RuntimeError: maximum recursion depth exceeded
Traceback (most recent call last):
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\PanLandDetal.py", line 37, in currentEntChanged
    self.__ui.wgLandLinks.currentEntChanged(obj)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\WidgetLandLinks.py", line 67, in currentEntChanged
    self.__ui.wgDocs.currentEntChanged(obj)
RuntimeError: maximum recursion depth exceeded
Traceback (most recent call last):
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\PanLandDetal.py", line 37, in currentEntChanged
    self.__ui.wgLandLinks.currentEntChanged(obj)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\WidgetLandLinks.py", line 67, in currentEntChanged
    self.__ui.wgDocs.currentEntChanged(obj)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\WidgetObjLands.py", line 92, in currentEntChanged
    self.__model.setObject(obj)
RuntimeError: maximum recursion depth exceeded
Traceback (most recent call last):
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\PanLandDetal.py", line 37, in currentEntChanged
    self.__ui.wgLandLinks.currentEntChanged(obj)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\WidgetLandLinks.py", line 67, in currentEntChanged
    self.__ui.wgDocs.currentEntChanged(obj)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\WidgetObjLands.py", line 92, in currentEntChanged
    self.__model.setObject(obj)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\QtLinkModel.py", line 83, in setObject
    self.resetObjects()
RuntimeError: maximum recursion depth exceeded
Traceback (most recent call last):
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\PanLandDetal.py", line 37, in currentEntChanged
    self.__ui.wgLandLinks.currentEntChanged(obj)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\WidgetLandLinks.py", line 67, in currentEntChanged
    self.__ui.wgDocs.currentEntChanged(obj)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\WidgetObjLands.py", line 92, in currentEntChanged
    self.__model.setObject(obj)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\QtLinkModel.py", line 83, in setObject
    self.resetObjects()
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\QtLinkModel.py", line 90, in resetObjects
    TmpModelMixin._resetObjects(self)
RuntimeError: maximum recursion depth exceeded
Traceback (most recent call last):
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\PanLandDetal.py", line 37, in currentEntChanged
    self.__ui.wgLandLinks.currentEntChanged(obj)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\WidgetLandLinks.py", line 67, in currentEntChanged
    self.__ui.wgDocs.currentEntChanged(obj)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\WidgetObjLands.py", line 92, in currentEntChanged
    self.__model.setObject(obj)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\QtLinkModel.py", line 83, in setObject
    self.resetObjects()
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\QtLinkModel.py", line 91, in resetObjects
    EntityItemModel.resetObjects(self)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\gui\QtEntitys.py", line 186, in resetObjects
    self.objects = list(self.get_objects())
RuntimeError: maximum recursion depth exceeded
Traceback (most recent call last):
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\PanLandDetal.py", line 37, in currentEntChanged
    self.__ui.wgLandLinks.currentEntChanged(obj)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\WidgetLandLinks.py", line 67, in currentEntChanged
    self.__ui.wgDocs.currentEntChanged(obj)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\WidgetObjLands.py", line 92, in currentEntChanged
    self.__model.setObject(obj)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\QtLinkModel.py", line 83, in setObject
    self.resetObjects()
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\QtLinkModel.py", line 91, in resetObjects
    EntityItemModel.resetObjects(self)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\gui\QtEntitys.py", line 186, in resetObjects
    self.objects = list(self.get_objects())
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\gui\QtEntitys.py", line 68, in <lambda>
    get_objects(), key=lambda obj: obj.oid)
RuntimeError: maximum recursion depth exceeded
Traceback (most recent call last):
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\PanLandDetal.py", line 37, in currentEntChanged
    self.__ui.wgLandLinks.currentEntChanged(obj)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\WidgetLandLinks.py", line 67, in currentEntChanged
    self.__ui.wgDocs.currentEntChanged(obj)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\WidgetObjLands.py", line 92, in currentEntChanged
    self.__model.setObject(obj)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\QtLinkModel.py", line 83, in setObject
    self.resetObjects()
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\QtLinkModel.py", line 91, in resetObjects
    EntityItemModel.resetObjects(self)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\gui\QtEntitys.py", line 186, in resetObjects
    self.objects = list(self.get_objects())
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\gui\QtEntitys.py", line 68, in <lambda>
    get_objects(), key=lambda obj: obj.oid)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\gui\QTmpModelMixin.py", line 133, in _get_objects
    (obj for obj in self.__inp_get_object()
RuntimeError: maximum recursion depth exceeded
Traceback (most recent call last):
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\PanLandDetal.py", line 37, in currentEntChanged
    self.__ui.wgLandLinks.currentEntChanged(obj)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\WidgetLandLinks.py", line 67, in currentEntChanged
    self.__ui.wgDocs.currentEntChanged(obj)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\WidgetObjLands.py", line 92, in currentEntChanged
    self.__model.setObject(obj)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\QtLinkModel.py", line 83, in setObject
    self.resetObjects()
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\QtLinkModel.py", line 91, in resetObjects
    EntityItemModel.resetObjects(self)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\gui\QtEntitys.py", line 186, in resetObjects
    self.objects = list(self.get_objects())
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\gui\QtEntitys.py", line 68, in <lambda>
    get_objects(), key=lambda obj: obj.oid)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\gui\QTmpModelMixin.py", line 133, in _get_objects
    (obj for obj in self.__inp_get_object()
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\QtLinkModel.py", line 126, in _get_links
    for link in self.__link_get_objects(self.__obj.oid))
RuntimeError: maximum recursion depth exceeded
Traceback (most recent call last):
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\PanLandDetal.py", line 37, in currentEntChanged
    self.__ui.wgLandLinks.currentEntChanged(obj)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\WidgetLandLinks.py", line 67, in currentEntChanged
    self.__ui.wgDocs.currentEntChanged(obj)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\WidgetObjLands.py", line 92, in currentEntChanged
    self.__model.setObject(obj)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\QtLinkModel.py", line 83, in setObject
    self.resetObjects()
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\QtLinkModel.py", line 91, in resetObjects
    EntityItemModel.resetObjects(self)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\gui\QtEntitys.py", line 186, in resetObjects
    self.objects = list(self.get_objects())
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\gui\QtEntitys.py", line 68, in <lambda>
    get_objects(), key=lambda obj: obj.oid)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\gui\QTmpModelMixin.py", line 133, in _get_objects
    (obj for obj in self.__inp_get_object()
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\QtLinkModel.py", line 126, in _get_links
    for link in self.__link_get_objects(self.__obj.oid))
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\orm\Property.py", line 41, in __get__
    return self._fget(instance)
RuntimeError: maximum recursion depth exceeded
Traceback (most recent call last):
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\PanLandDetal.py", line 37, in currentEntChanged
    self.__ui.wgLandLinks.currentEntChanged(obj)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\WidgetLandLinks.py", line 67, in currentEntChanged
    self.__ui.wgDocs.currentEntChanged(obj)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\WidgetObjLands.py", line 92, in currentEntChanged
    self.__model.setObject(obj)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\QtLinkModel.py", line 83, in setObject
    self.resetObjects()
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\QtLinkModel.py", line 91, in resetObjects
    EntityItemModel.resetObjects(self)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\gui\QtEntitys.py", line 186, in resetObjects
    self.objects = list(self.get_objects())
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\gui\QtEntitys.py", line 68, in <lambda>
    get_objects(), key=lambda obj: obj.oid)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\gui\QTmpModelMixin.py", line 133, in _get_objects
    (obj for obj in self.__inp_get_object()
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\QtLinkModel.py", line 126, in _get_links
    for link in self.__link_get_objects(self.__obj.oid))
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\DataLandDoc.py", line 39, in getObjectsFromLand
    return self._getObjsFromLink(landId, self.__byLandId, 'LAND_ID')
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\DataLink.py", line 36, in _getObjsFromLink
    sql = self.__sel_from_link_sql(link_fld)
RuntimeError: maximum recursion depth exceeded
Traceback (most recent call last):
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\PanLandDetal.py", line 37, in currentEntChanged
    self.__ui.wgLandLinks.currentEntChanged(obj)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\WidgetLandLinks.py", line 67, in currentEntChanged
    self.__ui.wgDocs.currentEntChanged(obj)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\WidgetObjLands.py", line 92, in currentEntChanged
    self.__model.setObject(obj)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\QtLinkModel.py", line 83, in setObject
    self.resetObjects()
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\QtLinkModel.py", line 91, in resetObjects
    EntityItemModel.resetObjects(self)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\gui\QtEntitys.py", line 186, in resetObjects
    self.objects = list(self.get_objects())
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\gui\QtEntitys.py", line 68, in <lambda>
    get_objects(), key=lambda obj: obj.oid)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\gui\QTmpModelMixin.py", line 133, in _get_objects
    (obj for obj in self.__inp_get_object()
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\QtLinkModel.py", line 126, in _get_links
    for link in self.__link_get_objects(self.__obj.oid))
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\DataLandDoc.py", line 39, in getObjectsFromLand
    return self._getObjsFromLink(landId, self.__byLandId, 'LAND_ID')
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\DataLink.py", line 36, in _getObjsFromLink
    sql = self.__sel_from_link_sql(link_fld)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\DataLink.py", line 150, in __sel_from_link_sql
    self._get_sel_all_sql(), link_fld)
RuntimeError: maximum recursion depth exceeded
Traceback (most recent call last):
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\PanLandDetal.py", line 37, in currentEntChanged
    self.__ui.wgLandLinks.currentEntChanged(obj)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\WidgetLandLinks.py", line 67, in currentEntChanged
    self.__ui.wgDocs.currentEntChanged(obj)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\WidgetObjLands.py", line 92, in currentEntChanged
    self.__model.setObject(obj)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\QtLinkModel.py", line 83, in setObject
    self.resetObjects()
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\QtLinkModel.py", line 91, in resetObjects
    EntityItemModel.resetObjects(self)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\gui\QtEntitys.py", line 186, in resetObjects
    self.objects = list(self.get_objects())
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\gui\QtEntitys.py", line 68, in <lambda>
    get_objects(), key=lambda obj: obj.oid)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\gui\QTmpModelMixin.py", line 133, in _get_objects
    (obj for obj in self.__inp_get_object()
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\QtLinkModel.py", line 126, in _get_links
    for link in self.__link_get_objects(self.__obj.oid))
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\DataLandDoc.py", line 39, in getObjectsFromLand
    return self._getObjsFromLink(landId, self.__byLandId, 'LAND_ID')
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\DataLink.py", line 37, in _getObjsFromLink
    objs = self.__fromAllObjs(self.__get_link_objects(link_id, sql))
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\DataLink.py", line 127, in __get_link_objects
    return fb.get_conn().read_data(get_objs)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\orm\Firebird.py", line 171, in __read_data
    curs = self.cursor()
RuntimeError: maximum recursion depth exceeded
Traceback (most recent call last):
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\PanLandDetal.py", line 37, in currentEntChanged
    self.__ui.wgLandLinks.currentEntChanged(obj)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\WidgetLandLinks.py", line 67, in currentEntChanged
    self.__ui.wgDocs.currentEntChanged(obj)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\WidgetObjLands.py", line 92, in currentEntChanged
    self.__model.setObject(obj)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\QtLinkModel.py", line 83, in setObject
    self.resetObjects()
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\QtLinkModel.py", line 91, in resetObjects
    EntityItemModel.resetObjects(self)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\gui\QtEntitys.py", line 186, in resetObjects
    self.objects = list(self.get_objects())
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\gui\QtEntitys.py", line 68, in <lambda>
    get_objects(), key=lambda obj: obj.oid)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\gui\QTmpModelMixin.py", line 133, in _get_objects
    (obj for obj in self.__inp_get_object()
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\QtLinkModel.py", line 126, in _get_links
    for link in self.__link_get_objects(self.__obj.oid))
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\DataLandDoc.py", line 39, in getObjectsFromLand
    return self._getObjsFromLink(landId, self.__byLandId, 'LAND_ID')
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\DataLink.py", line 37, in _getObjsFromLink
    objs = self.__fromAllObjs(self.__get_link_objects(link_id, sql))
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\DataLink.py", line 127, in __get_link_objects
    return fb.get_conn().read_data(get_objs)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\orm\Firebird.py", line 172, in __read_data
    return func(curs)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\DataLink.py", line 126, in get_objs
    return self._get_objs(curs, link_sql, [link_id])
RuntimeError: maximum recursion depth exceeded
Traceback (most recent call last):
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\PanLandDetal.py", line 37, in currentEntChanged
    self.__ui.wgLandLinks.currentEntChanged(obj)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\WidgetLandLinks.py", line 67, in currentEntChanged
    self.__ui.wgDocs.currentEntChanged(obj)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\WidgetObjLands.py", line 92, in currentEntChanged
    self.__model.setObject(obj)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\QtLinkModel.py", line 83, in setObject
    self.resetObjects()
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\QtLinkModel.py", line 91, in resetObjects
    EntityItemModel.resetObjects(self)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\gui\QtEntitys.py", line 186, in resetObjects
    self.objects = list(self.get_objects())
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\gui\QtEntitys.py", line 68, in <lambda>
    get_objects(), key=lambda obj: obj.oid)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\gui\QTmpModelMixin.py", line 133, in _get_objects
    (obj for obj in self.__inp_get_object()
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\QtLinkModel.py", line 126, in _get_links
    for link in self.__link_get_objects(self.__obj.oid))
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\DataLandDoc.py", line 39, in getObjectsFromLand
    return self._getObjsFromLink(landId, self.__byLandId, 'LAND_ID')
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\DataLink.py", line 37, in _getObjsFromLink
    objs = self.__fromAllObjs(self.__get_link_objects(link_id, sql))
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\DataLink.py", line 127, in __get_link_objects
    return fb.get_conn().read_data(get_objs)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\orm\Firebird.py", line 172, in __read_data
    return func(curs)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\DataLink.py", line 126, in get_objs
    return self._get_objs(curs, link_sql, [link_id])
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\orm\DataEntity.py", line 380, in _get_objs
    curs.execute(sql, args)
RuntimeError: maximum recursion depth exceeded
Traceback (most recent call last):
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\PanLandDetal.py", line 37, in currentEntChanged
    self.__ui.wgLandLinks.currentEntChanged(obj)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\WidgetLandLinks.py", line 67, in currentEntChanged
    self.__ui.wgDocs.currentEntChanged(obj)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\WidgetObjLands.py", line 92, in currentEntChanged
    self.__model.setObject(obj)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\QtLinkModel.py", line 83, in setObject
    self.resetObjects()
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\QtLinkModel.py", line 91, in resetObjects
    EntityItemModel.resetObjects(self)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\gui\QtEntitys.py", line 186, in resetObjects
    self.objects = list(self.get_objects())
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\gui\QtEntitys.py", line 68, in <lambda>
    get_objects(), key=lambda obj: obj.oid)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\gui\QTmpModelMixin.py", line 133, in _get_objects
    (obj for obj in self.__inp_get_object()
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\QtLinkModel.py", line 126, in _get_links
    for link in self.__link_get_objects(self.__obj.oid))
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\DataLandDoc.py", line 39, in getObjectsFromLand
    return self._getObjsFromLink(landId, self.__byLandId, 'LAND_ID')
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\DataLink.py", line 37, in _getObjsFromLink
    objs = self.__fromAllObjs(self.__get_link_objects(link_id, sql))
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\DataLink.py", line 127, in __get_link_objects
    return fb.get_conn().read_data(get_objs)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\orm\Firebird.py", line 172, in __read_data
    return func(curs)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\DataLink.py", line 126, in get_objs
    return self._get_objs(curs, link_sql, [link_id])
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\orm\DataEntity.py", line 380, in _get_objs
    curs.execute(sql, args)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\orm\Firebird.py", line 57, in execute
    return self.__do_cursor(super(Cursor, self).execute, sql, *args)
RuntimeError: maximum recursion depth exceeded
Îøèáêà ïðè âûçîâå execute: select DOC_ID, ID, LAND_ID, SQUARE, VERS from LAND_TO_DOC where LAND_ID = ? ([4718],)
Traceback (most recent call last):
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\PanLandDetal.py", line 37, in currentEntChanged
    self.__ui.wgLandLinks.currentEntChanged(obj)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\WidgetLandLinks.py", line 67, in currentEntChanged
    self.__ui.wgDocs.currentEntChanged(obj)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\WidgetObjLands.py", line 92, in currentEntChanged
    self.__model.setObject(obj)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\QtLinkModel.py", line 83, in setObject
    self.resetObjects()
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\QtLinkModel.py", line 91, in resetObjects
    EntityItemModel.resetObjects(self)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\gui\QtEntitys.py", line 186, in resetObjects
    self.objects = list(self.get_objects())
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\gui\QtEntitys.py", line 68, in <lambda>
    get_objects(), key=lambda obj: obj.oid)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\gui\QTmpModelMixin.py", line 133, in _get_objects
    (obj for obj in self.__inp_get_object()
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\QtLinkModel.py", line 126, in _get_links
    for link in self.__link_get_objects(self.__obj.oid))
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\DataLandDoc.py", line 39, in getObjectsFromLand
    return self._getObjsFromLink(landId, self.__byLandId, 'LAND_ID')
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\DataLink.py", line 37, in _getObjsFromLink
    objs = self.__fromAllObjs(self.__get_link_objects(link_id, sql))
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\DataLink.py", line 127, in __get_link_objects
    return fb.get_conn().read_data(get_objs)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\orm\Firebird.py", line 172, in __read_data
    return func(curs)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\DataLink.py", line 126, in get_objs
    return self._get_objs(curs, link_sql, [link_id])
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\orm\DataEntity.py", line 380, in _get_objs
    curs.execute(sql, args)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\orm\Firebird.py", line 57, in execute
    return self.__do_cursor(super(Cursor, self).execute, sql, *args)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\orm\Firebird.py", line 78, in __do_cursor
    UtilExcept.deep_print(e)
RuntimeError: maximum recursion depth exceeded
Îøèáêà ïðè âûçîâå execute: select CONTRACT_ID, DOC_LAND_ID, ID, LAND_ID, PART_DIVIDEND, PART_DIVISOR, PHYS_ID, VERS from LAND_RIGHTS_PHYS where LAND_ID = ? ([4718],)
Traceback (most recent call last):
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\PanLandDetal.py", line 37, in currentEntChanged
    self.__ui.wgLandLinks.currentEntChanged(obj)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\WidgetLandLinks.py", line 69, in currentEntChanged
    self.__ui.wgOwners.currentEntChanged(obj)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\WidgetObjLands.py", line 92, in currentEntChanged
    self.__model.setObject(obj)
  File "C:\Lang\Projects\Promsoft\mun_ob\doc_circ\src\links\QtLinkModel.py", line 83, in se


More information about the PyQt mailing list