<div dir="ltr">Hi all,<br><br>when running the tests on MS Windows doctest for grass.temporal does not continue when fatal error was issued by libgis server. stderr ends with:<br><br>    C:\...\grass_trunk_r64651\lib\python\temporal\testsuite>python test_doctests.py<br>    ........Default TGIS driver / database set to:<br>    driver: sqlite<br>    database:<br>    C:\Users\vpetras\Documents\grassdata/demolocation/PERMANENT/tgis/sqlite.db<br>    Creating temporal database:<br>    C:\Users\vpetras\Documents\grassdata/demolocation/PERMANENT/tgis/sqlite.db<br>    ......................................F..............................FF....FFFF<br>    ERROR: Fatal Error in C library server<br><br>There are some failed tests but that's most likely unrelated, the problem is that the process is still running but giving no further output. This probably means that any temporal module which will cause fatal error with hang like this.<br><br>After pressing Ctrl+C I get:<br><br>    WARNING:root:Needed to restart the libgis server<br>    WARNING:root:Needed to restart the libgis server<br><br>but the process does not end and I had to press Ctrl+C several times (and got the warning several times) to actually end the process.<br><br>On Ubuntu there are no failed tests but more importantly, the libgis server is restarted as expected and the test ends successfully:<br><br>    ........Default TGIS driver / database set to:<br>    driver: sqlite<br>    database:<br>    /grassdata/tests-grassdata/nc_spm_08_grass7/__lib_python_temporal_test_doctests/tgis/sqlite.db<br>    Creating temporal database:<br>    /grassdata/tests-grassdata/nc_spm_08_grass7/__lib_python_temporal_test_doctests/tgis/sqlite.db<br>    .........................................................<br>    ERROR: Fatal Error in C library server<br>    WARNING:root:Needed to restart the libgis server<br>    ERROR: Fatal Error in C library server<br>    WARNING:root:Needed to restart the libgis server<br><br>Do you have any idea why it gets stuck when the RPC server exits?<br>Vaclav<br><br><br>### How to test this on MS Windows<br><br>Install the latest build of trunk for Windows. Get the latest source code: If you don't have Subversion on Windows, checkout the latest version on Linux (or make distclean && svn up), zip it and unzip it on Windows. Run GRASS (cmd line is enough). Cd into the source code, into the lib\python\temporal\testsuite directory and run:<br><br>    python test_doctests.py<br><br>Alternatively, cd into the source code dir and run all tests as usually (<a href="http://grass.osgeo.org/grass71/manuals/libpython/gunittest_running_tests.html">http://grass.osgeo.org/grass71/manuals/libpython/gunittest_running_tests.html</a>):<br><br>    python -m grass.gunittest.main --location nc_spm_08_grass7 --location-type nc<br><br>This of course applies if you are not compiling yourself, if you do, you have corresponding binary and source code on you computer.</div>