[GRASS-dev] winGRASS 6.4.svn: Attribute manager not opening

Markus Neteler neteler at osgeo.org
Wed Sep 5 17:04:53 PDT 2012


On Tue, Sep 4, 2012 at 2:01 PM, Anna Kratochvílová
<kratochanna at gmail.com> wrote:
...
> Problem occurs when calling this (line 194, dbmgr/manager.py in grass64)
...
> I recently added the fs parameter to be able to open data which
> contain | character by changing the separator in preferences. On
> Windows it is causing splitting the whole command into 2 parts -
> before and after pipe. As a result 'columns' parameter (after pipe) is
> treated like another command. As a temporal workaround you can set the
> separator to something different in preferences (more characters are
> accepted)  - this should work immediately. I can also revert the
> change.

Before reverting this important fix, perhaps we manage to find a
solution.

> On Linux the characters in parameters are escaped properly probably in
> Popen but not on Windows. Anyone knows how to solve this properly?

I see some escape magic in lib/gis/spawn.c and also here
http://docs.python.org/release/3.1.5/library/subprocess.html

Dunno if that's useful at all...

Markus


More information about the grass-dev mailing list