Troubleshooting
GUI
macOS — “Hydra is damaged and can’t be opened”
Hydra GUI macOS releases are code-signed and notarised. If Gatekeeper still shows this message, the app bundle usually has stale quarantine metadata from the download/copy step.
To open Hydra after installing it to /Applications, run this once in Terminal:
xattr -cr /Applications/Hydra.app
Then open the app normally from Finder or Spotlight.
macOS — App opens but immediately quits
This can happen if the app was launched directly from the .dmg or if macOS retained stale quarantine metadata. Move Hydra.app to /Applications first, then run the xattr -cr command above only if the app still fails to open.
Windows — “Windows protected your PC” (SmartScreen)
Click More info, then Run anyway. SmartScreen warns on unsigned executables. This will be resolved once Hydra’s Windows builds are code-signed.
Linux — AppImage does not open
Make the AppImage executable before running it:
chmod +x Hydra-*.AppImage
./Hydra-*.AppImage
If you see a FUSE-related error, install the required library:
# Ubuntu / Debian
sudo apt install libfuse2
# Fedora
sudo dnf install fuse-libs
“This is a SWMM model, not a water-distribution one”
The .inp extension is shared by EPANET and SWMM, so a file picker cannot tell
them apart — only the parser can. Hydra detected a section the EPANET data model
has no concept of and stopped rather than misreading the file.
Nothing is wrong with the file. It belongs to the urban drainage engine, which
is planned but not yet implemented, so Hydra cannot open it
today. See Foreign .inp dialects.
Canvas features disappear after changing basemap
This should not happen in current releases, but if the map style reload fails on a specific GPU/driver stack, try:
- Switch basemap once more (for example, to No basemap, then back).
- Change to another project tab and return to the canvas.
- Restart Hydra to reset the map renderer.
If the issue keeps reproducing, open an issue and include your OS version, GPU model, and whether it happens on all projects or only specific large networks.
CLI
macOS — “hydra cannot be opened because the developer cannot be verified”
Pre-built macOS CLI binaries are currently not notarised. If this warning appears for a downloaded binary, clear the quarantine attribute and try again:
xattr -d com.apple.quarantine hydra
Then move it to your PATH and run normally.
hydra: command not found
The hydra binary is not on your PATH.
-
If you installed with
cargo install hydra-cli, ensure~/.cargo/binis on yourPATH:export PATH="$HOME/.cargo/bin:$PATH"Add this line to your shell profile (
.bashrc,.zshrc, etc.) to make it permanent. -
If you downloaded a pre-built binary, move it to a directory that is already on your
PATH(e.g./usr/local/binon macOS/Linux).
Exit code 1 — Input error
Hydra could not read or parse the network file. Common causes:
- The file path is wrong or the file does not exist.
- The
.inpfile contains a syntax error. Check the report for the specific line. - A URL was provided but the server returned 4xx. Verify the URL is accessible.
- The file is a SWMM
.inp, not an EPANET one — the diagnostic code isinput/enginerather thaninput/parse. The file is fine; it belongs to an engine Hydra does not yet ship. See Foreign.inpdialects.
Exit code 2 — Solver did not converge
The hydraulic solver could not find a balanced solution for one or more time steps. This usually means the network model itself has an issue:
- Check for isolated nodes or disconnected sub-networks.
- Verify pump curves and valve settings are physically reasonable.
- Try setting
UNBALANCED CONTINUE 10in the[OPTIONS]section to let the simulation proceed past the failing step and produce a partial report for diagnosis.
Exit code 3 — I/O error
Hydra could not write output. Check that the output directory exists and that you have write permission.
Getting Help
If the steps above do not resolve your issue, open a GitHub issue with:
- The Hydra version (
hydra -V) - Your operating system and version
- A minimal
.inpfile that reproduces the problem (if applicable) - The full error message or report output