[osgeo4w-dev] [osgeo4w] #296: `etc/postinstall/qgis-common.bat` doesn't run properly

OSGeo4W trac_osgeo4w at osgeo.org
Wed Jun 27 09:38:06 PDT 2012


#296: `etc/postinstall/qgis-common.bat` doesn't run properly
-------------------+--------------------------------------------------------
Reporter:  maphew  |       Owner:  osgeo4w-dev@…              
    Type:  defect  |      Status:  new                        
Priority:  minor   |   Component:  Package                    
 Version:          |    Keywords:  qgis, apt                  
-------------------+--------------------------------------------------------
 I don't know if this is apt specific or also happens when using setup.exe:

 {{{
 B:\o4w>apt-dev install qgis-common
 d:/temp/o4w-cache/setup/http%3a% ...snip...

 56fefa8d611d8f8359acb302f6a15790  qgis-common-1.8.0-3.tar.bz2 - remote
 56fefa8d611d8f8359acb302f6a15790  qgis-common-1.8.0-3.tar.bz2 - local
 installing qgis-common 1.8.0-3

 B:\o4w>path
 PATH=B:\o4w\bin

 B:\o4w>call "B:\o4w"\bin\o4w_env.bat

 'findstr' is not recognized as an internal or external command,
 operable program or batch file.
 Post_install complete, return code 255
 }}}

 For some reason the default Windows directories are stripped from PATH, so
 the dependent `findstr`  can't be found. This appears to only happen with
 `qgis-common` package and not the `qgis` package itself.

 QGIS still installs and can be run, but the CRS database is not
 synchronized, possibly leading to not having the most current PROJ
 definitions available. This can be resolved by running the commands in
 `etc/postinstall/qgis-common.bat.done` manually.

-- 
Ticket URL: <http://trac.osgeo.org/osgeo4w/ticket/296>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.


More information about the osgeo4w-dev mailing list