You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Exporting the test-dataset-DSS gives the following error (With all 3 datamodels):
`Ein Fehler trat bei der Ausführung von Python-Code auf:
AttributeError: 'InterlisExporterToIntermediateSchema' object has no attribute '_export_label_positions'
Traceback (most recent call last):
File "C:\Users/Stefan/AppData/Roaming/QGIS/QGIS3\profiles\tww_testing/python/plugins\teksi_wastewater\teksi_wastewater_plugin.py", line 474, in actionExportClicked
self.interlisImporterExporter.action_export()
File "C:\Users/Stefan/AppData/Roaming/QGIS/QGIS3\profiles\tww_testing/python/plugins\teksi_wastewater\interlis\gui\interlis_importer_exporter_gui.py", line 142, in action_export
raise exception
File "C:\Users/Stefan/AppData/Roaming/QGIS/QGIS3\profiles\tww_testing/python/plugins\teksi_wastewater\interlis\gui\interlis_importer_exporter_gui.py", line 113, in action_export
self.interlis_importer_exporter.interlis_export(
File "C:\Users/Stefan/AppData/Roaming/QGIS/QGIS3\profiles\tww_testing/python/plugins\teksi_wastewater\interlis\interlis_importer_exporter.py", line 157, in interlis_export
self._export_to_intermediate_schema(
File "C:\Users/Stefan/AppData/Roaming/QGIS/QGIS3\profiles\tww_testing/python/plugins\teksi_wastewater\interlis\interlis_importer_exporter.py", line 289, in _export_to_intermediate_schema
twwInterlisExporter.tww_export()
File "C:\Users/Stefan/AppData/Roaming/QGIS/QGIS3\profiles\tww_testing/python/plugins\teksi_wastewater\interlis\interlis_model_mapping\interlis_exporter_to_intermediate_schema.py", line 68, in tww_export
raise exception
File "C:\Users/Stefan/AppData/Roaming/QGIS/QGIS3\profiles\tww_testing/python/plugins\teksi_wastewater\interlis\interlis_model_mapping\interlis_exporter_to_intermediate_schema.py", line 63, in tww_export
self._export()
File "C:\Users/Stefan/AppData/Roaming/QGIS/QGIS3\profiles\tww_testing/python/plugins\teksi_wastewater\interlis\interlis_model_mapping\interlis_exporter_to_intermediate_schema.py", line 92, in _export
self._export_label_positions()
AttributeError: 'InterlisExporterToIntermediateSchema' object has no attribute '_export_label_positions'
Python-Version: 3.9.5 (tags/v3.9.5:0a7dcbd, May 3 2021, 17:27:52) [MSC v.1928 64 bit (AMD64)]
QGIS-Version: 3.28.4-Firenze Firenze, fd0fb72ab3
I prefer t_id = t_ili_tid = obj_id on export. generate_oid is the most straightforward solution.
If we use generate_oid, we need to reset the sequence after export, otherwise we cap 1M too quickly. Automated exports are usually on a weekly basis, with i.e. 25k labels would cap after 40 weeks.
Exporting the test-dataset-DSS gives the following error (With all 3 datamodels):
`Ein Fehler trat bei der Ausführung von Python-Code auf:
AttributeError: 'InterlisExporterToIntermediateSchema' object has no attribute '_export_label_positions'
Traceback (most recent call last):
File "C:\Users/Stefan/AppData/Roaming/QGIS/QGIS3\profiles\tww_testing/python/plugins\teksi_wastewater\teksi_wastewater_plugin.py", line 474, in actionExportClicked
self.interlisImporterExporter.action_export()
File "C:\Users/Stefan/AppData/Roaming/QGIS/QGIS3\profiles\tww_testing/python/plugins\teksi_wastewater\interlis\gui\interlis_importer_exporter_gui.py", line 142, in action_export
raise exception
File "C:\Users/Stefan/AppData/Roaming/QGIS/QGIS3\profiles\tww_testing/python/plugins\teksi_wastewater\interlis\gui\interlis_importer_exporter_gui.py", line 113, in action_export
self.interlis_importer_exporter.interlis_export(
File "C:\Users/Stefan/AppData/Roaming/QGIS/QGIS3\profiles\tww_testing/python/plugins\teksi_wastewater\interlis\interlis_importer_exporter.py", line 157, in interlis_export
self._export_to_intermediate_schema(
File "C:\Users/Stefan/AppData/Roaming/QGIS/QGIS3\profiles\tww_testing/python/plugins\teksi_wastewater\interlis\interlis_importer_exporter.py", line 289, in _export_to_intermediate_schema
twwInterlisExporter.tww_export()
File "C:\Users/Stefan/AppData/Roaming/QGIS/QGIS3\profiles\tww_testing/python/plugins\teksi_wastewater\interlis\interlis_model_mapping\interlis_exporter_to_intermediate_schema.py", line 68, in tww_export
raise exception
File "C:\Users/Stefan/AppData/Roaming/QGIS/QGIS3\profiles\tww_testing/python/plugins\teksi_wastewater\interlis\interlis_model_mapping\interlis_exporter_to_intermediate_schema.py", line 63, in tww_export
self._export()
File "C:\Users/Stefan/AppData/Roaming/QGIS/QGIS3\profiles\tww_testing/python/plugins\teksi_wastewater\interlis\interlis_model_mapping\interlis_exporter_to_intermediate_schema.py", line 92, in _export
self._export_label_positions()
AttributeError: 'InterlisExporterToIntermediateSchema' object has no attribute '_export_label_positions'
Python-Version: 3.9.5 (tags/v3.9.5:0a7dcbd, May 3 2021, 17:27:52) [MSC v.1928 64 bit (AMD64)]
QGIS-Version: 3.28.4-Firenze Firenze, fd0fb72ab3
Python-Pfad:
C:/PROGRA
1/QGIS 3.28.4/apps/qgis-ltr/./python1/QGIS 3.28.4/apps/qgis-ltr/./python/pluginsC:/Users/Stefan/AppData/Roaming/QGIS/QGIS3\profiles\tww_testing/python
C:/Users/Stefan/AppData/Roaming/QGIS/QGIS3\profiles\tww_testing/python/plugins
C:/PROGRA
C:\Program Files\QGIS 3.28.4\bin\python39.zip
C:\PROGRA
1\QGIS 3.28.4\apps\Python39\DLLs1\QGIS 3.28.4\apps\Python39\libC:\PROGRA
C:\Program Files\QGIS 3.28.4\bin
C:\Users\Stefan\AppData\Roaming\Python\Python39\site-packages
C:\PROGRA
1\QGIS 3.28.4\apps\Python391\QGIS 3.28.4\apps\Python39\lib\site-packagesC:\PROGRA
C:\PROGRA
1\QGIS 3.28.4\apps\Python39\lib\site-packages\win321\QGIS 3.28.4\apps\Python39\lib\site-packages\win32\libC:\PROGRA
C:\PROGRA~1\QGIS 3.28.4\apps\Python39\lib\site-packages\Pythonwin
C:/Users/Stefan/AppData/Roaming/QGIS/QGIS3\profiles\tww_testing/python
C:/Daten/QGEP/testing_dss2020
C:\Users/Stefan/AppData/Roaming/QGIS/QGIS3\profiles\tww_testing/python/plugins\teksi_wastewater\interlis\gui....`
The text was updated successfully, but these errors were encountered: