Troubleshooting
This guide covers common issues and their solutions. If you don’t find your issue here, please open a GitHub issue.
Installation Issues
Section titled “Installation Issues””App is damaged and can’t be opened”
Section titled “”App is damaged and can’t be opened””This is a macOS Gatekeeper issue, not actual damage.
Solution:
xattr -cr /Applications/MLOps\ Desktop.appThen try opening the app again.
App crashes on launch
Section titled “App crashes on launch”-
Check that you’re running macOS 12 or later:
Terminal window sw_vers -
Check Console.app for crash logs:
- Open Console.app
- Search for “MLOps Desktop”
- Look for recent crash reports
-
Try downloading the latest version from GitHub Releases
-
If issues persist, delete preferences and try again:
Terminal window rm -rf ~/Library/Application\ Support/com.mlops.desktop
“Developer cannot be verified”
Section titled ““Developer cannot be verified””- Right-click the app in Finder
- Select Open
- Click Open in the dialog
- The app will now open normally in the future
Python Issues
Section titled “Python Issues””Python not found”
Section titled “”Python not found””The app can’t locate a Python installation.
Solution:
-
Check if Python is installed:
Terminal window python3 --version -
If not installed, install via Homebrew:
Terminal window brew install python@3.11 -
Configure the path in the app:
- Click the Python path in the toolbar
- Enter the correct path (e.g.,
/opt/homebrew/bin/python3)
“Module not found” errors
Section titled ““Module not found” errors”A required Python package isn’t installed.
Common packages needed:
pip3 install scikit-learn pandas numpy optuna shap matplotlib“Permission denied” when installing packages
Section titled ““Permission denied” when installing packages”# Use --user flagpip3 install --user package-name
# Or with Homebrew Pythonpip3 install --break-system-packages package-nameWrong Python version detected
Section titled “Wrong Python version detected”The app might find the wrong Python.
-
Find the correct Python path:
Terminal window which python3# or/opt/homebrew/bin/python3 --version # Homebrew on Apple Silicon/usr/local/bin/python3 --version # Homebrew on Intel -
Click the Python path in the toolbar
-
Enter the correct path
-
Press Enter to save
Pipeline Issues
Section titled “Pipeline Issues”Pipeline won’t run
Section titled “Pipeline won’t run”Check these first:
- All nodes are connected
- DataLoader has a valid file path
- Target column exists in the data
- Python path is configured correctly
”Column not found” error
Section titled “”Column not found” error”The target column name doesn’t match your data.
Solution:
- Click the DataLoader node
- Check the column names in the preview
- Update the Trainer’s target column to match exactly (case-sensitive)
“Not enough samples”
Section titled ““Not enough samples””Your dataset is too small for the train/test split.
Solution:
- Use a smaller test_size (e.g., 0.1 instead of 0.2)
- Add more data to your dataset
- For very small datasets (fewer than 50 rows), consider using cross-validation instead
Training is stuck or slow
Section titled “Training is stuck or slow”-
Check the output panel for progress messages
-
For large datasets:
- Reduce
n_estimatorsfor Random Forest - Use a simpler model (Logistic Regression)
- Sample your data first with a Script node
- Reduce
-
For hyperparameter tuning:
- Reduce number of trials
- Use Random search instead of Grid search
-
Click Stop if needed and adjust settings
Pipeline results are inconsistent
Section titled “Pipeline results are inconsistent”Set a random_state for reproducibility:
- Click the Trainer node
- Set Random State to a fixed number (e.g., 42)
- Re-run the pipeline
Data Issues
Section titled “Data Issues””Failed to load file”
Section titled “”Failed to load file””-
Check the file path is correct
-
Verify the file exists:
Terminal window ls -la /path/to/your/file.csv -
Check file permissions:
Terminal window chmod 644 /path/to/your/file.csv -
For CSV files, ensure it’s UTF-8 encoded
”Memory error” with large files
Section titled “”Memory error” with large files”Your file is too large for available RAM.
Solutions:
-
Sample the data:
# In a Script nodedf = df.sample(frac=0.1) # Use 10% of data -
Convert to Parquet format (smaller, faster)
-
Close other applications to free memory
-
Use a machine with more RAM
Encoding issues with CSV
Section titled “Encoding issues with CSV”Convert to UTF-8:
iconv -f ISO-8859-1 -t UTF-8 input.csv > output.csvOr detect encoding:
file -I your_file.csvUI Issues
Section titled “UI Issues”Nodes disappear off canvas
Section titled “Nodes disappear off canvas”- Press Cmd + 1 to fit all nodes in view
- Or zoom out with Cmd + scroll
- Or reset zoom with Cmd + 0
Properties panel is empty
Section titled “Properties panel is empty”Click on a node to select it. The properties panel shows settings for the selected node.
Output panel shows nothing
Section titled “Output panel shows nothing”- Run the pipeline first
- Click on a node to see its specific output
- Check the “All” tab to see combined output
UI feels slow
Section titled “UI feels slow”- Close unused pipelines
- Reduce number of nodes on canvas
- Clear run history if it’s very long
- Restart the app
Save/Load Issues
Section titled “Save/Load Issues””Failed to save pipeline”
Section titled “”Failed to save pipeline””-
Check disk space:
Terminal window df -h -
Verify the app data directory exists:
Terminal window ls ~/Library/Application\ Support/com.mlops.desktop/ -
Check file permissions:
Terminal window ls -la ~/Library/Application\ Support/com.mlops.desktop/
Pipeline loads with errors
Section titled “Pipeline loads with errors”If a pipeline references files that have moved:
- Open the pipeline
- Update the DataLoader file paths
- Re-save the pipeline
Lost my pipelines
Section titled “Lost my pipelines”Pipelines are stored in:
~/Library/Application Support/com.mlops.desktop/If you accidentally deleted this folder, the pipelines cannot be recovered (unless you have a backup).
SHAP/Explainability Issues
Section titled “SHAP/Explainability Issues””SHAP not available”
Section titled “”SHAP not available””Install SHAP:
pip3 install shapIf installation fails, you may need Xcode command line tools:
xcode-select --installpip3 install shapSHAP is very slow
Section titled “SHAP is very slow”SHAP can be slow on large datasets.
Solutions:
-
Use a smaller sample:
# SHAP will use a sample automatically for large datasets -
Use TreeExplainer for tree-based models (faster than KernelExplainer)
-
Reduce the number of samples to explain
Getting More Help
Section titled “Getting More Help”Check the logs
Section titled “Check the logs”Application logs are stored at:
~/Library/Logs/com.mlops.desktop/Report a bug
Section titled “Report a bug”- Go to GitHub Issues
- Click “New Issue”
- Include:
- macOS version (
sw_vers) - Python version (
python3 --version) - Steps to reproduce
- Error messages from the output panel
- Screenshots if helpful
- macOS version (
Request a feature
Section titled “Request a feature”Open a GitHub Discussion to propose new features.