<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
<br><br><div><div id="SkyDrivePlaceholder"></div>> Date: Fri, 26 Oct 2012 10:58:22 -0400<br>> From: Lee.Hachadoorian+L@gmail.com<br>> To: postgis-users@postgis.refractions.net<br>> Subject: Re: [postgis-users] Pg_wrapper error<br>> <br>> On Fri, Oct 26, 2012 at 10:51 AM, José Pedro Santos<br>> <zpsantos1@hotmail.com> wrote:<br>> ><br>> > Hi,<br>> ><br>> > raster2pgsql don't work also shp2pgsql don't work (I have the Postgis 2.0<br>> > installed in Ubuntu 12.04). I just enable the function but seems that the<br>> > pg_wrapper don't work.<br>> ><br>> > I have all the raster2... and shp2... in /usr/bin but don't work when I try<br>> > to call them in the shell.<br>> <br>> When you say you have raster2pgsql and shp2pgsql in /usr/bin, do you<br>> have executables or just the symlinks you created? If you call<br>> shp2pgsql without arguments do you get the help commands? Can you<br>> output it to a file? That is instead of:<br>> <br>>     shp2pgsql /home/user/Downloads/Africa_Boundaries/africa.shp<br>> teste2.africa | psql -d MyDatabase<br>> <br>> can you<br>> <br>>     shp2pgsql /home/user/Downloads/Africa_Boundaries/africa.shp<br>> teste2.africa > /home/user/Downloads/import_africa.sql<br>> <br>> ?<br>> <br>> --Lee<br>> <br>> -- <br>> Lee Hachadoorian<br>> Asst Professor of Geography, Dartmouth College<br>> http://freecity.commons.gc.cuny.edu/<br><br><br>I have the executables. When I try that (only shp2pgsql before I make the connection with pg_wrapper) I can get the help commands. But now don't because I enable the file with pg_wrapper, how can undo that? <br><br>When I try that expression I have the same error: <br><br>Error: pg_wrapper: invalid command name<br><br>Regards,<br>JSantos<br><br><br><br><br><br><br><br>> _______________________________________________<br>> postgis-users mailing list<br>> postgis-users@postgis.refractions.net<br>> http://postgis.refractions.net/mailman/listinfo/postgis-users<br></div>                                       </div></body>
</html>