<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 3, 2014 at 9:18 AM, Vaclav Petras <span dir="ltr"><<a href="mailto:wenzeslaus@gmail.com" target="_blank">wenzeslaus@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">It seems that v.what's test_vwhat_layers test file is randomly failing time to time with "ERROR: Unable to start driver <(null)>".<br></div></blockquote><div><br></div><div>It looks like db connection is not set at all. I added calling db.connect -c to the test. However, I am not sure, is this how it is supposed to work? Almost no db module initializes db when not set. I ran into the same problem when a shapefile is imported during creating new location.</div><div><br></div><div>Anna</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br>======================================================================<br>ERROR: setUpClass (__main__.TestMultiLayerMap)<br>----------------------------------------------------------------------<br>Traceback (most recent call last):<br>  File "vector/v.what/testsuite/test_vwhat_layers.py", line 121, in setUpClass<br>    cls.runModule('db.in.ogr', dsn='./data/table1.csv', output='t1')<br>  File "etc/python/grass/gunittest/case.py", line 953, in runModule<br>    errors=errors)<br>CalledModuleError: Module run 1 db.in.ogr ended with error<br>Process ended with non-zero return code db.in_ogr(dsn='./data/table1.csv', output='t1'). See the following errors:<br>ERROR: Unable to start driver <(null)><br>Traceback (most recent call last):<br>  File "scripts/db.in.ogr", line 127, in <module><br>    main()<br>  File "scripts/db.in.ogr", line 76, in main<br>    s = grass.read_command('db.tables', flags = 'p')<br>  File "etc/python/grass/script/core.py", line 420, in read_command<br>    returncode=returncode)<br>grass.exceptions.CalledModuleError: Module run None db.tables -p ended with error<br>Process ended with non-zero return code 1. See errors in the (error) output.<br><br><div><div><a href="http://fatra.cnr.ncsu.edu/grassgistests/reports_for_date-2014-11-02-08-00/report_for_nc_spm_08_grass7_nc/vector/v.what/index.html" target="_blank">http://fatra.cnr.ncsu.edu/grassgistests/reports_for_date-2014-11-02-08-00/report_for_nc_spm_08_grass7_nc/vector/v.what/index.html</a><br><a href="http://fatra.cnr.ncsu.edu/grassgistests/reports_for_date-2014-11-03-08-00/report_for_nc_spm_08_grass7_nc/vector/v.what/test_vwhat_layers/index.html" target="_blank">http://fatra.cnr.ncsu.edu/grassgistests/reports_for_date-2014-11-03-08-00/report_for_nc_spm_08_grass7_nc/vector/v.what/test_vwhat_layers/index.html</a><br></div></div></div>
<br>_______________________________________________<br>
grass-dev mailing list<br>
<a href="mailto:grass-dev@lists.osgeo.org">grass-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-dev</a><br></blockquote></div><br></div></div>