https://issues.qgis.org/https://issues.qgis.org/favicon.ico2014-04-16T21:24:47ZQGIS Issue TrackingQGIS Application - Bug report #10026: Postinstallation failshttps://issues.qgis.org/issues/10026?journal_id=503442014-04-16T21:24:47ZAndreas Braun
<ul></ul><p>I found out that the "replacetext" command in setup.bat, pyqt4.bat and sip.bat works, but they can't find the OSGEO4W_ROOT and OSGEO4W_ROOT_MSYS variables. Maybe I could pre-set them as environment variables before the Installation but I'm not completely sure which paths to enter for each.</p>
<p>Any ideas how to solve this? It can't be much, because all other parts are installed correctly.</p> QGIS Application - Bug report #10026: Postinstallation failshttps://issues.qgis.org/issues/10026?journal_id=541222014-07-02T02:06:42Zjamaa jamaa
<ul></ul><p>Also affects Version 2.4.0 on Windows 7 (QGIS-OSGeo4W-2.4.0-1-Setup-x86_64.exe)</p> QGIS Application - Bug report #10026: Postinstallation failshttps://issues.qgis.org/issues/10026?journal_id=541232014-07-02T02:31:21ZJürgen Fischerjef@norbit.de
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Feedback</i></li></ul><p>attach the postinstall.log please</p> QGIS Application - Bug report #10026: Postinstallation failshttps://issues.qgis.org/issues/10026?journal_id=541732014-07-03T04:13:45Zjamaa jamaa
<ul><li><strong>File</strong> <a href="/attachments/download/7586/postinstall.log">postinstall.log</a><a href="/attachments/7586/postinstall.log"><img alt="Magnifier" src="/images/magnifier.png" /></a> added</li></ul><p>here is my postinstall.log</p> QGIS Application - Bug report #10026: Postinstallation failshttps://issues.qgis.org/issues/10026?journal_id=541762014-07-03T04:19:05ZAndreas Braun
<ul></ul><p>jamaa jamaa wrote:</p>
<blockquote>
<p>here is my postinstall.log</p>
</blockquote>
<p>Thanks for posting. As in my case, the "textreplace" command is not recognized, thus failing all subsequent tasks such as the creation of shortcuts and the performance of other setup tasks.</p> QGIS Application - Bug report #10026: Postinstallation failshttps://issues.qgis.org/issues/10026?journal_id=541802014-07-03T05:08:24Zjamaa jamaa
<ul></ul><p>Andreas Braun wrote:</p>
<blockquote>
<p>jamaa jamaa wrote:</p>
<blockquote>
<p>here is my postinstall.log</p>
</blockquote>
<p>Thanks for posting. As in my case, the "textreplace" command is not recognized, thus failing all subsequent tasks such as the creation of shortcuts and the performance of other setup tasks.</p>
</blockquote>
<p>even before that, the command <code>call "\\bin\\make-bat-for-py.bat"</code> fails because it cannot find the given path. It should be <code>call "bin\\make-bat-for-py.bat"</code> (without the first backslash). I'm pretty sure all subsequent commands should not be beginning with a backslash either.</p> QGIS Application - Bug report #10026: Postinstallation failshttps://issues.qgis.org/issues/10026?journal_id=541812014-07-03T05:17:33ZJürgen Fischerjef@norbit.de
<ul></ul><p>jamaa jamaa wrote:</p>
<blockquote>
<p>even before that, the command <code>call "\\bin\\make-bat-for-py.bat"</code> fails because it cannot find the given path. It should be <code>call "bin\\make-bat-for-py.bat"</code> (without the first backslash). I'm pretty sure all subsequent commands should not be beginning with a backslash either.</p>
</blockquote>
<p>That's because even before that <code>OSGEO4W_ROOT</code> is empty. Really odd. Is your environment exceptionally big? Is there already a preset <code>OSGEO4W_ROOT</code> variable?</p> QGIS Application - Bug report #10026: Postinstallation failshttps://issues.qgis.org/issues/10026?journal_id=541832014-07-03T05:26:10Zjamaa jamaa
<ul></ul><p>Jürgen Fischer wrote:</p>
<blockquote>
<p>That's because even before that <code>OSGEO4W_ROOT</code> is empty. Really odd. Is your environment exceptionally big? Is there already a preset <code>OSGEO4W_ROOT</code> variable?</p>
</blockquote>
<p>I wouldn't know how to judge whether my environment is exceptionally big. I have 21 variables defined. <code>OSGEO4W_ROOT</code> is not among them.</p> QGIS Application - Bug report #10026: Postinstallation failshttps://issues.qgis.org/issues/10026?journal_id=548272014-07-30T22:58:28Zjamaa jamaa
<ul></ul><p>Is there any way of working around this problem? Perhaps by setting some environment variables manually before attempting to install?</p> QGIS Application - Bug report #10026: Postinstallation failshttps://issues.qgis.org/issues/10026?journal_id=548282014-07-30T23:18:02ZJürgen Fischerjef@norbit.de
<ul></ul><p>jamaa jamaa wrote:</p>
<blockquote>
<p>Is there any way of working around this problem? Perhaps by setting some environment variables manually before attempting to install?</p>
</blockquote>
<p>Did you try <code>OSGEO4W_ROOT</code> already?</p> QGIS Application - Bug report #10026: Postinstallation failshttps://issues.qgis.org/issues/10026?journal_id=549202014-08-06T00:16:22Zjamaa jamaa
<ul><li><strong>File</strong> <a href="/attachments/download/7714/postinstall.log">postinstall.log</a><a href="/attachments/7714/postinstall.log"><img alt="Magnifier" src="/images/magnifier.png" /></a> added</li></ul><p>Jürgen Fischer wrote:</p>
<blockquote>
<p>Did you try <code>OSGEO4W_ROOT</code> already?</p>
</blockquote>
<p>Setting the environment variable <code>OSGEO4W_ROOT</code> to <code>C:\\Programme\\QGIS</code> before the installation unfortunately seems to have no effect. Attached is a new postinstall.log, which seems to be identical to the previous one.</p>
<p>Any other ideas?</p> QGIS Application - Bug report #10026: Postinstallation failshttps://issues.qgis.org/issues/10026?journal_id=549212014-08-06T00:44:13Zjamaa jamaa
<ul><li><strong>File</strong> <a href="/attachments/download/7715/postinstall.log">postinstall.log</a><a href="/attachments/7715/postinstall.log"><img alt="Magnifier" src="/images/magnifier.png" /></a> added</li></ul><p>OK, I tried installing the 32bit version (<code>QGIS-OSGeo4W-2.4.0-1-Setup-x86.exe</code>) and it worked! So I guess the problem affects only the x64-version.</p>
<p>Interestingly, even after successful installation, no environment variable <code>OSGEO4W_ROOT</code> is set. Perhaps it is removed again after the installation?</p> QGIS Application - Bug report #10026: Postinstallation failshttps://issues.qgis.org/issues/10026?journal_id=549222014-08-06T01:34:06ZJürgen Fischerjef@norbit.de
<ul></ul><p>jamaa jamaa wrote:</p>
<blockquote>
<p>Interestingly, even after successful installation, no environment variable <code>OSGEO4W_ROOT</code> is set. Perhaps it is removed again after the installation?</p>
</blockquote>
<p>It's never set globally - only in the environment of the stuff you start from OSGeo4W.</p>
<p>Can you reproduce the problem with 64bit on other machines?</p> QGIS Application - Bug report #10026: Postinstallation failshttps://issues.qgis.org/issues/10026?journal_id=549232014-08-06T01:34:11ZAndreas Braun
<ul></ul><p>jamaa jamaa wrote:</p>
<blockquote>
<p>OK, I tried installing the 32bit version (<code>QGIS-OSGeo4W-2.4.0-1-Setup-x86.exe</code>) and it worked! So I guess the problem affects only the x64-version.</p>
</blockquote>
<p>thanks for your report, I'll give it a try.</p> QGIS Application - Bug report #10026: Postinstallation failshttps://issues.qgis.org/issues/10026?journal_id=569652014-10-30T08:06:26ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Closed</i></li><li><strong>Resolution</strong> set to <i>worksforme</i></li></ul><p>closing for lack of feedback, please reopen if necessary.</p>