slint-ui/slint · error · std::io::Error

NotFound

NotFound

Error message

File not found

What it means

Error "File not found" thrown in slint-ui/slint.

Source

Thrown at internal/live-preview/remote/connection.rs:373

                                            if !is_supported(&url) {
                                                continue;
                                            }
                                            file_cache.remove(&url);
                                            if dependencies.lock().unwrap().contains(&url) {
                                                debounce_deadline = Some(
                                                    tokio::time::Instant::now() + REBUILD_DEBOUNCE,
                                                );
                                            }
                                        }
                                        LspToPreviewMessage::ForgetFile { url } => {
                                            if !is_supported(&url) {
                                                continue;
                                            }
                                            if let Some((_, CacheEntry::Loading(senders))) =
                                                file_cache.remove(&url)
                                            {
                                                for sender in senders {
                                                    let _ = sender.send(Err(std::io::Error::new(
                                                        std::io::ErrorKind::NotFound,
                                                        "File not found",
                                                    )));
                                                }
                                            }
                                            if dependencies.lock().unwrap().contains(&url) {
                                                debounce_deadline = Some(
                                                    tokio::time::Instant::now() + REBUILD_DEBOUNCE,
                                                );
                                            }
                                        }
                                        LspToPreviewMessage::SetContents { url, contents } => {
                                            tracing::debug!(
                                                "Inserting file {} with {} bytes.",
                                                url.url(),
                                                contents.len()
                                            );
                                            if !is_supported(url.url()) {

View on GitHub (pinned to 3fd8f2ec03)

Solutions

  1. Verify the requested file exists on the remote side.
  2. Check the file path spelling.

When it happens

Trigger: Thrown at internal/live-preview/remote/connection.rs:373 when the library encounters an invalid state.

Common situations: See trigger scenarios.

Understand the failure class

Background: "Not Found" / HTTP 404 Errors: What They Mean and How to Fix Them Across Libraries — this error's family across 6 libraries.


AI-assisted analysis of slint-ui/slint@3fd8f2ec03 (2026-08-19). Data as JSON: /api/errors/17abc67a42674e05. Report an issue: GitHub.