Open ponceta opened 2 weeks ago
More depriciation warnings:
document_management_system: QgsApplication.settingsRegistryCore() is deprecated
2024-10-11T17:25:57 WARNING warning:C:\Users/Stefan/AppData/Roaming/QGIS/QGIS3\profiles\tww_pre_2024.0.2/python/plugins\document_management_system\core\document_management_system_relation_editor_plugin.py:48: DeprecationWarning: QgsApplication.settingsRegistryCore() is deprecated
QgsApplication.settingsRegistryCore().addSubRegistry(self.settingsRegistry)
traceback: File "", line 1, in
File "C:\PROGRA~1/QGIS 3.34.8/apps/qgis-ltr/./python\qgis\utils.py", line 443, in startPlugin
if not _startPlugin(packageName):
File "C:\PROGRA~1/QGIS 3.34.8/apps/qgis-ltr/./python\qgis\utils.py", line 423, in _startPlugin
plugins[packageName] = package.classFactory(iface)
File "C:\Users/Stefan/AppData/Roaming/QGIS/QGIS3\profiles\tww_pre_2024.0.2/python/plugins\document_management_system\__init__.py", line 22, in classFactory
return DocumentManagementSystemRelationEditorPlugin(iface)
File "C:\Users/Stefan/AppData/Roaming/QGIS/QGIS3\profiles\tww_pre_2024.0.2/python/plugins\document_management_system\core\document_management_system_relation_editor_plugin.py", line 48, in __init__
QgsApplication.settingsRegistryCore().addSubRegistry(self.settingsRegistry)
2024-10-11T17:27:03 WARNING warning:C:\Users\Stefan\AppData\Roaming\Python\Python312\site-packages\sqlalchemy\sql\sqltypes.py:1902: DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC).
epoch = dt.datetime.utcfromtimestamp(0)
traceback: File "C:\Users/Stefan/AppData/Roaming/QGIS/QGIS3\profiles\tww_pre_2024.0.2/python/plugins\teksi_wastewater\teksi_wastewater_plugin.py", line 578, in actionExportClicked
from .interlis.gui.interlis_importer_exporter_gui import (
File "C:\PROGRA~1/QGIS 3.34.8/apps/qgis-ltr/./python\qgis\utils.py", line 892, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 1360, in _find_and_load
File "", line 1331, in _find_and_load_unlocked
File "", line 935, in _load_unlocked
File "", line 995, in exec_module
File "", line 488, in _call_with_frames_removed
File "C:\Users/Stefan/AppData/Roaming/QGIS/QGIS3\profiles\tww_pre_2024.0.2/python/plugins\teksi_wastewater\interlis\gui\interlis_importer_exporter_gui.py", line 10, in
from ..interlis_importer_exporter import (
File "C:\PROGRA~1/QGIS 3.34.8/apps/qgis-ltr/./python\qgis\utils.py", line 892, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 1360, in _find_and_load
File "", line 1331, in _find_and_load_unlocked
File "", line 935, in _load_unlocked
File "", line 995, in exec_module
File "", line 488, in _call_with_frames_removed
File "C:\Users/Stefan/AppData/Roaming/QGIS/QGIS3\profiles\tww_pre_2024.0.2/python/plugins\teksi_wastewater\interlis\interlis_importer_exporter.py", line 10, in
from .gui.interlis_import_selection_dialog import InterlisImportSelectionDialog
File "C:\PROGRA~1/QGIS 3.34.8/apps/qgis-ltr/./python\qgis\utils.py", line 892, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 1360, in _find_and_load
File "", line 1331, in _find_and_load_unlocked
File "", line 935, in _load_unlocked
File "", line 995, in exec_module
File "", line 488, in _call_with_frames_removed
File "C:\Users/Stefan/AppData/Roaming/QGIS/QGIS3\profiles\tww_pre_2024.0.2/python/plugins\teksi_wastewater\interlis\gui\interlis_import_selection_dialog.py", line 12, in
from sqlalchemy import inspect
File "C:\PROGRA~1/QGIS 3.34.8/apps/qgis-ltr/./python\qgis\utils.py", line 892, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 1360, in _find_and_load
File "", line 1331, in _find_and_load_unlocked
File "", line 935, in _load_unlocked
File "", line 995, in exec_module
File "", line 488, in _call_with_frames_removed
File "C:\Users\Stefan\AppData\Roaming\Python\Python312\site-packages\sqlalchemy\__init__.py", line 10, in
from .schema import BLANK_SCHEMA # noqa
File "C:\PROGRA~1/QGIS 3.34.8/apps/qgis-ltr/./python\qgis\utils.py", line 892, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 1360, in _find_and_load
File "", line 1331, in _find_and_load_unlocked
File "", line 935, in _load_unlocked
File "", line 995, in exec_module
File "", line 488, in _call_with_frames_removed
File "C:\Users\Stefan\AppData\Roaming\Python\Python312\site-packages\sqlalchemy\schema.py", line 12, in
from .sql.base import SchemaVisitor # noqa
File "C:\PROGRA~1/QGIS 3.34.8/apps/qgis-ltr/./python\qgis\utils.py", line 892, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 1360, in _find_and_load
File "", line 1310, in _find_and_load_unlocked
File "", line 488, in _call_with_frames_removed
File "", line 1360, in _find_and_load
File "", line 1331, in _find_and_load_unlocked
File "", line 935, in _load_unlocked
File "", line 995, in exec_module
File "", line 488, in _call_with_frames_removed
File "C:\Users\Stefan\AppData\Roaming\Python\Python312\site-packages\sqlalchemy\sql\__init__.py", line 8, in
from .expression import Alias # noqa
File "C:\PROGRA~1/QGIS 3.34.8/apps/qgis-ltr/./python\qgis\utils.py", line 892, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 1360, in _find_and_load
File "", line 1331, in _find_and_load_unlocked
File "", line 935, in _load_unlocked
File "", line 995, in exec_module
File "", line 488, in _call_with_frames_removed
File "C:\Users\Stefan\AppData\Roaming\Python\Python312\site-packages\sqlalchemy\sql\expression.py", line 146, in
from .functions import func # noqa
File "C:\PROGRA~1/QGIS 3.34.8/apps/qgis-ltr/./python\qgis\utils.py", line 892, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 1360, in _find_and_load
File "", line 1331, in _find_and_load_unlocked
File "", line 935, in _load_unlocked
File "", line 995, in exec_module
File "", line 488, in _call_with_frames_removed
File "C:\Users\Stefan\AppData\Roaming\Python\Python312\site-packages\sqlalchemy\sql\functions.py", line 14, in
from . import sqltypes
File "C:\PROGRA~1/QGIS 3.34.8/apps/qgis-ltr/./python\qgis\utils.py", line 892, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 1415, in _handle_fromlist
File "", line 488, in _call_with_frames_removed
File "", line 1360, in _find_and_load
File "", line 1331, in _find_and_load_unlocked
File "", line 935, in _load_unlocked
File "", line 995, in exec_module
File "", line 488, in _call_with_frames_removed
File "C:\Users\Stefan\AppData\Roaming\Python\Python312\site-packages\sqlalchemy\sql\sqltypes.py", line 1883, in
class Interval(Emulated, _AbstractInterval, TypeDecorator):
File "C:\Users\Stefan\AppData\Roaming\Python\Python312\site-packages\sqlalchemy\sql\sqltypes.py", line 1902, in Interval
epoch = dt.datetime.utcfromtimestamp(0)
pkg_resources
2024-10-11T17:27:03 WARNING warning:C:\PROGRA~1/QGIS 3.34.8/apps/qgis-ltr/./python\qgis\utils.py:892: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
mod = _builtin_import(name, globals, locals, fromlist, level)
traceback: File "C:\Users/Stefan/AppData/Roaming/QGIS/QGIS3\profiles\tww_pre_2024.0.2/python/plugins\teksi_wastewater\teksi_wastewater_plugin.py", line 578, in actionExportClicked
from .interlis.gui.interlis_importer_exporter_gui import (
File "C:\PROGRA~1/QGIS 3.34.8/apps/qgis-ltr/./python\qgis\utils.py", line 892, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 1360, in _find_and_load
File "", line 1331, in _find_and_load_unlocked
File "", line 935, in _load_unlocked
File "", line 995, in exec_module
File "", line 488, in _call_with_frames_removed
File "C:\Users/Stefan/AppData/Roaming/QGIS/QGIS3\profiles\tww_pre_2024.0.2/python/plugins\teksi_wastewater\interlis\gui\interlis_importer_exporter_gui.py", line 10, in
from ..interlis_importer_exporter import (
File "C:\PROGRA~1/QGIS 3.34.8/apps/qgis-ltr/./python\qgis\utils.py", line 892, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 1360, in _find_and_load
File "", line 1331, in _find_and_load_unlocked
File "", line 935, in _load_unlocked
File "", line 995, in exec_module
File "", line 488, in _call_with_frames_removed
File "C:\Users/Stefan/AppData/Roaming/QGIS/QGIS3\profiles\tww_pre_2024.0.2/python/plugins\teksi_wastewater\interlis\interlis_importer_exporter.py", line 11, in
from .interlis_model_mapping.interlis_exporter_to_intermediate_schema import (
File "C:\PROGRA~1/QGIS 3.34.8/apps/qgis-ltr/./python\qgis\utils.py", line 892, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 1360, in _find_and_load
File "", line 1331, in _find_and_load_unlocked
File "", line 935, in _load_unlocked
File "", line 995, in exec_module
File "", line 488, in _call_with_frames_removed
File "C:\Users/Stefan/AppData/Roaming/QGIS/QGIS3\profiles\tww_pre_2024.0.2/python/plugins\teksi_wastewater\interlis\interlis_model_mapping\interlis_exporter_to_intermediate_schema.py", line 3, in
from geoalchemy2.functions import ST_Force2D, ST_GeomFromGeoJSON
File "C:\PROGRA~1/QGIS 3.34.8/apps/qgis-ltr/./python\qgis\utils.py", line 892, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 1360, in _find_and_load
File "", line 1310, in _find_and_load_unlocked
File "", line 488, in _call_with_frames_removed
File "", line 1360, in _find_and_load
File "", line 1331, in _find_and_load_unlocked
File "", line 935, in _load_unlocked
File "", line 995, in exec_module
File "", line 488, in _call_with_frames_removed
File "C:\Users\Stefan\AppData\Roaming\Python\Python312\site-packages\geoalchemy2\__init__.py", line 13, in
from . import functions # noqa
File "C:\PROGRA~1/QGIS 3.34.8/apps/qgis-ltr/./python\qgis\utils.py", line 892, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 1415, in _handle_fromlist
File "", line 488, in _call_with_frames_removed
File "", line 1360, in _find_and_load
File "", line 1331, in _find_and_load_unlocked
File "", line 935, in _load_unlocked
File "", line 995, in exec_module
File "", line 488, in _call_with_frames_removed
File "C:\Users\Stefan\AppData\Roaming\Python\Python312\site-packages\geoalchemy2\functions.py", line 61, in
from ._functions import _FUNCTIONS
File "C:\PROGRA~1/QGIS 3.34.8/apps/qgis-ltr/./python\qgis\utils.py", line 892, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 1360, in _find_and_load
File "", line 1331, in _find_and_load_unlocked
File "", line 935, in _load_unlocked
File "", line 995, in exec_module
File "", line 488, in _call_with_frames_removed
File "C:\Users\Stefan\AppData\Roaming\Python\Python312\site-packages\geoalchemy2\_functions.py", line 3, in
from . import types
File "C:\PROGRA~1/QGIS 3.34.8/apps/qgis-ltr/./python\qgis\utils.py", line 892, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 1415, in _handle_fromlist
File "", line 488, in _call_with_frames_removed
File "", line 1360, in _find_and_load
File "", line 1331, in _find_and_load_unlocked
File "", line 935, in _load_unlocked
File "", line 995, in exec_module
File "", line 488, in _call_with_frames_removed
File "C:\Users\Stefan\AppData\Roaming\Python\Python312\site-packages\geoalchemy2\types.py", line 20, in
from .shape import to_shape
File "C:\PROGRA~1/QGIS 3.34.8/apps/qgis-ltr/./python\qgis\utils.py", line 892, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 1360, in _find_and_load
File "", line 1331, in _find_and_load_unlocked
File "", line 935, in _load_unlocked
File "", line 995, in exec_module
File "", line 488, in _call_with_frames_removed
File "C:\Users\Stefan\AppData\Roaming\Python\Python312\site-packages\geoalchemy2\shape.py", line 11, in
from pkg_resources import parse_version
File "C:\PROGRA~1/QGIS 3.34.8/apps/qgis-ltr/./python\qgis\utils.py", line 892, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 1360, in _find_and_load
File "", line 1331, in _find_and_load_unlocked
File "", line 935, in _load_unlocked
File "", line 995, in exec_module
File "", line 488, in _call_with_frames_removed
File "C:\PROGRA~1\QGIS 3.34.8\apps\Python312\Lib\site-packages\pkg_resources\__init__.py", line 102, in
warnings.warn(
Describe the bug Deprecation warning on connect tool
To Reproduce Exact steps to reproduce the behavior:
Expected behavior Production tools are not based on deprecated features.
Screenshots / data If applicable, add screenshots or data to help explain your problem.
Desktop (please complete the following information):
Additional context Add any other context about the problem here.