planetfederal / qgis-suite-plugin

GNU General Public License v2.0
25 stars 17 forks source link

Can't import data to PostGIS #90

Open bmmpxf opened 10 years ago

bmmpxf commented 10 years ago

Using the current most recent plugin from the repo and latest stable version of QGIS, I am unable to import data from shapefile into PostGIS. I fill out the form, selecting the files I want to import, and then hit OK. The following error shows up:

shp2pgfail

My system has the latest OpenGeo Suite 4.0 build for Windows.

bmmpxf commented 10 years ago

I noted that shp2pgsql was not on my path, so I added it, restarted QGIS, and tried again. Same error.

Full trace:

'shp2pgsql' is not recognized as an internal or external command, operable program or batch file. Traceback (most recent call last): File "C:\Users\OpenGeo/.qgis2/python/plugins\opengeo\gui\explorer.py", line 117, in run command(*params) File "C:\Users\OpenGeo/.qgis2/python/plugins\opengeo\postgis\connection.py", line 100, in importFileOrLayer raise Exception("".join(p[2].readlines())) Exception: 'shp2pgsql' is not recognized as an internal or external command, operable program or batch file.

Csantos11 commented 8 years ago

Hello, I get the same error working with the QGIS 2.10 and the plugin from the repository. Will the problem be solved if i install the plugin from here?