Tutorial Troubleshooting QGIS: Difference between revisions
Content deleted Content added
Line 72:
=Troubleshooting Steps=
=== Simulation DOS Window Flashes and Disappears ===
When
<ol>
<li>Check the location of the TUFLOW executable. Right click on the .exe from the batch file and ensure that the executable can be found
<li>Double click the executable, this performs a licence check and DOS 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>
<li>If using environment variable 'set exe', confirm there are no spaces surrounding the equals sign (e.g. set exe="..\..\..\..\exe\2020-10-AD\TUFLOW_iSP_w64.exe").
<li>Write 'pause' at the end of the script
▲<li>Batch files do not currently support UNC paths. The folder with the executable has to be opened with a mapped drive. Type "net use <drive>: \\server_name\share_name" in the command line to map desired drive.
▲<li>Write 'pause' at the end of the script. Re-run the batch file and the DOS window remains, giving some more information. In the below example, the file path to the TUFLOW exe is incorrect:<br>
<br>
[[File:Animation Troubleshooting CommonErrors 05a.gif]]<br>
| |||