Bug Description
When opening the Filament Manager on Linux (AppImage), BambuStudio throws the following error:
Error opening file /tmp/.mount_BambuS.../resources/web/device_page/dist/index.html: No such file or directory
The path resources/web/device_page/dist/ is completely missing from the AppImage package, but the binary hardcodes a reference to it:
file://%s/web/device_page/dist/index.html?lang=%s
Environment
- Version: v02.07.00.55 (2.7.0 Public Beta)
- OS: Ubuntu 24.04 (Linux, AppImage)
Steps to Reproduce
- Install BambuStudio v02.07.00.55 AppImage on Ubuntu 24.04
- Open BambuStudio and click on Filament Manager
- Error dialog appears immediately
Expected Behavior
Filament Manager opens and displays filament list correctly.
Actual Behavior
Error dialog about missing device_page/dist/index.html. The directory does not exist in the AppImage.
Root Cause
The web assets for device_page/dist/ were not included in the Linux AppImage package. The fila_manager/ directory is present but is a different page.
Workaround
The device_page/dist/ source files exist in the BambuStudio GitHub repository under resources/web/device_page/. A local build of the web assets can be injected into the AppImage:
# 1. Extract AppImage
./BambuStudio-Beta.AppImage --appimage-extract
# 2. Build device_page assets OR copy pre-built dist from the repo
# (dist/ folder with index.html, assets/, img/ should be available after: cd resources/web/device_page && pnpm install && pnpm build)
cp -r /path/to/BambuStudio/resources/web/device_page/dist squashfs-root/resources/web/device_page/dist
# 3. Repack
ARCH=x86_64 appimagetool squashfs-root BambuStudio-Beta-fixed.AppImage
Reported by @BenJule
Bug Description
When opening the Filament Manager on Linux (AppImage), BambuStudio throws the following error:
The path
resources/web/device_page/dist/is completely missing from the AppImage package, but the binary hardcodes a reference to it:Environment
Steps to Reproduce
Expected Behavior
Filament Manager opens and displays filament list correctly.
Actual Behavior
Error dialog about missing
device_page/dist/index.html. The directory does not exist in the AppImage.Root Cause
The web assets for
device_page/dist/were not included in the Linux AppImage package. Thefila_manager/directory is present but is a different page.Workaround
The
device_page/dist/source files exist in the BambuStudio GitHub repository underresources/web/device_page/. A local build of the web assets can be injected into the AppImage:Reported by @BenJule