Bug report #13516
Problem with global variable and QgisRelationEditorWidget
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | - | ||
Category: | Forms | ||
Affected QGIS version: | master | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | end of life |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 21560 |
Description
I have a 3 level nested form (granparent,parent and child).
If I don't use global variables when I select a record in child to parent and then one in parent, QGIS raise an error [0].
to avoid this error I have to declare some variable as global in my parent form but then I have a minidump error when insert new records, because as Matthias said in list there are some problem with custom and global variable.
[0]
Traceback (most recent call last):
File "E:/lavori/Progetti_PIE/Convenzione_SISMICA/NomeComune_RP_v2.1.3_alpha1\\indaginipun.py", line 42, in
LedQtop.textChanged.connect(lambda: validaQuota(LedQtop))
NameError: free variable 'LedQtop' referenced before assignment in enclosing scope
History
#1 Updated by Giovanni Manghi over 7 years ago
- Easy fix? set to No
- Regression? set to No
#2 Updated by Giovanni Manghi over 5 years ago
- Resolution set to end of life
- Status changed from Open to Closed
End of life notice: QGIS 2.18 LTR
Source:
http://blog.qgis.org/2019/03/09/end-of-life-notice-qgis-2-18-ltr/