[GRASS-dev] v.what: test_vwhat_layers is failing

Anna Petrášová kratochanna at gmail.com
Mon Nov 3 07:53:16 PST 2014


On Mon, Nov 3, 2014 at 9:18 AM, Vaclav Petras <wenzeslaus at gmail.com> wrote:

> It seems that v.what's test_vwhat_layers test file is randomly failing
> time to time with "ERROR: Unable to start driver <(null)>".
>

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.

Anna


> ======================================================================
> ERROR: setUpClass (__main__.TestMultiLayerMap)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "vector/v.what/testsuite/test_vwhat_layers.py", line 121, in
> setUpClass
>     cls.runModule('db.in.ogr', dsn='./data/table1.csv', output='t1')
>   File "etc/python/grass/gunittest/case.py", line 953, in runModule
>     errors=errors)
> CalledModuleError: Module run 1 db.in.ogr ended with error
> Process ended with non-zero return code db.in_ogr(dsn='./data/table1.csv',
> output='t1'). See the following errors:
> ERROR: Unable to start driver <(null)>
> Traceback (most recent call last):
>   File "scripts/db.in.ogr", line 127, in <module>
>     main()
>   File "scripts/db.in.ogr", line 76, in main
>     s = grass.read_command('db.tables', flags = 'p')
>   File "etc/python/grass/script/core.py", line 420, in read_command
>     returncode=returncode)
> grass.exceptions.CalledModuleError: Module run None db.tables -p ended
> with error
> Process ended with non-zero return code 1. See errors in the (error)
> output.
>
>
> 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
>
> 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
>
> _______________________________________________
> grass-dev mailing list
> grass-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20141103/098a8842/attachment-0001.html>


More information about the grass-dev mailing list