Kepler: Issueshttps://projects.ecoinformatics.org/ecoinfo/https://projects.ecoinformatics.org/ecoinfo/ecoinfo/favicon.ico?14691340362014-12-17T17:21:21ZEcoinformatics Redmine
Redmine Bug #6634 (Closed): Error message popup not generated when saving to a write protected directory.https://projects.ecoinformatics.org/ecoinfo/issues/66342014-12-17T17:21:21ZArtur Szostakaszostak@partner.eso.org
<p>In the Kepler GUI a message popup window should appear when the saving of a file fails.<br />To reproduce the problem, run the following commands in a POSIX terminal (on Fedora 20 in this case):</p>
<pre><code>curl <a class="external" href="https://code.kepler-project.org/code/kepler/releases/installers/2.4/kepler-2.4-linux.tar.gz">https://code.kepler-project.org/code/kepler/releases/installers/2.4/kepler-2.4-linux.tar.gz</a> | tar xzf -<br /> mkdir my_workspace<br /> chmod -w my_workspace<br /> cp ./kepler-2.4/common-2.4.0/configs/ptolemy/configs/kepler/configuration.xml original_configuration.xml<br /> cat original_configuration.xml | head -n 257 > ./kepler-2.4/common-2.4.0/configs/ptolemy/configs/kepler/configuration.xml<br /> echo " &lt;property name=\"_alternateDefaultOpenDirectory\" value=\"`pwd`/my_workspace\" class=\"ptolemy.kernel.util.StringAttribute\"/&gt;" >> ./kepler-2.4/common-2.4.0/configs/ptolemy/configs/kepler/configuration.xml<br /> cat original_configuration.xml | tail -n 1 >> ./kepler-2.4/common-2.4.0/configs/ptolemy/configs/kepler/configuration.xml<br /> ./kepler-2.4/kepler.sh</code></pre>
<p>Once Kepler has started (you might have to close the initial "welcome"/"upgrade" popup windows), follow these instructions:</p>
<pre><code>Click on the "File->Save" item from the menu bar.<br /> Click on the "OK" button in the "Please enter a name for this workflow" pupup window.<br /> Click on the "Save" button in the "Save" popup window.</code></pre>
<p>No error message popup appears, even though there is a log message in the terminal about "permission denied".</p>