[Question]flet build error #2640
Answered
by
FeodorFitsner
AthenaRoland
asked this question in
Q&A
-
QuestionCode sampleNo response Error messageTraceback (most recent call last):
File "<string>", line 40, in <module>
File "<frozen runpy>", line 229, in run_module
File "<frozen runpy>", line 88, in _run_code
File "C:\Users\31198\AppData\Local\Temp\serious_python_temp98f21ad9\main.py", line 805, in <module>
File "C:\Users\31198\AppData\Local\Temp\serious_python_temp98f21ad9\__pypackages__\flet_runtime\app.py", line 91, in app
File "C:\Users\31198\AppData\Local\Temp\serious_python_temp98f21ad9\__pypackages__\flet_runtime\app.py", line 128, in __app_sync
File "C:\Users\31198\AppData\Local\Temp\serious_python_temp98f21ad9\__pypackages__\flet_runtime\app.py", line 385, in __connect_internal_sync
File "C:\Users\31198\AppData\Local\Temp\serious_python_temp98f21ad9\__pypackages__\flet_runtime\sync_local_socket_connection.py", line 72, in connect
File "C:\Users\31198\AppData\Local\Temp\serious_python_temp98f21ad9\__pypackages__\flet_runtime\sync_local_socket_connection.py", line 158, in __connection_loop
File "C:\Users\31198\AppData\Local\Temp\serious_python_temp98f21ad9\__pypackages__\flet_runtime\sync_local_socket_connection.py", line 82, in __on_message
TypeError: RegisterWebClientRequestPayload.__init__() missing 1 required positional argument: 'media' ------------------------------------------------------
|
Beta Was this translation helpful? Give feedback.
Answered by
FeodorFitsner
Feb 17, 2024
Replies: 1 comment 12 replies
-
The new Flet 0.20.0 came yesterday and it has some changes in the API. Two ways to fix the issue you have:
or, if you want to stay on Flet 0.19.0:
|
Beta Was this translation helpful? Give feedback.
12 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Upgrade Flutter to 3.19 (
flutter upgrade --force
).Upgrade Flet to 0.20.1