[GRASS-user] R: Python script works with Qgis but not in Grass

davidesponchiado at alice.it davidesponchiado at alice.it
Mon Jan 27 05:10:11 PST 2014



"Directory 'C:\Users\Davide\Documents\...." is not defined in 
GRASS_ADDON_PATH. Do you want add this directory to GRASS_ADDON_PATH?
I think that's what you meaning...




----Messaggio originale----
Da: enrico.gallo at gmail.com
Data: 27-gen-2014 13.52
A: "GRASS user list"<grass-user at lists.osgeo.org>
Ogg: [GRASS-user] Python script works with Qgis but not in Grass

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
_______________________________________________
grass-user mailing list
grass-user at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20140127/1b29bdf6/attachment.html>


More information about the grass-user mailing list