[GRASS-dev] Tests failing with "requires string, <type 'unicode'> provided"

Vaclav Petras wenzeslaus at gmail.com
Fri May 13 08:48:38 PDT 2016


A lot of tests are failing:

http://fatra.cnr.ncsu.edu/grassgistests/reports_for_date-2016-05-02-07-00/report_for_nc_basic_spm_grass7_nc/testfiles.html
http://fatra.cnr.ncsu.edu/grassgistests/reports_for_date-2016-05-03-07-00/report_for_nc_basic_spm_grass7_nc/testfiles.html

Seems like PyGRASS related marameter checking:

The Parameter <where> require a string, <type 'unicode'> instead is provided

For example:

ERROR: test_1 (__main__.TestUnregister)
Perform several unregistration operations
----------------------------------------------------------------------
...
ValueError: The Parameter <where> require a string, <type 'unicode'>
instead is provided: u'mapset = "__temporal_t_unregister_test_unregister"
AND (name = "a1" OR name = "a2" OR name = "a3")'

The change should be somewhere here:

https://trac.osgeo.org/grass/log/grass/trunk?rev=68369&stop_rev=68347
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20160513/13139af5/attachment-0001.html>


More information about the grass-dev mailing list