{"record":{"id":"55fc3a9fda28444d","repo":"DioxusLabs/dioxus","slug":"appimage-was-not-created-expected-at-linuxdep","errorCode":null,"errorMessage":"AppImage was not created. Expected at: {}\nlinuxdeploy stdout:\n{}\nlinuxdeploy stderr:\n{}","messagePattern":"AppImage was not created\\. Expected at: (.+?)\nlinuxdeploy stdout:\n(.+?)\nlinuxdeploy stderr:\n(.+?)","errorType":"exception","errorClass":"anyhow::Error","httpStatus":null,"severity":"error","filePath":"packages/cli/src/bundler/linux.rs","lineNumber":112,"sourceCode":"            );\n        }\n\n        if !appimage_path.exists() {\n            let found = find_appimage_output(&output_dir, &name)?;\n            if let Some(found_path) = found {\n                if found_path != appimage_path {\n                    fs::rename(&found_path, &appimage_path).with_context(|| {\n                        format!(\n                            \"Failed to rename {} to {}\",\n                            found_path.display(),\n                            appimage_path.display()\n                        )\n                    })?;\n                }\n            } else {\n                let stdout = String::from_utf8_lossy(&output.stdout);\n                let stderr = String::from_utf8_lossy(&output.stderr);\n                bail!(\n                    \"AppImage was not created. Expected at: {}\\nlinuxdeploy stdout:\\n{}\\nlinuxdeploy stderr:\\n{}\",\n                    appimage_path.display(),\n                    stdout.trim(),\n                    stderr.trim()\n                );\n            }\n        }\n\n        let _ = fs::remove_dir_all(&appdir);\n\n        tracing::info!(\"Created AppImage: {}\", appimage_path.display());\n        Ok(vec![appimage_path])\n    }\n\n    /// Build a Debian `.deb` package entirely in Rust.\n    ///\n    /// The Debian bundler does not shell out to `dpkg-deb`. Instead it assembles the\n    /// archive directly from its three standard members:","sourceCodeStart":94,"sourceCodeEnd":130,"githubUrl":"https://github.com/DioxusLabs/dioxus/blob/24f6a829df0dfa203961a98ea4cae21c2ff27e28/packages/cli/src/bundler/linux.rs#L94-L130","documentation":"After linuxdeploy ran, neither the expected AppImage path nor any discoverable AppImage output existed in the output directory. The tool reported success or was relocated, so the fallback search failed and the bundler bails with the expected path and tool logs.","triggerScenarios":"Thrown at packages/cli/src/bundler/linux.rs:112 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["linuxdeploy did not produce the AppImage. Check its stdout and stderr output and ensure it completed without errors."],"exampleFix":null,"handlingStrategy":"fallback","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"24f6a829df0dfa203961a98ea4cae21c2ff27e28","analyzedAt":"2026-08-23T07:10:14.078Z","contentChangedAt":"2026-08-23T07:10:14.078Z","schemaVersion":2},"datasetVersion":"2026-09-14T05:17:10.506Z"}