[Qgis-developer] OSGeo4W QGIS 1.8 Doesnt Work

Stephane Goldstein s.n.g at gmx.com
Fri Apr 26 08:20:28 PDT 2013


Just updated OSGeo4W ans it's fixed now
----- Original Message -----
From: Stephane Goldstein
Sent: 04/26/13 04:07 PM
To: qgis-developer at lists.osgeo.org
Subject: [Qgis-developer] OSGeo4W QGIS 1.8 Doesnt Work

Hello.

I'm having the exact same problem.
I think maybe it's related to a Grass RC2 to RC3 update.
The file called when you open QGIS 1.8 is C:\OSGeo4W\bin\qgis.bat
I opened that file and I have:

@echo off
SET OSGEO4W_ROOT=C:\OSGeo4W
call "%OSGEO4W_ROOT%"\bin\o4w_env.bat
call "%OSGEO4W_ROOT%"\apps\grass\grass-6.4.3RC2\etc\env.bat
@echo off
path %PATH%;%OSGEO4W_ROOT%\apps\qgis\bin;%OSGEO4W_ROOT%\apps\grass\grass-6.4.3RC2\lib
start "Quantum GIS" /B "%OSGEO4W_ROOT%"\apps\qgis\bin\qgis.exe %*

But since I updated Grass, the file
C:\OSGeo4W\apps\grass\grass-6.4.3RC2\etc\env.bat
and the folder
C:\OSGeo4W\apps\grass\grass-6.4.3RC2\lib
don't existe anymore.

I opened the file that calls QGIS-dev (C:\OSGeo4W\bin\qgis-dev.bat) and it points to the new install of GRASS 6.4.3RC3:

@echo off
SET OSGEO4W_ROOT=C:\OSGeo4W
call "%OSGEO4W_ROOT%"\bin\o4w_env.bat
call "%OSGEO4W_ROOT%"\apps\grass\grass-6.4.3RC3\etc\env.bat
@echo off
path %PATH%;%OSGEO4W_ROOT%\apps\qgis-dev\bin;%OSGEO4W_ROOT%\apps\grass\grass-6.4.3RC3\lib
set QGIS_PREFIX_PATH=%OSGEO4W_ROOT:\=/%/apps/qgis-dev
start "Quantum GIS" /B "%OSGEO4W_ROOT%"\bin\qgis-dev.exe %*

I tried then to tweak C:\OSGeo4W\bin\qgis.bat but with no sucess.

Can anyone help ?

Thanks

stephane
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20130426/e12e5d5c/attachment.html>


More information about the Qgis-developer mailing list