[postgis-devel] [PostGIS] #355: Can't make shp2pgsql-gui a plugin anymore under PgAdmin III

PostGIS trac at osgeo.org
Tue Dec 22 10:49:53 PST 2009


#355: Can't make shp2pgsql-gui a plugin anymore under PgAdmin III
---------------------+------------------------------------------------------
 Reporter:  robe     |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  medium   |   Milestone:  PostGIS 1.5.0
Component:  postgis  |     Version:  trunk        
 Keywords:           |  
---------------------+------------------------------------------------------
 This works with the 1.4 install, but not the 1.5 install.  I suspect its
 the removal of that commandline dialog or perhaps the trapping of the
 connection parameters.

 In 1.4 -- I can add this line to my plugins.ini in PgAdminIII

 {{{

 ;
 ; POSTGIS SHP2PGSQL-GUI (Windows):
 ;
 Title=PostGIS SHP2PGSQL-GUI Console
 Command="$$PGBINDIR\postgisgui\shp2pgsql-gui.exe" --host "$$HOSTNAME"
 --port $$PORT --username "$$USERNAME" "$$DATABASE"
 Description=Open a PostGIS ESRI Shapefile loader console to the current
 database.
 KeyFile=$$PGBINDIR\postgisgui\shp2pgsql-gui.exe
 Platform=windows
 ServerType=postgresql
 Database=Yes
 SetPassword=Yes
 ;
 }}}

 But it doesn't pick up the db name, password and all that other cool
 stuff.

 For 1.5 -- nothing happens when I click the plugin item from PgAdminIII. I
 get absolutely nothing -- no error or nothing

 (note I have all the dependencies thrown into one folder so it doesn't get
 mixed up with other dlls and I can manually launch it works fine and I see
 Mark's shiny progress bar).

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/355>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-devel mailing list