Skip to content
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

Linux exectuable not working #4520

Open
1 task done
mfxbe opened this issue Dec 7, 2024 · 4 comments
Open
1 task done

Linux exectuable not working #4520

mfxbe opened this issue Dec 7, 2024 · 4 comments
Assignees

Comments

@mfxbe
Copy link

mfxbe commented Dec 7, 2024

Duplicate Check

Describe the bug

After updating to flet 0.25, the Linux executable (result of flet build linux) stopped working. When started, the process starts (the application "runs"), but nothing happens, neither a window opens nor an error is displayed.

flet run on the other hand works just fine.

Code sample

Code

main.py

import flet as ft

def main(page: ft.Page):
        page.title = "Test"
        page.update()


ft.app(main)

To reproduce

  1. Build with flet build linux
  2. Run the returned executable
  3. (optional) wait a long time

Expected behavior

A empty window opening or an error displaying.

Screenshots / Videos

Captures

[Upload media here]

Operating System

Linux

Operating system details

Debian sid

Flet version

0.25.1

Regression

Yes, it used to work in a previous Flet version (please specify the version in additional details)

Suggestions

No response

Logs

Logs

Running:
nothing

Build:
log.txt

Additional details

Does also not work in version 0.25.0 and the 0.26 builds.

Worked fine in 0.24.1.

@FeodorFitsner
Copy link
Contributor

What Python dependencies does the app have?

@mfxbe
Copy link
Author

mfxbe commented Dec 7, 2024

None but flet itself. I tried it with a completely new and empty project.

@luisrdm1
Copy link

luisrdm1 commented Dec 7, 2024

On Windows 10 or 11, it happens a bit different. A blank screen opens and nothing else happens. It doesn't give me any errors, the screen just stays blank. At my computer, it's not always, though, which makes it even weirder. Thinking about posting an issue, but need to make more troubleshooting first.

Not built version is working fine.

@cheny09
Copy link

cheny09 commented Dec 10, 2024

I have the same problem, in Linux it doesn't open or do anything, and in Windows it's a white screen without errors.

@FeodorFitsner FeodorFitsner self-assigned this Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants