[GRASS-user] Python script works with Qgis but not in Grass
Enrico Gallo
enrico.gallo at gmail.com
Mon Jan 27 04:52:59 PST 2014
Dear list,
this problem has already reported for grass 7 [0] (still without a solution?)
I am not a Python expert, but accordind to [1] the problem seems due
to Unicode string management.
Davide, I suppose the script path used with Grass is:something like this:
C:\[...]\QGIS Dufour\apps\grass\grass-6.4.3\etc\gui\scripts
but probabliy this is not the same path where you put the same script
in order to use QGIS scripting interface, right?
List, any hint to check "startupinfo" values before launching the script ?
Could we avoid Unicode strings or force it to right values as in [2] ?
HTH
Enrico
[0] http://lists.osgeo.org/pipermail//grass-user/2013-October/069019.html
[1] https://mail.python.org/pipermail/python-win32/2010-April/010400.html
[2] https://github.com/SeleniumHQ/selenium/pull/54/files
More information about the grass-user
mailing list