-
Notifications
You must be signed in to change notification settings - Fork 5
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
DeduplicatedLogger._log() got an unexpected keyword argument stacklevel #471
Comments
Locks similar to this stacklevel error we had before: #172 and that was fixed
|
Or is it just creating too many logger.warnings and therefore overflows the variable {var} - what do you think @ponceta @PeterZamudio and Sandro:
|
I can't figure out what's wrong with python but from what I see you have remark fields that are over the limit of 80 characters. Maybe that's indeed the {val} or {max_length} which is creating trouble. What I see here is that we have a warning which makes the application crash, this is not great in terms of stability. @domi4484 add a unit test for this stacklevel argument in QGEP/qgepqwat2ili#170 (comment) so it should not fail so easily. We should maybe create such errors in an INTERLIS and a demodata file (with and without errors) to check that the application is handling well these error scenarii as we did with QGEP. |
Is that with the latest version of the plugin? looking at the line numbers in the stack trace I would say not |
I tried with latest release and it works as expected :
|
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Exact steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Variable {val} exeeds expected lenght - creates error message with stacklevel, that is not supported
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.
The text was updated successfully, but these errors were encountered: