-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: _log() got an unexpected keyword argument 'stacklevel' #172
Comments
I get the same problem: `Ein Fehler trat bei der Ausführung von Python-Code auf: TypeError: _log() got an unexpected keyword argument 'stacklevel' Python-Version: 3.9.5 (tags/v3.9.5:0a7dcbd, May 3 2021, 17:27:52) [MSC v.1928 64 bit (AMD64)] Python-Pfad: |
@ponceta Can you check with opengis about this? |
I pushed by mistake the fix directly to main. Can someone review the changes in commit c148d7b? |
On an Interlis Export, I got the error:
File "%QGSPath%\profiles\tww_prod/python/plugins\teksi_wastewater\interlis\interlis_model_mapping\interlis_exporter_to_intermediate_schema.py", line 386, in export_organisation
bemerkung=self.truncate(self.emptystr_to_null(row.remark), 80),
File "%QGSPath%\profiles\tww_prod/python/plugins\teksi_wastewater\interlis\interlis_model_mapping\interlis_exporter_to_intermediate_schema.py", line 2364, in truncate
logger.warning(f"Value '{val}' exceeds expected length ({max_length})", stacklevel=2)
File "C:\OSGeo4W\apps\Python39\lib\logging_init.py", line 1458, in warning
self._log(WARNING, msg, args, **kwargs)
TypeError: _log() got an unexpected keyword argument 'stacklevel'
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.11-Firenze Firenze, b02458a196
logging.version: 0.5.1.2
The text was updated successfully, but these errors were encountered: