You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to build an app using 'flet build windows -vv' and it is hanging repeatedly part way through compiling packages into the serious_python temp folder.
If I keyboard interrupt out at any time (I've let it sit a long time and it doesn't move)- I get this in the traceback:
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in run_code
File "C:\Program Files\Python312\Scripts\flet.exe_main.py", line 7, in
File "C:\Users\me\AppData\Roaming\Python\Python312\site-packages\flet\cli\cli.py", line 83, in main
args.handler(args)
File "C:\Users\me\AppData\Roaming\Python\Python312\site-packages\flet\cli\commands\build.py", line 665, in handle
package_result = self.run(
^^^^^^^^^
File "C:\Users\me\AppData\Roaming\Python\Python312\site-packages\flet\cli\commands\build.py", line 814, in run
r = subprocess.run(
^^^^^^^^^^^^^^^
File "C:\Program Files\Python312\Lib\subprocess.py", line 550, in run
stdout, stderr = process.communicate(input, timeout=timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python312\Lib\subprocess.py", line 1201, in communicate
self.wait()
File "C:\Program Files\Python312\Lib\subprocess.py", line 1264, in wait
return self._wait(timeout=timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python312\Lib\subprocess.py", line 1588, in _wait
result = _winapi.WaitForSingleObject(self._handle,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
KeyboardInterrupt
Output of 'flutter doctor':
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.19.0, on Microsoft Windows [Version 10.0.19044.3930], locale en-US)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[X] Android toolchain - develop for Android devices
X Unable to locate Android SDK.
Install Android Studio from: https://developer.android.com/studio/index.html
On first launch it will assist you in installing the Android SDK components.
(or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).
If the Android SDK has been installed to a custom location, please use flutter config --android-sdk to update to that location.
[√] Chrome - develop for the web
[√] Visual Studio - develop Windows apps (Visual Studio Build Tools 2022 17.8.5)
[!] Android Studio (not installed)
[√] VS Code (version 1.86.2)
[√] Connected device (3 available)
[√] Network resources
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Question
I'm trying to build an app using 'flet build windows -vv' and it is hanging repeatedly part way through compiling packages into the serious_python temp folder.
VERBOSE: Compiling 'C:\Users\me\AppData\Local\Temp\serious_python_temp45cc1955\pypackages\mysqlx\protobuf\mysqlx_notice_pb2.py'...
VERBOSE: Compiling 'C:\Users\me\AppData\Local\Temp\serious_python_temp45cc1955\pypackages\mysqlx\protobuf\mysqlx_pb2.py'...
VERBOSE: Compiling 'C:\Users\me\AppData\Local\Temp\serious_python_temp45cc1955\pypackages\mysqlx\protobuf\mysqlx_resultset_pb2.py'...
VERBOSE: Compiling 'C:\Users\me\AppData\Local\Temp\serious_python_temp45cc1955\pypackages\mysqlx\protobuf\mysqlx_session_pb2.py'...
VERBOSE:
VERBOSE: Compiling 'C:\Users\me\AppData\Local\Temp\serious_python_temp45cc1955\pypackages\mysqlx\protobuf\mysqlx_sql_pb2.py'...
VERBOSE: Compiling 'C:\Users\me\AppData\Local\Temp\serious_python_temp45cc1955\pypackages\mysqlx\protobuf\t.py'...
VERBOSE: Compiling 'C:\Users\me\AppData\Local\Temp\serious_python_temp45cc1955\pypackages\mysqlx\protocol.py'...
VERBOSE: Compiling 'C:\Users\me\AppData\Local\Temp\serious_python_temp45cc1955\pypackages\mysqlx\result.py'...
VERBOSE: Compiling 'C:\Users\me\AppData\Local\Temp\serious_python_temp45cc1955\pypackages\mysqlx\statement.py'...
This is the last line.
If I keyboard interrupt out at any time (I've let it sit a long time and it doesn't move)- I get this in the traceback:
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in run_code
File "C:\Program Files\Python312\Scripts\flet.exe_main.py", line 7, in
File "C:\Users\me\AppData\Roaming\Python\Python312\site-packages\flet\cli\cli.py", line 83, in main
args.handler(args)
File "C:\Users\me\AppData\Roaming\Python\Python312\site-packages\flet\cli\commands\build.py", line 665, in handle
package_result = self.run(
^^^^^^^^^
File "C:\Users\me\AppData\Roaming\Python\Python312\site-packages\flet\cli\commands\build.py", line 814, in run
r = subprocess.run(
^^^^^^^^^^^^^^^
File "C:\Program Files\Python312\Lib\subprocess.py", line 550, in run
stdout, stderr = process.communicate(input, timeout=timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python312\Lib\subprocess.py", line 1201, in communicate
self.wait()
File "C:\Program Files\Python312\Lib\subprocess.py", line 1264, in wait
return self._wait(timeout=timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python312\Lib\subprocess.py", line 1588, in _wait
result = _winapi.WaitForSingleObject(self._handle,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
KeyboardInterrupt
Output of 'flutter doctor':
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.19.0, on Microsoft Windows [Version 10.0.19044.3930], locale en-US)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[X] Android toolchain - develop for Android devices
X Unable to locate Android SDK.
Install Android Studio from: https://developer.android.com/studio/index.html
On first launch it will assist you in installing the Android SDK components.
(or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).
If the Android SDK has been installed to a custom location, please use
flutter config --android-sdk
to update to that location.[√] Chrome - develop for the web
[√] Visual Studio - develop Windows apps (Visual Studio Build Tools 2022 17.8.5)
[!] Android Studio (not installed)
[√] VS Code (version 1.86.2)
[√] Connected device (3 available)
[√] Network resources
! Doctor found issues in 2 categories.
I'm running flet 0.20.2
Anyone have any idea what might be causing this?
Code sample
No response
Error message
No response
------------------------------------------------------
Beta Was this translation helpful? Give feedback.
All reactions