<div><div>Hi Paolo,</div></div><div><br></div><div>I see what happened. You were using the configuration files included in the distribution, and it was trying to write to a directory that only exists on my computer (because the full path names are used in the config files - I haven&#39;t figured out how to do this cross-platform with relative paths). It checks to see if there is a value in there, but it didn&#39;t check to see if the directory existed. Fixed that. I also made it check all input files to make sure they exist as well. </div>
<div><br></div><div>To make the plugin work, you are going to have to enter a new filename that can be written in your computer. I should probably leave the results file out of the configuration file all together (but it saved me time in development).</div>
<div><br></div><div>There is still a minor bug where the interface does not reset the factor dropdown menu to the number of correct number of loaded factors when reading a Boolean configuration file (the others work properly). This should work, but it doesn&#39;t seem to be causing a problem, although it is irritating. I will try to fix this.</div>
<div><br></div><div>Do I need to increment the version number every time I upload a new package, or is the date enough to push the new code out to users?</div><div><br></div>Thanks for the feedback!<br>
JP<br><br><div class="gmail_quote">On Sat, Jan 8, 2011 at 8:40 AM, Paolo Cavallini <span dir="ltr">&lt;<a href="mailto:cavallini@faunalia.it">cavallini@faunalia.it</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Il giorno ven, 07/01/2011 alle 17.43 +0100, JP Glutting ha scritto:<br>
<div><div></div><div class="h5">&gt; Hello All,<br>
&gt;<br>
&gt;<br>
&gt; I just wanted to let you know that I have uploaded my tool, MCELite,<br>
&gt; to the PyQGIS repository. I had to try a few times to get it uploaded,<br>
&gt; but it seems to work when downloaded from the repository.<br>
&gt;<br>
&gt;<br>
&gt; MCELite takes raster files representing decision criteria and analyzes<br>
&gt; them using three types of multi-criteria evaluation (MCE): Boolean<br>
&gt; overlay, weighted linear combination (WLC) or ordered weighted<br>
&gt; averaging (OWA). It also does sensitivity analysis of the results of<br>
&gt; an analysis. It hasn&#39;t been extensively tested, so it is marked as<br>
&gt; experimental, but it does run on Windows, OS X and Linux. The package<br>
&gt; includes documentation and soem sample data data sets and<br>
&gt; configuration files (it reads configuration files in addition to<br>
&gt; having interactive input).<br>
&gt;<br>
&gt;<br>
&gt; Because I wrote it for a study project, I didn&#39;t use any existing code<br>
&gt; (it turns out it wouldn&#39;t have been a problem, but I wanted to be<br>
&gt; safe) and I rolled my own Raster object to do the overlay instead of<br>
&gt; using rastercalc or something like that. I can still rewrite the back<br>
&gt; end, but it would be a lot of work.<br>
&gt;<br>
&gt;<br>
&gt; The big thing missing from the tool is any kind of fuzzy set<br>
&gt; membership analysis. I couldn&#39;t find any plugins for QGIS, so you need<br>
&gt; to create the input rasters with another tool, if you want to do any<br>
&gt; kind of interesting analysis.<br>
&gt;<br>
&gt;<br>
&gt; Anyway, feel free to try it out, and let me know when it breaks. I am<br>
&gt; sure it still has tons of bugs.<br>
<br>
</div></div>Tried, got an error:<br>
=======================================================================<br>
Traceback (most recent call last):<br>
  File &quot;/home/paolo/.qgis/python/plugins/mcelite/MCELiteDialog.py&quot;, line<br>
755, in accept<br>
    self.runAnalysis(snd)<br>
  File &quot;/home/paolo/.qgis/python/plugins/mcelite/MCELiteDialog.py&quot;, line<br>
780, in runAnalysis<br>
    self.qm.runQuery(self.progress)<br>
  File<br>
&quot;/home/paolo/.qgis/python/plugins/mcelite/mcelite/QueryManager.py&quot;, line<br>
700, in runQuery<br>
    self.writeMCEConfig()<br>
  File<br>
&quot;/home/paolo/.qgis/python/plugins/mcelite/mcelite/QueryManager.py&quot;, line<br>
572, in writeMCEConfig<br>
    fHandle = open(filename, &#39;w&#39;)<br>
IOError: [Errno 2] No such file or directory:<br>
&#39;/Users/jpg/pyGIS/qgismcelite/examples/bool_osx_example_configuration_Bool.txt&#39;<br>
<br>
Versione Python:<br>
2.6.6 (r266:84292, Dec 26 2010, 22:48:11)<br>
[GCC 4.4.5]<br>
<br>
<br>
Versione di QGIS:<br>
1.7.0-Trunk Trunk, 14993M<br>
=======================================================================<br>
<br>
Thanks for including the documentation. It would be useful if you could<br>
add an help/about button to read it directly form the plugin menu,<br>
better if in html.<br>
All the best.<br>
<font color="#888888">--<br>
<a href="http://www.faunalia.it/pc" target="_blank">http://www.faunalia.it/pc</a><br>
<br>
</font></blockquote></div><br>