test_v_db_select

./vector/v.db.select – test_v_db_select

Test failed

Testtest_v_db_select
Testsuite./vector/v.db.select
Test file./vector/v.db.select/testsuite/test_v_db_select.py
StatusFAILED
Return code1
Number of tests6
Successful tests2
Failed tests4
Percent successful33%
Test duration0:00:01.268316
Tested modulesv.db.select

Supplementary files

Standard error output (stderr)

/usr/lib/python2.7/xml/etree/ElementTree.py:1638: DeprecationWarning: This method of XMLParser is deprecated.  Define doctype() method on the TreeBuilder target.
  DeprecationWarning,
E.E.EE
======================================================================
ERROR: testComma (__main__.SelectTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "vector/v.db.select/testsuite/test_v_db_select.py", line 214, in testComma
    sel.run()
  File "etc/python/grass/pygrass/modules/interface/module.py", line 772, in run
    self.wait()
  File "etc/python/grass/pygrass/modules/interface/module.py", line 797, in wait
    module=self.name, errors=stderr)
CalledModuleError: Module run v.db.select v.db.select map=geology layer=1 where=GEO_NAME='Zwe' separator=, -c ended with error
Process ended with non-zero return code 1. See the following errors:
DBMI-SQLite driver error:
Error in sqlite3_prepare():
SELECT * FROM geology WHERE GEO_NAME='Zwe'
no such column: GEO_NAME

DBMI-SQLite driver error:
Error in sqlite3_prepare():
SELECT * FROM geology WHERE GEO_NAME='Zwe'
no such column: GEO_NAME

ERROR: Unable to open select cursor


======================================================================
ERROR: testGroup (__main__.SelectTest)
Testing v.db.select with group option
----------------------------------------------------------------------
Traceback (most recent call last):
  File "vector/v.db.select/testsuite/test_v_db_select.py", line 190, in testGroup
    sel.run()
  File "etc/python/grass/pygrass/modules/interface/module.py", line 772, in run
    self.wait()
  File "etc/python/grass/pygrass/modules/interface/module.py", line 797, in wait
    module=self.name, errors=stderr)
CalledModuleError: Module run v.db.select v.db.select map=geology layer=1 columns=GEO_NAME group=GEO_NAME separator=pipe -c ended with error
Process ended with non-zero return code 1. See the following errors:
DBMI-SQLite driver error:
Error in sqlite3_prepare():
SELECT GEO_NAME FROM geology GROUP BY GEO_NAME
no such column: GEO_NAME

DBMI-SQLite driver error:
Error in sqlite3_prepare():
SELECT GEO_NAME FROM geology GROUP BY GEO_NAME
no such column: GEO_NAME

ERROR: Unable to open select cursor


======================================================================
ERROR: testSeparator (__main__.SelectTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "vector/v.db.select/testsuite/test_v_db_select.py", line 206, in testSeparator
    sel.run()
  File "etc/python/grass/pygrass/modules/interface/module.py", line 772, in run
    self.wait()
  File "etc/python/grass/pygrass/modules/interface/module.py", line 797, in wait
    module=self.name, errors=stderr)
CalledModuleError: Module run v.db.select v.db.select map=geology layer=1 where=GEO_NAME='Zwe' separator=comma -c ended with error
Process ended with non-zero return code 1. See the following errors:
DBMI-SQLite driver error:
Error in sqlite3_prepare():
SELECT * FROM geology WHERE GEO_NAME='Zwe'
no such column: GEO_NAME

DBMI-SQLite driver error:
Error in sqlite3_prepare():
SELECT * FROM geology WHERE GEO_NAME='Zwe'
no such column: GEO_NAME

ERROR: Unable to open select cursor


======================================================================
ERROR: testWhere (__main__.SelectTest)
Testing v.db.select with where option
----------------------------------------------------------------------
Traceback (most recent call last):
  File "vector/v.db.select/testsuite/test_v_db_select.py", line 198, in testWhere
    sel.run()
  File "etc/python/grass/pygrass/modules/interface/module.py", line 772, in run
    self.wait()
  File "etc/python/grass/pygrass/modules/interface/module.py", line 797, in wait
    module=self.name, errors=stderr)
CalledModuleError: Module run v.db.select v.db.select map=geology layer=1 where=GEO_NAME='Zwe' separator=pipe -c ended with error
Process ended with non-zero return code 1. See the following errors:
DBMI-SQLite driver error:
Error in sqlite3_prepare():
SELECT * FROM geology WHERE GEO_NAME='Zwe'
no such column: GEO_NAME

DBMI-SQLite driver error:
Error in sqlite3_prepare():
SELECT * FROM geology WHERE GEO_NAME='Zwe'
no such column: GEO_NAME

ERROR: Unable to open select cursor


----------------------------------------------------------------------
Ran 6 tests in 0.546s
FAILED (errors=4)