#357: python 2.7.4 dll conflicts
-------------------+--------------------------------------------------------
Reporter: maphew | Owner: osgeo4w-dev@…
Type: defect | Status: new
Priority: major | Component: Package
Version: | Keywords: python
-------------------+--------------------------------------------------------
Comment(by saultdon):
Replying to [comment:4 jef]:
> for qgis this is fixed by moving the qgis.exe to the main bin (the
directory of the executable that load a DLL takes precedence over system32
and PATH).b
But then this stops qgis from being launched at the terminal because the
.bat file will not be called first - it defaults to call the .exe first
which results in a missing dll error.
You can still launch it either typing qgis.bat specifically or using the
desktop and start menu qgis shortcuts which call qgis.bat directly.
You need to incorporate this fix
(http://trac.osgeo.org/osgeo4w/ticket/358?replyto=12#comment:7) in order
to place .exe and .bat files in the same folder and launch them reliably.
Simply placing a single line...
{{{
set PATHEXT=.BAT;.COM;.EXE;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.RB;.RBW
}}}
...in the OSGeo4W\OSGeo4W.bat file is enough. If you're interested...
--
Ticket URL: <http://trac.osgeo.org/osgeo4w/ticket/357#comment:5>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.
_______________________________________________
osgeo4w-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/osgeo4w-dev