hhnk-git / legger

GNU General Public License v3.0
0 stars 1 forks source link

Voeg profielpunt toe knopje werkt niet. #41

Closed wvanesse closed 4 years ago

wvanesse commented 4 years ago

Zie onderstaande error.

An error has occurred while executing Python code: OperationalError: (spatialite.dbapi2.OperationalError) no such column: friction [SQL: u'SELECT begroeiingsvariant.id AS begroeiingsvariant_id, begroeiingsvariant.naam AS begroeiingsvariant_naam, begroeiingsvariant.friction_manning AS begroeiingsvariant_friction_manning, begroeiingsvariant.friction_begroeiing AS begroeiingsvariant_friction_begroeiing, begroeiingsvariant.begroeiingsdeel AS begroeiingsvariant_begroeiingsdeel, begroeiingsvariant.is_default AS begroeiingsvariant_is_default \nFROM begroeiingsvariant ORDER BY -friction'] Traceback (most recent call last): File "C:/PROGRA~1/QGIS2~1.18/apps/qgis-ltr/./python/plugins\legger\views\legger_network_widget.py", line 217, in show_manual_input_window callback_on_save=self.update_available_profiles) File "C:/PROGRA~1/QGIS2~1.18/apps/qgis-ltr/./python/plugins\legger\views\input_widget.py", line 90, in init 0, [v.naam for v in self.variants] File "C:\PROGRA~1\QGIS2~1.18\apps\qgis-ltr\python\plugins\ThreeDiToolbox\external\sqlalchemy\orm\query.py", line 2777, in iter return self._execute_and_instances(context) File "C:\PROGRA~1\QGIS2~1.18\apps\qgis-ltr\python\plugins\ThreeDiToolbox\external\sqlalchemy\orm\query.py", line 2800, in _execute_and_instances result = conn.execute(querycontext.statement, self._params) File "C:\PROGRA~1\QGIS2~1.18\apps\qgis-ltr\python\plugins\ThreeDiToolbox\external\sqlalchemy\engine\base.py", line 947, in execute return meth(self, multiparams, params) File "C:\PROGRA~1\QGIS2~1.18\apps\qgis-ltr\python\plugins\ThreeDiToolbox\external\sqlalchemy\sql\elements.py", line 262, in _execute_on_connection return connection._execute_clauseelement(self, multiparams, params) File "C:\PROGRA~1\QGIS2~1.18\apps\qgis-ltr\python\plugins\ThreeDiToolbox\external\sqlalchemy\engine\base.py", line 1055, in _execute_clauseelement compiled_sql, distilled_params File "C:\PROGRA~1\QGIS2~1.18\apps\qgis-ltr\python\plugins\ThreeDiToolbox\external\sqlalchemy\engine\base.py", line 1191, in _execute_context context) File "C:\PROGRA~1\QGIS2~1.18\apps\qgis-ltr\python\plugins\ThreeDiToolbox\external\sqlalchemy\engine\base.py", line 1386, in _handle_dbapi_exception exc_info File "C:\PROGRA~1\QGIS2~1.18\apps\qgis-ltr\python\plugins\ThreeDiToolbox\external\sqlalchemy\util\compat.py", line 202, in raise_from_cause reraise(type(exception), exception, tb=exc_tb, cause=cause) File "C:\PROGRA~1\QGIS2~1.18\apps\qgis-ltr\python\plugins\ThreeDiToolbox\external\sqlalchemy\engine\base.py", line 1184, in _execute_context context) File "C:\PROGRA~1\QGIS2~1.18\apps\qgis-ltr\python\plugins\ThreeDiToolbox\external\sqlalchemy\engine\default.py", line 462, in do_execute cursor.execute(statement, parameters) OperationalError: (spatialite.dbapi2.OperationalError) no such column: friction [SQL: u'SELECT begroeiingsvariant.id AS begroeiingsvariant_id, begroeiingsvariant.naam AS begroeiingsvariant_naam, begroeiingsvariant.friction_manning AS begroeiingsvariant_friction_manning, begroeiingsvariant.friction_begroeiing AS begroeiingsvariant_friction_begroeiing, begroeiingsvariant.begroeiingsdeel AS begroeiingsvariant_begroeiingsdeel, begroeiingsvariant.is_default AS begroeiingsvariant_is_default \nFROM begroeiingsvariant ORDER BY -friction']