<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() &gt;= 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">&nbsp;</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">&nbsp;</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">&nbsp;</span></span><br><span style="font-size: 10pt; ">version of the Plugin Installer in the plugin folder. Removing that<span class="Apple-converted-space">&nbsp;</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">&nbsp;</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">&nbsp;</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; ">&gt; Horst,</span><br><span style="font-size: 10pt; ">&gt;</span><br><span style="font-size: 10pt; ">&gt; I tried on OS X. Here are my observations and issues so far:</span><br><span style="font-size: 10pt; ">&gt;</span><br><span style="font-size: 10pt; ">&gt; 1) The installer does not work. I get a permissions error when<span class="Apple-converted-space">&nbsp;</span></span><br><span style="font-size: 10pt; ">&gt; trying to use the python installer. Manual installation works ok.</span><br><span style="font-size: 10pt; ">&gt;</span><br><span style="font-size: 10pt; ">&gt; 2) When I run the plugin in a project with available vectors, the<span class="Apple-converted-space">&nbsp;</span></span><br><span style="font-size: 10pt; ">&gt; drop-down menu for selecting a vector to geoprocess does not<span class="Apple-converted-space">&nbsp;</span></span><br><span style="font-size: 10pt; ">&gt; populate with anything. So I am unable to perform any geoprocessing<span class="Apple-converted-space">&nbsp;</span></span><br><span style="font-size: 10pt; ">&gt; because there are not vectors available to work on in the gui.</span><br><span style="font-size: 10pt; ">&gt;</span><br><span style="font-size: 10pt; ">&gt; Because of problem 2), I am unable to get very far in testing this.<span class="Apple-converted-space">&nbsp;</span></span><br><span style="font-size: 10pt; ">&gt; I will be around on the irc channel today and off-and-on this week<span class="Apple-converted-space">&nbsp;</span></span><br><span style="font-size: 10pt; ">&gt; if you want to try and work out some things online.</span><br><span style="font-size: 10pt; ">&gt;</span><br><span style="font-size: 10pt; ">&gt; Thanks,</span><br><span style="font-size: 10pt; ">&gt; John</span><br><span style="font-size: 10pt; ">&gt;</span><br><span style="font-size: 10pt; ">&gt; On Feb 17, 2008, at 2:30 AM, Düster Horst wrote:</span><br><span style="font-size: 10pt; ">&gt;</span><br><span style="font-size: 10pt; ">&gt;&gt; A new Geoprocressing Python plugin is available in the Python<span class="Apple-converted-space">&nbsp;</span></span><br><span style="font-size: 10pt; ">&gt;&gt; Plugin Repository.</span><br><span style="font-size: 10pt; ">&gt;&gt;</span><br><span style="font-size: 10pt; ">&gt;&gt;<span class="Apple-converted-space">&nbsp;</span><a href="http://spatialserver.net:3001">http://spatialserver.net:3001</a></span><br><span style="font-size: 10pt; ">&gt;&gt;</span><br><span style="font-size: 10pt; ">&gt;&gt;</span><br><span style="font-size: 10pt; ">&gt;&gt; This plugin is under developement and offers vector analysis<span class="Apple-converted-space">&nbsp;</span></span><br><span style="font-size: 10pt; ">&gt;&gt; functions for ogr and postgis vector data.</span><br><span style="font-size: 10pt; ">&gt;&gt;</span><br><span style="font-size: 10pt; ">&gt;&gt; The following functions are available:</span><br><span style="font-size: 10pt; ">&gt;&gt; - Buffer</span><br><span style="font-size: 10pt; ">&gt;&gt; - Convex Hull</span><br><span style="font-size: 10pt; ">&gt;&gt; - Difference A - B</span><br><span style="font-size: 10pt; ">&gt;&gt; - Dissolve</span><br><span style="font-size: 10pt; ">&gt;&gt; - Intersection</span><br><span style="font-size: 10pt; ">&gt;&gt;</span><br><span style="font-size: 10pt; ">&gt;&gt; under developement:</span><br><span style="font-size: 10pt; ">&gt;&gt; - SymDifference</span><br><span style="font-size: 10pt; ">&gt;&gt; - Union</span><br><span style="font-size: 10pt; ">&gt;&gt;</span><br><span style="font-size: 10pt; ">&gt;&gt;</span><br><span style="font-size: 10pt; ">&gt;&gt; The plugin needs QGIS Rev. 8153 or higher!</span><br><span style="font-size: 10pt; ">&gt;&gt;</span><br><span style="font-size: 10pt; ">&gt;&gt; The plugin uses the GEOS library. I recommend the use of GEOS-3.0.0.</span><br><span style="font-size: 10pt; ">&gt;&gt;</span><br><span style="font-size: 10pt; ">&gt;&gt; Unfortunately there are some issues with GEOS. In some cases GEOS<span class="Apple-converted-space">&nbsp;</span></span><br><span style="font-size: 10pt; ">&gt;&gt; throws topology exceptions when you try to dissolve large datasets<span class="Apple-converted-space">&nbsp;</span></span><br><span style="font-size: 10pt; ">&gt;&gt; =&gt; QGIS crashes.</span><br><span style="font-size: 10pt; ">&gt;&gt;</span><br><span style="font-size: 10pt; ">&gt;&gt; I hope that this plugin can be helpful for you and I look forward<span class="Apple-converted-space">&nbsp;</span></span><br><span style="font-size: 10pt; ">&gt;&gt; for your comments and ideas.</span><br><span style="font-size: 10pt; ">&gt;&gt;</span><br><span style="font-size: 10pt; ">&gt;&gt; Regards</span><br><span style="font-size: 10pt; ">&gt;&gt; Horst</span><br><span style="font-size: 10pt; ">&gt;&gt;</span><br><span style="font-size: 10pt; ">&gt;&gt;</span><br><span style="font-size: 10pt; ">&gt;&gt;</span><br><span style="font-size: 10pt; ">&gt;&gt; ------------------------------------------------</span><br><span style="font-size: 10pt; ">&gt;&gt;</span><br><span style="font-size: 10pt; ">&gt;&gt; Dr. Horst Düster</span><br><span style="font-size: 10pt; ">&gt;&gt; GIS-Koordinator, Stv. Amtschef</span><br><span style="font-size: 10pt; ">&gt;&gt;</span><br><span style="font-size: 10pt; ">&gt;&gt; Kanton Solothurn</span><br><span style="font-size: 10pt; ">&gt;&gt; Bau- und Justizdepartement</span><br><span style="font-size: 10pt; ">&gt;&gt; Amt für Geoinformation</span><br><span style="font-size: 10pt; ">&gt;&gt; SO!GIS Koordination</span><br><span style="font-size: 10pt; ">&gt;&gt; Rötistrasse 4</span><br><span style="font-size: 10pt; ">&gt;&gt; CH-4501 Solothurn</span><br><span style="font-size: 10pt; ">&gt;&gt;</span><br><span style="font-size: 10pt; ">&gt;&gt; Telefon ++41(0)32 627 25 32</span><br><span style="font-size: 10pt; ">&gt;&gt; Telefax ++41(0)32 627 22 14</span><br><span style="font-size: 10pt; ">&gt;&gt;</span><br><span style="font-size: 10pt; ">&gt;&gt;<span class="Apple-converted-space">&nbsp;</span><a href="mailto:horst.duester@bd.so.ch">mailto:horst.duester@bd.so.ch</a></span><br><span style="font-size: 10pt; ">&gt;&gt;<span class="Apple-converted-space">&nbsp;</span><a href="http://www.agi.so.ch">http://www.agi.so.ch</a></span><br><span style="font-size: 10pt; ">&gt;&gt; _______________________________________________</span><br><span style="font-size: 10pt; ">&gt;&gt; Qgis-developer mailing list</span><br><span style="font-size: 10pt; ">&gt;&gt;<span class="Apple-converted-space">&nbsp;</span><a href="mailto:Qgis-developer@lists.qgis.org">Qgis-developer@lists.qgis.org</a></span><br><span style="font-size: 10pt; ">&gt;&gt;<span class="Apple-converted-space">&nbsp;</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; ">&gt;</span></div></div></span></blockquote></div><br></body></html>