-
Notifications
You must be signed in to change notification settings - Fork 484
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
FilePicker crash the flet.app() after open directory dialog and choose one directory #1572
Comments
I roll back to flet==0.7.4, and it work OK. |
I got the same error. Like you, rolling back to a previous version it works. I hope it will be fixed in a future update |
I got the same error. Like you, rolling back to a previous version it works. |
That might be a bug in will take a look. |
miguelpruivo/flutter_file_picker#1317 (comment) Since fallback to version 5.3.1 is valid, why don't the next flet version fallback to file_picker version first? Line 35 in 176d5ef
file_picker: ^5.3.0 → file_picker: 5.3.1 Temporarily locked version @FeodorFitsner |
Refactoring: move part of pick_files_result behavior to accept_dlg
My usage scenario is very special. The flet upgrade from 0.7.4 to 0.8.2 reconstructs a lot of authentication code. I have made my project compatible with the latest version, and it is impossible for them to go back to the old version... So I can only wait for the flet to upgrade to the new version, this is the only way. |
This problem has too great an impact. I really hope you can return the version soon. If this continues, all our users will be lost... @FeodorFitsner |
Sorry for the hassle! I've rolled back file_picker dependency to 5.2.5 and you can try it be installing this Flet pre-release: https://pypi.org/project/flet/0.9.0.dev1620/ Let me know if that worked. |
Thanks for your attention to this issue and understanding our urgency! I just tested that there is no crash problem, but we are still one step away from the release (https://github.com/flet-dev/flet/releases) You need to release the relevant binaries in releases, and users can complete the complete update. |
Published as https://pypi.org/project/flet/0.8.4/ |
Hopefully fix flet-dev#1572, flet-dev#1563, flet-dev#1562
Description
FilePicker crash the flet.app() after open directory dialog and choose one directory
Code example to reproduce the issue:
the code is from project's example: code url
Describe the results you received:
When I click the "Open directory" button, choose a directory and click OK, it would return to the main gui window, but wait for few seconds, the app crash, here is the sreen recording:
bandicam.2023-07-09.19-58-18-966.mp4
Describe the results you expected:
After choose the directory, the app shouldn't crash.
Additional information you deem important (e.g. issue happens only occasionally):
Flet version (
pip show flet
):Operating system:
Windows 10
Additional environment details:
The text was updated successfully, but these errors were encountered: