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

Desktop app can't be automatically re-opened by the dx serve #3322

Open
Andrew15-5 opened this issue Dec 10, 2024 · 2 comments · May be fixed by #3323
Open

Desktop app can't be automatically re-opened by the dx serve #3322

Andrew15-5 opened this issue Dec 10, 2024 · 2 comments · May be fixed by #3323

Comments

@Andrew15-5
Copy link
Contributor

When re-opening or re-building the app on Linux, it shows:

14:43:17 [dev] Build failed: Other(Failed to write main executable

Caused by:
    0: I/O Error: Text file busy (os error 26)
    1: Text file busy (os error 26))

Steps To Reproduce

Steps to reproduce the behavior:

  • create a Dioxus app for desktop platform
  • run dx serve on Linux/Unix-like system
  • re-open/re-build the app
  • see the error

Expected behavior

No errors.

Screenshots

image

Environment:

  • Dioxus version: 0.6
  • Rust version: rustc 1.83.0-nightly (fb4aebddd 2024-09-30)
  • OS info: Pop!_OS 22.04 LTS
  • App platform: desktop
@kingzcheung
Copy link

I'm encountering the same issue.

@Andrew15-5
Copy link
Contributor Author

I've rebased #3323 onto v0.6.1, so you can use it with all the latest updates.

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

Successfully merging a pull request may close this issue.

2 participants