-
Notifications
You must be signed in to change notification settings - Fork 454
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
FletSocketServer
Error
#2781
Comments
@kXborg thanks for reporting, we will have a look. |
@kXborg I am not getting that error with the latest pre (0.21.0dev2459 on macOS+py3.11). |
I'm having this problem using Flet 0.21.1
I'm just trying to run boiler plate
running in ubuntu on WSL |
I have the same error here, running the boilerplate from the docs, and I also get the exact same error as @Marmaduke1st I am running Python 3.11.7 on Arch, installed flet with pip install, in virtual env, here are the version that got installed:
and error is :
|
This issue might be Linux-specific. |
argeed, works in windows |
ok so I figure the source of the issue, it's actually the result of library dependencies (in my case it was linked to libmpv, and as far as I can see in @Marmaduke1st case it's linked to a gtk missing dependancy) I created a separate issue #2823 (because in my case I did have the libraries, just some versioning issue which I fixed some hacky solution.) |
I had the same error, in ubuntu, I solved it doing : sudo apt-get install libmpv1 |
I'll do my best to checking asap |
Thanks, this worked for me |
Con confirm that this worked for me as well. Ubuntu 22.04 LTS (Pop!_OS - Gnome) |
nah, windows 10 also has this problem |
This issue has already been fixed. |
* Fix "_FletSocketServer__receive_loop_task" error on Linux Fix flet-dev#2781 * Replace deprecated `datetime.utcnow()` with `datetime.now(UTC)` Fix flet-dev#2827 * Fix a call to `self.__executor.shutdown` for Python 3.8 Fix flet-dev#2825 * Use `timezone.utc` instead of `datetime.UTC` * Add client IP and user agent to a session ID To make session ID hijacking harder * Generate crypto-strong strings * Flet version bumped to 0.21.2 * Ensure control exists in _process_remove_command * Store session ID in SessionStorage instead of window.name We've been storing sessionID in window.name because of flet-dev#1629. However, `window.name` is not preserved in mobile Safari during OAuth session. It looks like Flutter has fixed that in launchUrl() (https://github.com/flutter/packages/blob/main/packages/url_launcher/url_launcher_web/lib/url_launcher_web.dart#L87) https://stackoverflow.com/a/73821739/1435891 * Changelog updated
@ndonkoHenri , flet pre release has some issues. Not able to run any script. Not even the example code from tutorials.
...
System: Windows 11, Python=3.11, Conda environment.
Ursprünglich gepostet von @kXborg in #2251 (comment)
The text was updated successfully, but these errors were encountered: