[QGIS-trac] Re: [Quantum GIS] #1190: GRASS modules: v.out.ogr wrong
for PostGIS
Quantum GIS
qgis at qgis.org
Mon Jun 15 19:31:51 EDT 2009
#1190: GRASS modules: v.out.ogr wrong for PostGIS
-----------------------------------------------------+----------------------
Reporter: pcav | Owner: nobody
Type: bug | Status: closed
Priority: major: does not work as expected | Milestone: Version 1.0.3
Component: GRASS | Version: HEAD
Resolution: fixed | Keywords:
Platform_version: | Platform: All
Must_fix: Yes | Status_info: 0
-----------------------------------------------------+----------------------
Comment (by cgsbob):
Replying to [comment:2 rblazek]:
> Fixed in revision 10899. Added new script + qgis module with separate
fields for each db connection parameter.
>
> Work sponsored by http://www.faunalia.it
>
> Radim
I just tried those two scripts using QGIS 1.2 w/ GRASS 6.5.svn. I get a
error message:
{{{
Traceback (most recent call last):
File "/home/bobm/usr/share/qgis/grass/scripts/qgis.v.out.ogr.pg2.py",
line 137, in <module>
options, flags = grass.parser()
AttributeError: 'module' object has no attribute 'parser'
}}}
I did a little check and found that this errors is related to a
reorganization of grass.py (see
[http://trac.osgeo.org/grass/changeset/37447]). I'm attaching a patch
that seems to fix this problem.
Btw, I wasn't sure if I should reopen this ticket or submit a new one?
--
Ticket URL: <http://trac.osgeo.org/qgis/ticket/1190#comment:3>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats
More information about the QGIS-trac
mailing list