QGIS crashes when I do "print (field_name)" #28711
Labels
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
Crash/Data Corruption
High Priority
PyQGIS
Related to the PyQGIS API
Author Name: Babacar FASSA (@Babacarfassa)
Original Redmine Issue: 20892
Affected QGIS version: 3.4.2
Redmine category:python_bindings_/_sipify
Hello,
i have a problem when i run this code. Can some one help.
User Feedback
shape_boite = self.parameterAsSource(parameters, self.BOITE, context)
shape_point_technique = self.parameterAsSource(parameters, self.PT, context)
shape_cables = self.parameterAsSource(parameters, self.CABLE, context)
field_name=self.parameterAsFields(parameters, self.testfield, context)
print (field_name)
when i print field_name, qgis crached
Report Details
Crash ID: c27feb63aef8c3825e8e636c714477104066e3e8
Stack Trace
QGIS Info
QGIS Version: 3.4.2-Madeira
QGIS code revision: 22034aa
Compiled against Qt: 5.11.2
Running against Qt: 5.11.2
Compiled against GDAL: 2.3.2
Running against GDAL: 2.3.2
System Info
CPU Type: x86_64
Kernel Type: winnt
Kernel Version: 6.1.7601
The text was updated successfully, but these errors were encountered: