Opened 6 years ago

Closed 4 years ago

#369 closed defect (fixed)

PROJ_LIB wrongly set in env.bat

Reported by: jef Owned by: martinl
Priority: major Component: Package
Version: Keywords: grass
Cc:

Description

GRASS' env.bat sets @PROJ_LIB@ to @%OSGEO4W_ROOT%\proj@ instead of @%OSGEO4W_ROOT%\share\proj@ and override the correct setting from @etc\ini\proj.bat@.

See also http://hub.qgis.org/issues/7941#change-44282

Change History (4)

comment:1 Changed 6 years ago by jef

s/@\(.*\)@/\1}/g

comment:2 Changed 6 years ago by martinl

Should be fixed for GRASS 6.4.4 (1). I uploaded to osgeo4w grass-6.4.3-4 with locally applied patch. Let me know if it solves the problem.

(1) http://trac.osgeo.org/grass/changeset/57522

comment:3 Changed 6 years ago by jef

Sorry for the late reply. Yes, is fixes the problem.

However why are there non-GRASS settings in env.bat? grass.bat runs o4w_env.bat so those settings should already be there from etc\ini, ie. GDAL_DATA, PYTHONHOME, GEOTIFF_CSV and PROJ_LIB.

comment:4 Changed 4 years ago by micahcochran

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.