<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Here is a debug message from trying out the plugin in a debug build with two shapefiles:</div><div><br class="webkit-block-placeholder"></div><div>2/19/08 8:59:43 AM [0x0-0x13d13d].org.qgis.qgis[93141] An error has occured while executing Python code:</div><div><br class="webkit-block-placeholder"></div><div>Traceback (most recent call last):</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>File "/Users/jctull/.qgis//python/plugins/geoprocessing/geoprocessing.py", line 187, in manageGui</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>myListA = self.getLayerNames("all")</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>File "/Users/jctull/.qgis//python/plugins/geoprocessing/geoprocessing.py", line 424, in getLayerNames</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>if layer.type() == QgsMapLayer.VECTOR and layer.vectorType() >= myType and not layer.name() in layerNamesList:</div><div>AttributeError: 'NoneType' object has no attribute 'type'</div><div><br class="webkit-block-placeholder"></div><br><div><div>On Feb 18, 2008, at 11:11 PM, Düster Horst wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Arial; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div><div class="Normal" style="text-align: left; text-indent: 0pt; margin-top: 0pt; margin-bottom: 0pt; font-family: Arial; font-size: 12pt; "><span style="font-size: 10pt; ">John,</span></div><br><div class="Normal" style="text-align: left; text-indent: 0pt; margin-top: 0pt; margin-bottom: 0pt; font-family: Arial; font-size: 12pt; "><span style="font-size: 10pt; ">I can't test your point 2 due to missing access to a Mac Box. Perhaps someone else can take a look at John's porblem?</span></div><br><div class="Normal" style="text-align: left; text-indent: 0pt; margin-top: 0pt; margin-bottom: 0pt; font-family: Arial; font-size: 12pt; "><span style="font-size: 10pt; ">Regards<span class="Apple-converted-space"> </span></span><br><span style="font-size: 10pt; ">Horst</span></div><br><div class="Normal" style="text-align: left; text-indent: 0pt; margin-top: 0pt; margin-bottom: 0pt; font-family: Arial; font-size: 12pt; "><span style="font-size: 10pt; ">------------------------------------------------</span></div><br><div class="Normal" style="text-align: left; text-indent: 0pt; margin-top: 0pt; margin-bottom: 0pt; font-family: Arial; font-size: 12pt; "><span style="font-size: 10pt; ">Dr. Horst Düster</span><br><span style="font-size: 10pt; ">GIS-Koordinator, Stv. Amtschef</span></div><br><div class="Normal" style="text-align: left; text-indent: 0pt; margin-top: 0pt; margin-bottom: 0pt; font-family: Arial; font-size: 12pt; "><span style="font-size: 10pt; ">Kanton Solothurn</span><br><span style="font-size: 10pt; ">Bau- und Justizdepartement</span><br><span style="font-size: 10pt; ">Amt für Geoinformation</span><br><span style="font-size: 10pt; ">SO!GIS Koordination</span><br><span style="font-size: 10pt; ">Rötistrasse 4</span><br><span style="font-size: 10pt; ">CH-4501 Solothurn</span></div><br><div class="Normal" style="text-align: left; text-indent: 0pt; margin-top: 0pt; margin-bottom: 0pt; font-family: Arial; font-size: 12pt; "><span style="font-size: 10pt; ">Telefon ++41(0)32 627 25 32</span><br><span style="font-size: 10pt; ">Telefax ++41(0)32 627 22 14</span></div><br><div class="Normal" style="text-align: left; text-indent: 0pt; margin-top: 0pt; margin-bottom: 0pt; font-family: Arial; font-size: 12pt; "><span style="font-size: 10pt; "><a href="mailto:horst.duester@bd.so.ch">mailto:horst.duester@bd.so.ch</a></span><br><span style="font-size: 10pt; "><a href="http://www.agi.so.ch">http://www.agi.so.ch</a></span></div><br><div class="Normal" style="text-align: left; text-indent: 0pt; margin-top: 0pt; margin-bottom: 0pt; font-family: Arial; font-size: 12pt; "><span style="font-size: 10pt; ">-----Ursprüngliche Nachricht-----</span><br><span style="font-size: 10pt; ">Von: John C. Tull [<a href="mailto:john.tull@wildnevada.org">mailto:john.tull@wildnevada.org</a>]</span><br><span style="font-size: 10pt; ">Gesendet am: Montag, 18. Februar 2008 21:29</span><br><span style="font-size: 10pt; ">An: Düster Horst</span><br><span style="font-size: 10pt; ">Cc:<span class="Apple-converted-space"> </span><a href="mailto:qgis-developer@qgis.org">qgis-developer@qgis.org</a>; qgis-user</span><br><span style="font-size: 10pt; ">Betreff: Re: [Qgis-developer] Python Geprocessing Plugin</span></div><br><div class="Normal" style="text-align: left; text-indent: 0pt; margin-top: 0pt; margin-bottom: 0pt; font-family: Arial; font-size: 12pt; "><span style="font-size: 10pt; ">Horst,</span></div><br><div class="Normal" style="text-align: left; text-indent: 0pt; margin-top: 0pt; margin-bottom: 0pt; font-family: Arial; font-size: 12pt; "><span style="font-size: 10pt; ">The first problem below was resolved by Gary Sherman. I had an older<span class="Apple-converted-space"> </span></span><br><span style="font-size: 10pt; ">version of the Plugin Installer in the plugin folder. Removing that<span class="Apple-converted-space"> </span></span><br><span style="font-size: 10pt; ">allowed the built-in installer plugin to run, and that fixed the<span class="Apple-converted-space"> </span></span><br><span style="font-size: 10pt; ">permissions problem.</span></div><br><div class="Normal" style="text-align: left; text-indent: 0pt; margin-top: 0pt; margin-bottom: 0pt; font-family: Arial; font-size: 12pt; "><span style="font-size: 10pt; ">Still no luck with problem 2 at this point. I tried on my ubuntu vm<span class="Apple-converted-space"> </span></span><br><span style="font-size: 10pt; ">and the menu worked as expected, so this may be a mac-specific issue.</span></div><br><div class="Normal" style="text-align: left; text-indent: 0pt; margin-top: 0pt; margin-bottom: 0pt; font-family: Arial; font-size: 12pt; "><span style="font-size: 10pt; ">Cheers,</span><br><span style="font-size: 10pt; ">John</span></div><br><div class="Normal" style="text-align: left; text-indent: 0pt; margin-top: 0pt; margin-bottom: 0pt; font-family: Arial; font-size: 12pt; "><span style="font-size: 10pt; ">On Feb 18, 2008, at 11:24 AM, John C. Tull wrote:</span></div><br><div class="Normal" style="text-align: left; text-indent: 0pt; margin-top: 0pt; margin-bottom: 0pt; font-family: Arial; font-size: 12pt; "><span style="font-size: 10pt; ">> Horst,</span><br><span style="font-size: 10pt; ">></span><br><span style="font-size: 10pt; ">> I tried on OS X. Here are my observations and issues so far:</span><br><span style="font-size: 10pt; ">></span><br><span style="font-size: 10pt; ">> 1) The installer does not work. I get a permissions error when<span class="Apple-converted-space"> </span></span><br><span style="font-size: 10pt; ">> trying to use the python installer. Manual installation works ok.</span><br><span style="font-size: 10pt; ">></span><br><span style="font-size: 10pt; ">> 2) When I run the plugin in a project with available vectors, the<span class="Apple-converted-space"> </span></span><br><span style="font-size: 10pt; ">> drop-down menu for selecting a vector to geoprocess does not<span class="Apple-converted-space"> </span></span><br><span style="font-size: 10pt; ">> populate with anything. So I am unable to perform any geoprocessing<span class="Apple-converted-space"> </span></span><br><span style="font-size: 10pt; ">> because there are not vectors available to work on in the gui.</span><br><span style="font-size: 10pt; ">></span><br><span style="font-size: 10pt; ">> Because of problem 2), I am unable to get very far in testing this.<span class="Apple-converted-space"> </span></span><br><span style="font-size: 10pt; ">> I will be around on the irc channel today and off-and-on this week<span class="Apple-converted-space"> </span></span><br><span style="font-size: 10pt; ">> if you want to try and work out some things online.</span><br><span style="font-size: 10pt; ">></span><br><span style="font-size: 10pt; ">> Thanks,</span><br><span style="font-size: 10pt; ">> John</span><br><span style="font-size: 10pt; ">></span><br><span style="font-size: 10pt; ">> On Feb 17, 2008, at 2:30 AM, Düster Horst wrote:</span><br><span style="font-size: 10pt; ">></span><br><span style="font-size: 10pt; ">>> A new Geoprocressing Python plugin is available in the Python<span class="Apple-converted-space"> </span></span><br><span style="font-size: 10pt; ">>> Plugin Repository.</span><br><span style="font-size: 10pt; ">>></span><br><span style="font-size: 10pt; ">>><span class="Apple-converted-space"> </span><a href="http://spatialserver.net:3001">http://spatialserver.net:3001</a></span><br><span style="font-size: 10pt; ">>></span><br><span style="font-size: 10pt; ">>></span><br><span style="font-size: 10pt; ">>> This plugin is under developement and offers vector analysis<span class="Apple-converted-space"> </span></span><br><span style="font-size: 10pt; ">>> functions for ogr and postgis vector data.</span><br><span style="font-size: 10pt; ">>></span><br><span style="font-size: 10pt; ">>> The following functions are available:</span><br><span style="font-size: 10pt; ">>> - Buffer</span><br><span style="font-size: 10pt; ">>> - Convex Hull</span><br><span style="font-size: 10pt; ">>> - Difference A - B</span><br><span style="font-size: 10pt; ">>> - Dissolve</span><br><span style="font-size: 10pt; ">>> - Intersection</span><br><span style="font-size: 10pt; ">>></span><br><span style="font-size: 10pt; ">>> under developement:</span><br><span style="font-size: 10pt; ">>> - SymDifference</span><br><span style="font-size: 10pt; ">>> - Union</span><br><span style="font-size: 10pt; ">>></span><br><span style="font-size: 10pt; ">>></span><br><span style="font-size: 10pt; ">>> The plugin needs QGIS Rev. 8153 or higher!</span><br><span style="font-size: 10pt; ">>></span><br><span style="font-size: 10pt; ">>> The plugin uses the GEOS library. I recommend the use of GEOS-3.0.0.</span><br><span style="font-size: 10pt; ">>></span><br><span style="font-size: 10pt; ">>> Unfortunately there are some issues with GEOS. In some cases GEOS<span class="Apple-converted-space"> </span></span><br><span style="font-size: 10pt; ">>> throws topology exceptions when you try to dissolve large datasets<span class="Apple-converted-space"> </span></span><br><span style="font-size: 10pt; ">>> => QGIS crashes.</span><br><span style="font-size: 10pt; ">>></span><br><span style="font-size: 10pt; ">>> I hope that this plugin can be helpful for you and I look forward<span class="Apple-converted-space"> </span></span><br><span style="font-size: 10pt; ">>> for your comments and ideas.</span><br><span style="font-size: 10pt; ">>></span><br><span style="font-size: 10pt; ">>> Regards</span><br><span style="font-size: 10pt; ">>> Horst</span><br><span style="font-size: 10pt; ">>></span><br><span style="font-size: 10pt; ">>></span><br><span style="font-size: 10pt; ">>></span><br><span style="font-size: 10pt; ">>> ------------------------------------------------</span><br><span style="font-size: 10pt; ">>></span><br><span style="font-size: 10pt; ">>> Dr. Horst Düster</span><br><span style="font-size: 10pt; ">>> GIS-Koordinator, Stv. Amtschef</span><br><span style="font-size: 10pt; ">>></span><br><span style="font-size: 10pt; ">>> Kanton Solothurn</span><br><span style="font-size: 10pt; ">>> Bau- und Justizdepartement</span><br><span style="font-size: 10pt; ">>> Amt für Geoinformation</span><br><span style="font-size: 10pt; ">>> SO!GIS Koordination</span><br><span style="font-size: 10pt; ">>> Rötistrasse 4</span><br><span style="font-size: 10pt; ">>> CH-4501 Solothurn</span><br><span style="font-size: 10pt; ">>></span><br><span style="font-size: 10pt; ">>> Telefon ++41(0)32 627 25 32</span><br><span style="font-size: 10pt; ">>> Telefax ++41(0)32 627 22 14</span><br><span style="font-size: 10pt; ">>></span><br><span style="font-size: 10pt; ">>><span class="Apple-converted-space"> </span><a href="mailto:horst.duester@bd.so.ch">mailto:horst.duester@bd.so.ch</a></span><br><span style="font-size: 10pt; ">>><span class="Apple-converted-space"> </span><a href="http://www.agi.so.ch">http://www.agi.so.ch</a></span><br><span style="font-size: 10pt; ">>> _______________________________________________</span><br><span style="font-size: 10pt; ">>> Qgis-developer mailing list</span><br><span style="font-size: 10pt; ">>><span class="Apple-converted-space"> </span><a href="mailto:Qgis-developer@lists.qgis.org">Qgis-developer@lists.qgis.org</a></span><br><span style="font-size: 10pt; ">>><span class="Apple-converted-space"> </span><a href="http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-developer">http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-developer</a></span><br><span style="font-size: 10pt; ">></span></div></div></span></blockquote></div><br></body></html>