Tutorial Troubleshooting QGIS: Difference between revisions

Content deleted Content added
 
(2 intermediate revisions by one other user not shown)
Line 104:
 
===Editing File Extension===
When creating a control file is created from a .txt file, the file extension should be edited to reflect the control file type, forsuch exampleas .tgc, .tbc or .tcf. If the file extensionextensions isare hidden in Windows File Explorer, itthe isintended likelychanges forto the file typeextension tomay renamebe unchangedapplied to the intendedfile name rather than the extension. isThis addedcould toresult in control files being referenced incorrectly, which may cause the fileerror name.message For[[TUFLOW_Message_0008 example:| ERROR 0008]] - <filename> cannot be found.
 
In this case, control files may be referenced incorrectly and lead to encountering [[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:
 
<ub> Windows 10 </ub> <br>
<ol>[[File:File Ext Win10.png]]</ol>
 
 
<ub> Windows 11 </ub><br>
<ol>[[File:File Ext Win11.png]]</ol>
 
=Troubleshooting Steps=
Line 123 ⟶ 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\2023-03-AA2026.0.0\TUFLOW_iSP_w64.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>