Troubleshooting Guide¶
Common issues and solutions for FiberPath installation and usage.
Installation Issues¶
Desktop GUI Won't Install (macOS)¶
Symptom: "FiberPath.app can't be opened because it is from an unidentified developer"
Cause: macOS Gatekeeper blocks unsigned applications.
Solution:
- Right-click the
.dmgor.appfile - Select "Open" from context menu
- Click "Open Anyway" in the dialog
- Go to System Settings → Privacy & Security if needed
- Click "Open Anyway" next to the security warning
Future: Code signing will be added in v0.6.0 to eliminate this step.
Desktop GUI Won't Install (Windows)¶
Symptom: Windows Defender or antivirus flags installer as suspicious
Cause: PyInstaller-frozen executables sometimes trigger false positives due to packing behavior.
Solution:
- Verify download is from official GitHub Releases
- Check file hash matches release notes (if provided)
- Add exception in Windows Defender:
- Windows Security → Virus & threat protection → Manage settings
- Add exclusion for download folder or installed app
- Alternatively, install via
.msi(may be trusted more than.exe)
Note: This is a known limitation of unsigned executables. Code signing planned for v0.6.0.
Linux .deb Installation Fails¶
Symptom: dpkg: dependency problems prevent configuration
Cause: Missing system dependencies for GTK/WebKit.
Solution:
# Ubuntu/Debian
sudo apt update
sudo apt install -f # Fix broken dependencies
sudo apt install libwebkit2gtk-4.1-0 libappindicator3-1
# Then retry
sudo dpkg -i fiberpath_0.5.1_amd64.deb
AppImage Won't Run (Linux)¶
Symptom: "Permission denied" or "cannot execute binary file"
Cause: Execute permissions not set.
Solution:
chmod +x fiberpath_0.5.1_amd64.AppImage
./fiberpath_0.5.1_amd64.AppImage
FUSE Requirement: Some older Linux systems require FUSE for AppImage:
# Ubuntu/Debian
sudo apt install fuse libfuse2
# Fedora
sudo dnf install fuse fuse-libs
Python CLI Installation (pip install fiberpath)¶
Symptom: ImportError: No module named 'fiberpath'
Cause: Package not installed or wrong Python environment active.
Solution:
# Verify pip is using correct Python
python --version
pip --version
# Install/reinstall
pip install --upgrade fiberpath
# Or with uv (recommended)
uv pip install fiberpath
# For development
pip install -e .[dev,cli,api]
Runtime Issues¶
CLI Not Found (Desktop GUI)¶
Symptom: "FiberPath CLI not found" error when trying to plan/simulate
Cause: This should NOT happen in v0.5.1+ (CLI is bundled). If it does:
Solution:
- Verify installation: Reinstall from fresh download
- Check integrity: On Windows, look for
resources\_up_\bundled-cli\fiberpath.exe - Antivirus interference: Some security software quarantines executables—check antivirus logs
- Report bug: File an issue with:
- Platform (Windows/macOS/Linux)
- Installer type (.msi/.exe/.dmg/.deb/.AppImage)
- Installation directory
- Error message screenshot
Serial Port Not Detected¶
Symptom: No ports appear in Stream tab dropdown
Windows:
- Verify device shows in Device Manager under "Ports (COM & LPT)"
- Install USB serial driver if needed:
- CH340/CH341: Download driver
- FTDI: Download driver
- CP210x: Usually automatic on Windows 10+
macOS:
- Check
/dev/tty.usbserial-*or/dev/cu.usbserial-*exist:ls /dev/tty.usb* - Install driver if needed (CH340, FTDI, etc.)
- Grant permissions: System Settings → Privacy & Security → USB
Linux:
- Check
/dev/ttyUSB*or/dev/ttyACM*exist:ls /dev/ttyUSB* /dev/ttyACM* - Add user to
dialoutgroup (REQUIRED):sudo usermod -a -G dialout $USER # Log out and back in for changes to take effect - Verify permissions:
groups # Should show 'dialout' in list
Connection Timeout (Marlin Streaming)¶
Symptom: "Failed to connect" or timeout when clicking Connect
Solutions:
- Verify hardware: Check device is powered and USB cable connected
- Try different port: Some Marlin boards expose multiple serial interfaces
- Check baud rate: Most Marlin firmware uses 115200 or 250000
- Reset device: Unplug/replug USB or press reset button
- Close other apps: Ensure no other software (Arduino IDE, Pronterface, OctoPrint) is using the port
Validation Errors in .wind File¶
Symptom: "Validation failed" with cryptic error messages
Solutions:
- Check JSON syntax: Use a JSON validator (jsonlint.com)
- Verify schema version: Must include
"schemaVersion": "1.0" - Use camelCase: Properties must use
windAnglenotwind_angle - Required fields: Ensure all mandatory fields present (mandrelParameters, towParameters, layers)
- See schema docs: Wind Format Guide for complete specification
G-code Generation Fails¶
Symptom: Plan command fails with error
Common causes:
- Invalid pattern number: Must divide evenly into mandrel circumference
- Wind angle out of range: Helical angles typically 15-75 degrees
- Mandrel dimensions: Check diameter > 0, windLength > 0
- Layer conflicts: Verify skip indices don't exceed pattern number
Debug:
# Use CLI for detailed error output
fiberpath plan input.wind -o test.gcode --verbose
Performance Issues¶
Slow Planning/Simulation¶
Expected: Large, complex patterns take time (10,000+ lines of G-code)
If extremely slow (>30 seconds for simple patterns):
- Check system resources: Task Manager (Windows), Activity Monitor (macOS),
htop(Linux) - Antivirus scanning: Some security software scans every file operation—add FiberPath to exclusions
- SSD vs HDD: Temp file operations are slower on spinning disks
GUI Sluggish or Unresponsive¶
- Restart application: Memory leaks fixed in v0.5.0 but restart if issues persist
- Reduce preview scale: Lower scale values (0.3-0.5) generate smaller images faster
- Close unnecessary tabs: Minimize active visualizations
- Check system RAM: GUI requires minimum 4 GB available
Platform-Specific Quirks¶
Windows¶
- Console window flash: Fixed in v0.5.1, but some users report brief flash on startup—this is harmless
- Path length limits: Windows has 260 character path limit—install to shorter directory if issues occur
- Windows Defender SmartScreen: May block first run—click "More info" → "Run anyway"
macOS¶
- Keyboard shortcuts: Use
CmdnotCtrl(Cmd+S, Cmd+O, etc.) - Retina displays: UI may appear small on high-DPI screens—adjust system scaling if needed
- Touch Bar: Not currently supported on MacBook Pro (planned for future)
Linux¶
- Wayland vs X11: Tested on both, some themes may render differently
- Desktop environments: Tested on GNOME, KDE, XFCE—others should work but report issues
- AppImage FUSE: Older systems need FUSE installed, newer systems work without it
Getting Help¶
Still stuck?
- Check documentation: Getting Started, Guides
- Search issues: GitHub Issues
- File a bug report: Include:
- Platform and version (Windows 11, macOS 14, Ubuntu 22.04, etc.)
- FiberPath version (Help → About in GUI, or
fiberpath --version) - Steps to reproduce
- Error messages (screenshots helpful)
.windfile if planning issues (attach or paste)
For development issues: See Contributing Guide