Tutorial Troubleshooting QGIS: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 74:
 
===TCF does not exist===
Typos or spaces in the TCF name result in a 'does not exist' message in the DOSconsole window:
<ol>
<li>Check the name of the TCF is referenced correctly in the batch file.
Line 104:
 
=Troubleshooting Steps=
=== Simulation DOSConsole Window Flashes and Disappears ===
When batch file is double clicked and the simulation DOSconsole window flashes and disappears the problem might be in the filepath of the TUFLOW executable or incorrect syntax:
<ol>
<li>Check the TUFLOW executable can be found with the specified filepath (absolute or relative).
<li>Double click the executable, this performs a licence check and DOSconsole window appears. If it doesn't, move the executable to a location where it is permitted to run. Some locations on C drive might be restricted for some users preventing to execute the simulation.
<li>TUFLOW doesn't run from a batch file if the filepaths are specified as UNC paths. The folder with both, the executable and the model, must be opened with a mapped drive. Type "net use <drive>: \\server_name\share_name" in the command line to map the drives.
<li>If using environment variable 'set exe', confirm there are no spaces surrounding the equals sign (e.g. set exe="..\..\..\exe\2023-03-AA\TUFLOW_iSP_w64.exe").
<li>Write 'pause' at the end of the script, rerun the batch file and the DOSconsole window should remain open providing more information. In the below example, the file path to the TUFLOW exe is incorrect:<br>
<br>
{{Video|name=Animation_Troubleshooting_CommonErrors_05b.mp4|width=1124}}<br>
Line 122:
<li>Navigate to the '''TUFLOW\runs''' folder and open the '''_ TUFLOW Simulations.log''' in a text editor.
<li>Confirm if the simulation has 'Started' and 'Finished' line.
<li>If there is no log file, see <u>[[Tutorial_Troubleshooting_QGIS#Simulation DOSConsole Window Flashes and Disappears | here]]</u>.
</ol>