Skip to content

\\idna\\uts46data.py error FormatException: Missing extension byte (at offset 14629) #91

Description

@SebastianSosa

I am building a Flet APK on my Windows machine with the following command:
flet build apk --include-packages flet_audio -vv

I get the following error:

Listing 'C:\\Users\\SSosa\\AppData\\Local\\Temp\\serious_python_temp4c31557\\__pypackages__\\httpx-0.27.0.dist-info'...       
Listing 'C:\\Users\\SSosa\\AppData\\Local\\Temp\\serious_python_temp4c31557\\__pypackages__\\httpx-0.27.0.dist-info\\licenses'...
Listing 'C:\\Users\\SSosa\\AppData\\Local\\Temp\\serious_python_temp4c31557\\__pypackages__\\idna'...
Compiling 'C:\\Users\\SSosa\\AppData\\Local\\Temp\\serious_python_temp4c31557\\__pypackages__\\idna\\__init__.py'...
Compiling 'C:\\Users\\SSosa\\AppData\\Local\\Temp\\serious_python_temp4c31557\\__pypackages__\\idna\\codec.py'...
Compiling 'C:\\Users\\SSosa\\AppData\\Local\\Temp\\serious_python_temp4c31557\\__pypackages__\\idna\\compat.py'...
Compiling 'C:\\Users\\SSosa\\AppData\\Local\\Temp\\serious_python_temp4c31557\\__pypackages__\\idna\\core.py'...
Compiling 'C:\\Users\\SSosa\\AppData\\Local\\Temp\\serious_python_temp4c31557\\__pypackages__\\idna\\idnadata.py'...
Compiling 'C:\\Users\\SSosa\\AppData\\Local\\Temp\\serious_python_temp4c31557\\__pypackages__\\idna\\intranges.py'...
Compiling 'C:\\Users\\SSosa\\AppData\\Local\\Temp\\serious_python_temp4c31557\\__pypackages__\\idna\\package_data.py'...      
Compiling 'C:\\Users\\SSosa\\AppData\\Local\\Temp\\serious_python_temp4c31557\\__pypackages__\\idna\\uts46data.py'...
Error: FormatException: Missing extension byte (at offset 14629)
Deleting temp directory C:\Users\SSosa\AppData\Local\Temp\serious_python_temp4c31557
Deleting sitecustomize directory C:\Users\SSosa\AppData\Local\Temp\serious_python_sitecustomized31f554f
Deleting Python directory C:\Users\SSosa\AppData\Local\Temp\hostpython3.11_bb67a6ce
Deleting Flutter bootstrap directory C:\Users\SSosa\AppData\Local\Temp\flet_flutter_build_PwHhwAjvdj
Flet app package app/app.zip was not created.

I have the following dependences:
import os
import shutil
import random

I am running flet 0.23.0.dev2913 and flutter 3.22.1, Dart 3.4.1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions