Error messages
An error means that aXqua could not complete a step. Errors appear in the log files with the level ERROR and in the message bar of the plugin (General tips & logfiles).
Each error belongs to one of five categories. The category determines where to look for the cause:
Category |
Code |
Where to look |
|---|---|---|
Case file |
|
An entry of the case file is missing, misspelled or has an invalid value. |
Geodata |
|
An input layer or raster is missing or lacks a required property. |
Simulation software |
|
TELEMAC or OpenFOAM cannot be reached with the current solver bindings. |
Simulation |
|
The simulation code started and stopped with an error. Read its own output. |
Mesh |
|
The mesh could not be created or is not usable. |
Where aXqua knows a remedy, the error message contains it. For a failed job, the error is stored with its code and its remedy in the file status.json of the job and is shown below the job list of the plugin.
Note
Unique codes for the individual errors within these categories, which link each message to its explanation, are not yet available in this version.
Installation
ModuleNotFoundError: No module named 'axqua'The aXqua program is not installed in the active Python environment. Activate the environment and install aXqua (QGIS plugin). A copy of the repository alone is not sufficient, because the source code lies in the subfolder
src/.ImportError: libjxl.so...: cannot open shared object fileA system library that the geospatial packages require does not match their version. This occurs when packages of different origin are mixed in one environment. Create a new environment that holds Python alone and install aXqua into it with
pip install axqua(QGIS plugin), so that all geospatial packages come from PyPI. In a copy of the repository,environment.ymlserves the same purpose with packages from conda-forge.axqua could not be found(plugin)The plugin did not find the program
axqua. The message lists the three places that were searched. Enter the full path of the program in aXqua > Settings and click Test (QGIS plugin).
Installation of the simulation software
The Check tab of an installation wizard, the Installation tab of a failed installation, and axqua install report the following errors. An installation cannot be started with an error of the Check tab.
there is no installer for this systemThe installer scripts exist for Debian 12, Ubuntu 22.04, Ubuntu 24.04 and Linux Mint 22, and the TELEMAC installer does not cover Ubuntu 22.04. The OpenFOAM installer and the VisIt installer additionally require an x86-64 processor. On a system that is built on one of the supported systems, select the base system under Further settings on the Settings tab of the wizard. Otherwise install the program by hand and enter it in the profile editor (Simulation Software).
TELEMAC and OpenFOAM are installed in the Windows Subsystem for LinuxThe simulation programs do not run in Windows itself. Install a Linux distribution in the Windows Subsystem for Linux and start the installation there (Simulation Software).
the installers refuse to run as the user rootStart QGIS or the terminal as an ordinary user. Administrator rights are needed for the system packages only.
... is a folder of WindowsIn the Windows Subsystem for Linux, a folder below
/mnt/belongs to Windows. Select a folder in the Linux file system, for example in the home folder.
the folder ... has a space in its nameNeither TELEMAC nor OpenFOAM can be built in a folder whose path contains a space. Select another folder.
... cannot be the folder of an installation for all usersAt the end of an installation for all users, the whole installation folder is handed over to the administrator. A folder such as
/optor/usritself, or your home folder, would be handed over with everything else it contains. Select a folder of its own, such as/opt/telemac.
... exists and you cannot write into itThe installation folder of an installation for all users belongs to somebody else and was not made by an installation of aXqua for all users, so aXqua does not take it over. Select a folder that does not exist yet.
... needs the rights of an administratorAn installation for all users needs the password of an administrator before and after the build, and this session could neither open the password dialog of the desktop nor ask in a terminal. This happens to an installation that was started detached, without a desktop. Start it in a terminal with
axqua install start <program> --for-all-users --foreground, or have an administrator run the command that the message names and start the installation again. Nothing has been built at that point.
... exists and was not made by this installerThe OpenFOAM installer installs into a new folder or continues an installation of its own. Select a folder that does not exist yet.
... holds an installation made by another version of the installer or against another OpenFOAMThe OpenFOAM installer continues only what the same version of it started with the same OpenFOAM. Open the wizard with Install OpenFOAM…, answer Yes to the question whether to install again, and select Remove the existing installation and install it again in its folder, or select a new folder.
there is no earlier installation to remove: ...Remove the existing installation was selected for a folder that holds no installation that an installer of aXqua made. aXqua removes only such installations. Select the folder of the existing installation, or install into a new folder.
the SALOME archive ... does not existorthe OpenFOAM environment script ... does not existA file that was selected on the Settings tab of the wizard is not on this computer. Select it again, or clear the field.
... belongs to OpenFOAM release ...The sediment transport solvers are built for OpenFOAM v2406 and the selected installation is another version. Select the file
etc/bashrcof OpenFOAM v2406, or let the wizard compile OpenFOAM.
the installer scripts could not be downloadedaXqua downloads the TELEMAC installer scripts before it checks the computer and did not reach the repository. The OpenFOAM installer and the source code of Olsen’s solvers are shipped with aXqua and are not downloaded. Verify the internet connection. For a computer without a connection, copy the installer repository onto it and select its folder under Further settings (in a terminal: the environment variable
AXQUA_INSTALLERS).
the OpenFOAM installer does not run with any Python on this computerThe OpenFOAM installer requires a newer Python than the one that runs aXqua, and aXqua found no newer one. Install Python 3.12 or newer, for example with Miniforge, and install aXqua with it.
'...' ended with an errorA step of the installation failed. The message quotes the last lines of the installation log, which normally name the cause, and gives the location of the complete log. Typical causes are a missing system package, an interrupted download and a full drive. Correct the cause and start the installation again with the same folder: the installer continues with what is already downloaded and built.
The lines
remote: Retry lateranderror: 429mean that the download server of TELEMAC temporarily refuses further requests, which occurs after many downloads from one network in a short time. Wait a few minutes and start the installation again.
the installer finished, but did not produce ...The installer reported success, but a program that it should have built is missing, so the build failed in part. Search the installation log for the first line that contains
Error.the program this installation enters in the profile is not on this computerThe installation consists of a package of the operating system, and the package is not installed. Install the system packages that the Check tab of the wizard lists, then start the installation again.
without VisIt, this installation is the system package of ParaView alone, which is not installed yetWith the selection ParaView only, the installation of the postprocessors downloads nothing: ParaView is a package of the operating system, and the wizard only enters it in the profile. Install the system packages that the Check tab lists, which requires administrator rights, and click Check again (ParaView).
the installation ended without a resultThe process of the installation disappeared, typically because the computer was restarted or the user was logged out. Start the installation again with the same folder.
Check of a case
The check of a case (Check on the Case Setup tab, Save in the case settings, or axqua check <case-file>) reports the following errors. The plugin shows each of them as a dark red triangle next to the setting concerned. An error does not prevent saving the case, but the model cannot be built until it is corrected.
... is requiredor... is not setA setting that every case needs is empty, for example the terrain model, the model outline, or the inflow and outflow lines. Select the file in the case settings (Open case settings… on the Case Setup tab).
the file of ... does not existThe case file names a file that is not at the stated location. A path that does not start at the root of the drive is read relative to the folder of the case file. Select the file again in the case settings.
... is not a setting of a caseor... is not a block of a case fileThe case file contains a name that aXqua does not know, in most cases because of a typing error. The message proposes the name that was probably meant. Correct the name in the case file with a text editor.
the case file is not valid YAMLThe structure of the file is damaged, for example by a missing colon or a wrong indentation. The message names the line. Correct it with a text editor. The case settings keep the original of a case file as
<name>.bakthe first time it saves.
the file does not contain the blocks of a caseThe file is valid YAML but not a case file, for example a list. Select the correct file.
the case file cannot be readThe file does not exist or may not be read. Verify the path and the access rights.
Profile of this computer
The check of the profile (Check on the Configuration tab, or axqua profile check) reports the following errors. The plugin shows each of them as a dark red triangle next to the entry concerned. An error does not prevent saving the profile, but the function that depends on the entry does not work until the entry is corrected.
the ... does not exist,the ... launcher ... is not executableorthe ... program was not found in the installation folder ...The profile names a program file that is not on this computer, or that may not be started, or it names an installation folder that does not contain the program. Select the file again in the profile editor.
the environment script of ... does not existThe profile names an environment script that is not on this computer. Select the script of the installation (Define solver bindings).
... cannot be reachedaXqua loaded the environment script and could not start the simulation program. The message states what is missing. Verify in a terminal that the installation works by itself, and that the profile names the environment script of this installation.
the job root ... cannot be written toaXqua cannot create files in the folder for jobs. Select a folder on a drive with write access and sufficient free space.
the launcher must be one of ...,the number of processes must be at least 1and similarAn entry of the profile has a value that is not possible. The message names the entry and the permitted values.
Case file
... unknown config keys [...]A block of the case file contains an entry that aXqua does not know, usually because of a typing error. The message names the block and the entry. Compare the spelling with the commented template of the repository.
telemac.pysource is not setorTELEMAC pysource script not foundaXqua does not know where TELEMAC is installed, or the stated environment script does not exist. Create the profile of the computer with
axqua profile init, or correct its binding for TELEMAC (Define solver bindings).outflow_condition: elevation requires boundaries.prescribed_elevationThe outflow boundary is set to a constant water surface elevation, but no elevation is given. Enter
boundaries.prescribed_elevation, or select another outflow condition (Liquid boundaries).initialization.prewet_depth needs geodata.mesh_zonesThe pre-wetted start fills the channel zones with water and therefore requires a mesh zone layer with a zone whose name contains
channel(Initial conditions).morphodynamics.enabled but no geodata.dem_target / dem_of_difference providedA morphodynamic case requires the measured bed change as reference. Enter a second terrain model or a DEM of difference (Morphodynamic simulation).
Preprocessing and simulations
BAMG failedorFatal error in the meshgeneratorThe mesh generator could not create the mesh, also after repeating the attempt with adapted settings. The edge lengths of neighboring mesh zones differ too strongly. Increase the smallest edge length or enlarge the refinement zone, so that the triangle size can change gradually.
- TELEMAC stops at the first time step with a message of the subroutine
DEBIMP The inflow cross section is dry, so that TELEMAC cannot distribute the discharge over it. Verify that the inflow line lies in the channel and that the water depth of the filled stretch at the inflow (
initialization.dry_start_depth) covers the bed along the entire line.TELEMAC-2D stopped the run ... because a value left its limitsThe water depth or a velocity component left the range that the keyword
LIMIT VALUESof the steering file allows, which is 1000 m/s for the velocity. Such a value is a numerical instability and not a flow. TELEMAC-2D itself ends such a run without an error code, so aXqua reads the stop from the listing and marks the job asFAILED. The message states the quantity, its value, the coordinates of the mesh node, and the simulated time. Inspect the mesh, the bed elevation, and the initial water depth at these coordinates in QGIS. Common causes are a sink or an open boundary on cells that are almost dry, an initial water surface that is far from the steady one, and a time step that is too large (hydrodynamics.desired_courant). Internal exchange lines that are applied as source regions with a fixed rate (boundaries.internal_sources: true) can cause this stop at the first time step, because the discharge is then withdrawn from a narrow strip regardless of the water depth. Use the blockgain_loseinstead, which limits the withdrawal by the water depth (TELEMAC choices).RIGID LID DOES NOT APPLY HEREThe water surface of the TELEMAC result drops in steps that exceed the local water depth, for example at the slots of a fish pass. A fixed lid cannot represent such a water surface. Use
openfoam.mode: voffor this case (OpenFOAM choices).
Jobs
- A job fails immediately after its start
In most cases, the simulation software cannot be reached from the job. Read
runner.logof the job and verify the profile withaxqua profile check(Define solver bindings). Note the warning about the ambient environment (Warning messages): a job does not inherit the settings of the terminal or of QGIS.the 'systemd' launcher is not available on this machineThe Linux user services that aXqua uses by default are not available, which is typical for some remote sessions. Submit the job with the option
--launcher posix, or selectposixunder How jobs are detached in the profile editor of the plugin (Configuration tab).- A job remains in the state
RUNNINGalthough nothing is computed Query the state with
axqua status <job-id>or click Refresh below the job list. aXqua then verifies whether the process still exists and marks the job asFAILEDif it does not, for example after a restart of the computer. The job can be submitted again.
Plugin
- aXqua is missing from the list of installed plugins
QGIS lists a plugin only if it can read the file
metadata.txtin the plugin folder, and it skips a plugin with an unreadable file without a message. Runpython scripts/build_plugin_zip.py --checkin the repository, which reads the file in the same way as QGIS and reports the line that cannot be read.- The tabs of the workflow show only the note to add a case
No case is selected, or the case file could not be read. Add a case on the Case Setup tab. If the tabs remain empty, run
axqua case-status <case-file> --no-writein a terminal to obtain the error message.- A result layer is loaded without colors
The name of a result variable differs from the expected one. The file is intact. Assign the style in the QGIS layer properties.