TUFLOW Viewer: Difference between revisions

Content deleted Content added
Line 39:
===What Does This Mean?===
This means that the TUFLOW plugin has encountered something unusual or a situation that it does not know how to handle i.e. it has reached a line in the code that has failed to execute and as a consequence Python has bailed out. This means that all the code below this point has not been executed that was meant to be. This can have knock on consequences as variables may not exist or be set to incorrect values and signal handling (e.g. what happens when a a menu item is clicked) is broken. So a python error can lead to further python errors that would normally not occurred, so the first python error is usually the most important.<br>
===What To Do===
<ol>
<li> Email the '''Stack Trace''' to support@tuflow.com with a description of the steps that produced the python error (as best you can describe it)
<li> If you find that you are now experiencing a lot of python errors (probably caused by the initial error) you can try the following in order of severity:
<ol>
<li> On the TUFLOW Viewer menu bar '''File >> Reload TUFLOW Viewer''' - this will reload TUFLOW Viewer, resetting all variables and signals. You will be required to load in any time series results again and other settings will resetalso asbe well e.g. if you are using dates for the x-axisreset. Map output results will remain in the workspace and be reloaded into TUFLOW Viewer.
<li> Save the workspace (.qgz) and restart QGIS
<li> Restart QGIS - you can save the workspace (.qgz), however you should first select on the TUFLOW Viewer menu bar '''File >> Close TUFLOW Viewer Completely''' - this will close the viewer and also remove all settings associated with it from the workspace so that the problematic variable is not accidentally saved to the workspace and reloaded