Troubleshooting Guide¶
This guide helps you resolve common issues with FMU Manipulation Toolbox.
Installation Issues¶
❌ Command fmutool not found¶
Symptom:
Cause: Python scripts directory is not in PATH.
Solution:
Windows:
# Find scripts path
python -m site --user-base
# Add %APPDATA%\Python\Python3X\Scripts to your PATH
# Or use directly:
python -m fmu_manipulation_toolbox.fmutool -h
Linux/macOS:
# Add to PATH in ~/.bashrc or ~/.zshrc
export PATH="$HOME/.local/bin:$PATH"
# Reload
source ~/.bashrc
Modification Issues¶
❌ Modifications not applied¶
Symptom: Output FMU is identical to original.
Cause: Missing -output option
Solution:
# ❌ INCORRECT (no save)
fmutool -input module.fmu -remove-toplevel
# ✅ CORRECT
fmutool -input module.fmu -remove-toplevel -output module-modified.fmu
❌ CSV renaming error¶
Symptom:
Solutions:
- Incorrect CSV format
# Generate correct CSV first
fmutool -input module.fmu -dump-csv ports.csv
# Verify format (must contain: name;newName;...)
head ports.csv
- File encoding
CSV must be UTF-8 encoded with semicolon (;) separator
- Missing names in CSV
❌ Name collision after modification¶
Symptom:
Cause: Two different variables have the same new name.
Solution:
Check your renaming CSV:
# ❌ INCORRECT (two variables → same name)
Motor.Temperature;Temperature;0;output;continuous
Controller.Temperature;Temperature;1;output;continuous
# ✅ CORRECT (distinct names)
Motor.Temperature;Motor_Temperature;0;output;continuous
Controller.Temperature;Controller_Temperature;1;output;continuous
GUI Issues¶
❌ GUI won't launch¶
Symptom:
Solution:
Python API Issues¶
❌ Operations don't modify the FMU¶
Wrong code:
from fmu_manipulation_toolbox.operations import FMU, OperationStripTopLevel
fmu = FMU("module.fmu")
operation = OperationStripTopLevel()
# ❌ Operation not applied!
fmu.repack("output.fmu")
Correct code:
from fmu_manipulation_toolbox.operations import FMU, OperationStripTopLevel
fmu = FMU("module.fmu")
operation = OperationStripTopLevel()
fmu.apply_operation(operation) # ✅ Apply the operation!
fmu.repack("output.fmu")
Need More Help?¶
- Check the complete documentation
- Search GitHub Issues
- Create a new issue with system details and error message
Last updated: February 2026