Kacper
Kacper
like the video component, it is not needed all the time and may add weight to the app, for example if someone is making an app that doesn't use charts...
this may help: https://github.com/flet-dev/flet/issues/2416
unfortunately, this bug also applies to "clean" flet window, someone on discord mentioned this bug but unfortunately this error affects only a few people ( including me )
so maybe you could write about this bug on discord, maybe one of devs will fix it if you mention it again
The only thing I know about this bug is that this bug is random ( sometimes it happens and sometimes it doesn't ) and that it only affects windows users
> File "C:\Users\Muddassir Farooq\AppData\Local\Programs\Python\Python312\Lib\concurrent\futures\thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Muddassir Farooq\AppData\Local\Programs\Python\Python312\Lib\site-packages\flet_core\page.py", line 528, in wrapper handler(*args) File "c:\Users\Muddassir Farooq\Desktop\Python Projects\Flet Projects\Ambassadors\test.py", line 9, in handle_click...
> await asyncio.get_running_loop().run_in_executor( File "C:\Users\Muddassir Farooq\AppData\Local\Programs\Python\Python312\Lib\concurrent\futures\thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "c:\Users\Muddassir Farooq\Desktop\Python Projects\Flet Projects\Ambassadors\test.py", line 10, in main cam := ft.Camera( ^^^^^^^^^ AttributeError: module...
> doesnt work, with both png and jpg you have to use image with `.ico` extension
@ndonkoHenri I found an bug with `page.window.icon`, absolute path to the icon has to be provide, e.g. instead of `page.window.icon = "assets/icon.ico"` you have to use `page.window.icon = "C:/Users///assets/icon.ico"`
> @Kacper-OS, will you mind giving the latest prerelease a try?: https://pypi.org/project/flet/#history sorry but it looks like it still doesn't work