Tutorial Troubleshooting QGIS: Difference between revisions
Content deleted Content added
No edit summary |
|||
| (3 intermediate revisions by one other user not shown) | |||
Line 102:
</ol>
<br>
===Editing File Extension===
When creating a control file from a .txt file, the file extension should be edited to reflect the control file type, such as .tgc, .tbc or .tcf. If the file extensions are hidden in Windows File Explorer, the intended changes to the file extension may be applied to the file name rather than the extension. This could result in control files being referenced incorrectly, which may cause the error message [[TUFLOW_Message_0008 | ERROR 0008]] - <filename> cannot be found.
To edit file extensions correctly, ensure file extensions are displayed by enabling the following option within Windows File Explorer:
<b> Windows 10 </b> <br>
<ol>[[File:File Ext Win10.png]]</ol>
<b> Windows 11 </b><br>
<ol>[[File:File Ext Win11.png]]</ol>
=Troubleshooting Steps=
Line 110 ⟶ 122:
<li>Double click the executable, this performs a licence check and console 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\
<li>Write 'pause' at the end of the script, rerun the batch file and the console window should remain open providing more information. In the below example, the file path to the TUFLOW exe is incorrect:<br>
<br>
| |||