Skip to content
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

log_view Client has been deleted but is still being used #70

Closed
WolfgangFahl opened this issue Jul 23, 2024 · 4 comments
Closed

log_view Client has been deleted but is still being used #70

WolfgangFahl opened this issue Jul 23, 2024 · 4 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@WolfgangFahl
Copy link
Owner

File "... ngwidgets/log_view.py", line 21, in emit
self.element.push(msg)
File "../nicegui/elements/log.py", line 27, in push
Label(text)

...
log.warning('Client has been deleted but is still being used. This is most likely a bug in your application code. '

@WolfgangFahl WolfgangFahl added the bug Something isn't working label Jul 23, 2024
@WolfgangFahl WolfgangFahl self-assigned this Jul 23, 2024
@WolfgangFahl
Copy link
Owner Author

see zauberzeug/nicegui#3231

@WolfgangFahl WolfgangFahl added this to the 0.16.1 milestone Jul 27, 2024
@WolfgangFahl
Copy link
Owner Author

zauberzeug/nicegui#3028

@WolfgangFahl WolfgangFahl modified the milestones: 0.16.1, 0.17.0 Jul 31, 2024
@WolfgangFahl
Copy link
Owner Author

Error: maximum recursion depth exceeded in comparison | Log Record: <LogRecord: nicegui, 30, /home/wf/source/python/ngdemo/.venv/lib/python3.10/site-packages/nicegui/helpers.py, 20, "Client has been deleted but is still being used. This is most likely a bug in your application code. See https://github.com/zauberzeug/nicegui/issues/3028 for more information.">

@WolfgangFahl
Copy link
Owner Author

WolfgangFahl commented Aug 13, 2024

Use ui.log properly in a failsafe way

WolfgangFahl added a commit that referenced this issue Aug 14, 2024
WolfgangFahl added a commit that referenced this issue Aug 16, 2024
WolfgangFahl added a commit that referenced this issue Aug 16, 2024
WolfgangFahl added a commit that referenced this issue Aug 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant