[QGIS-trac] Re: [Quantum GIS] #1911: (windows) Postgis Manager
returns an error when loading from or dumping to shapefile
Quantum GIS
qgis at qgis.org
Fri Sep 4 06:45:01 EDT 2009
#1911: (windows) Postgis Manager returns an error when loading from or dumping to
shapefile
-----------------------------------------------------+----------------------
Reporter: lutra | Owner: wonder
Type: bug | Status: new
Priority: major: does not work as expected | Milestone: Version 1.3.0
Component: Python plugins and bindings | Version: HEAD
Resolution: | Keywords:
Platform_version: | Platform: Windows
Must_fix: No | Status_info: 0
-----------------------------------------------------+----------------------
Comment (by lucacasagrande):
Using Ubuntu 9.04 and latest trunk:[[BR]]
- Loading data to a postgis db is working fine for me.[[BR]]
- Dumping to shapefile report this error:[[BR]]
{{{
Errore durante l'esecuzione di codice Python:
Traceback (most recent call last):
File
"/home/doktoreas/.qgis//python/plugins/postgis_manager/DlgDumpData.py",
line 97, in onDump
p = subprocess.Popen(args=args, stderr=subprocess.PIPE)
File "/usr/lib/python2.6/subprocess.py", line 595, in __init__
errread, errwrite)
File "/usr/lib/python2.6/subprocess.py", line 1092, in _execute_child
raise child_exception
TypeError: execv() arg 2 must contain only strings
Versione Python:
2.6.2 (release26-maint, Apr 19 2009, 02:15:38)
[GCC 4.3.3]
Sentiero Python:['/usr/share/qgis/python',
'/home/doktoreas/.qgis//python/plugins/symbology_ng',
'/home/doktoreas/.qgis//python/plugins/symbology_ng',
'/home/doktoreas/.qgis//python/plugins', '/usr/share/qgis/python/plugins',
'/usr/local/lib/python2.6/dist-packages/geopy-0.93dev_r75-py2.6.egg',
'/usr/local/lib/python2.6/dist-packages/GDAL-1.6.1-py2.6-linux-
x86_64.egg', '/usr/local/lib/python2.6/dist-
packages/OWSLib-0.3.1-py2.6.egg', '/usr/local/share/qgis/python',
'/usr/lib/python2.6', '/usr/lib/python2.6/plat-linux2',
'/usr/lib/python2.6/lib-tk', '/usr/lib/python2.6/lib-old',
'/usr/lib/python2.6/lib-dynload', '/usr/lib/python2.6/dist-packages',
'/usr/lib/python2.6/dist-packages/PIL', '/usr/lib/python2.6/dist-
packages/gst-0.10', '/var/lib/python-support/python2.6',
'/usr/lib/python2.6/dist-packages/gtk-2.0', '/var/lib/python-
support/python2.6/gtk-2.0', '/var/lib/python-support/python2.6/pyinotify',
'/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode',
'/usr/local/lib/python2.6/dist-packages',
'/usr/share/qgis/python/plugins/fTools/tools'
}}}
Thank you[[BR]]
Luca
--
Ticket URL: <https://trac.osgeo.org/qgis/ticket/1911#comment:2>
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