Re: [Qgis-user] plugin for home range calculations
On Mon, 2008-08-25 at 15:03 +0200, Maciej Sieczka wrote: > Hi Paolo, Anne, > > If no input layer is selected pressing OK yields an error: > Hi Maciej, this is a known bug. The plugin warns the user with a message box before loading the main dialog. I'll adapt the code to avoid raising the error you posted. Thanks for testing! Anne signature.asc Description: This is a digitally signed message part ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] plugin for home range calculations
Anne, On Aug 25, 2008, at 5:39 AM, Paolo Cavallini wrote: Hi all. As many of you know, Anne has completed her plugin: http://wiki.qgis.org/qgiswiki/GSoC2008Rbinding You can now install it with the installer plugin, using the Faunalia repo http://www.faunalia.it/qgis/ adding http://faunalia.it/qgis/plugins.xml to your sources list. Be careful of the dependencies (R-related). I have tested on a fresh install, and it works smoothly. I hope this will make it esier for others to test. Great job Anne! All the best. Sadly this does not work for me on OS X. I have the dependencies installed. I received the following error while testing. It appears to be some problem with handling the paths to the input and output files. Regards, John An error has occured while executing Python code: Traceback (most recent call last): File "/Users/jctull/.qgis//python/plugins/pluginProva/plugin.py", line 178, in run fsock = open(self.pylogfile, 'w') IOError: [Errno 2] No such file or directory: u'/Users/jctull/Desktop/ test//Users/jctull/Documents/John 2007/TWS Talk/TWS Arizona/Ecological Niche Model Data/ochotona_princeps_nv.shp_py_log.txt' Python version: 2.5.1 (r251:54863, Jan 17 2008, 19:35:17) [GCC 4.0.1 (Apple Inc. build 5465)] Python path:['/Applications/qgis0.11.0.app/Contents/MacOS/share/qgis/ python', '/Users/jctull/.qgis//python/plugins', '/Applications/ qgis0.11.0.app/Contents/MacOS/share/qgis/python/plugins', '/Library/ Python/2.5/site-packages/Shapely-1.0.4-py2.5.egg', '/Library/Python/ 2.5/site-packages/GDAL-1.5.2-py2.5-macosx-10.5-i386.egg', '/Library/ Python/2.5/site-packages/simplejson-1.9.2-py2.5-macosx-10.5-i386.egg', '/System/Library/Frameworks/Python.framework/Versions/2.5/lib/ python25.zip', '/System/Library/Frameworks/Python.framework/Versions/ 2.5/lib/python2.5', '/System/Library/Frameworks/Python.framework/ Versions/2.5/lib/python2.5/plat-darwin', '/System/Library/Frameworks/ Python.framework/Versions/2.5/lib/python2.5/plat-mac', '/System/ Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/plat- mac/lib-scriptpackages', '/System/Library/Frameworks/Python.framework/ Versions/2.5/Extras/lib/python', '/System/Library/Frameworks/ Python.framework/Versions/2.5/lib/python2.5/lib-tk', '/System/Library/ Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-dynload', '/ Library/Python/2.5/site-packages', '/System/Library/Frameworks/ Python.framework/Versions/2.5/Extras/lib/python/PyObjC', '/Users/ jctull/.qgis/python/plugins/fTools/tools'] ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] plugin for home range calculations
On Aug 25, 2008, at 9:07 AM, Paolo Cavallini wrote: John C. Tull ha scritto: I look forward to trying this out. Can I make the recommendation that the dependencies be added to the plugin description in the repository? Happy to do it. Is there a standard format for this? All the best. pc You might look at some of the other plugins to see what they've done. John ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] plugin for home range calculations
John C. Tull ha scritto: > I look forward to trying this out. Can I make the recommendation that > the dependencies be added to the plugin description in the repository? Added. Please Anne check that this is correct. pc -- Paolo Cavallini, see: * http://www.faunalia.it/pc * ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] plugin for home range calculations
John C. Tull ha scritto: > I look forward to trying this out. Can I make the recommendation that > the dependencies be added to the plugin description in the repository? Happy to do it. Is there a standard format for this? All the best. pc -- Paolo Cavallini, see: * http://www.faunalia.it/pc * ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] plugin for home range calculations
On Aug 25, 2008, at 5:39 AM, Paolo Cavallini wrote: Hi all. As many of you know, Anne has completed her plugin: http://wiki.qgis.org/qgiswiki/GSoC2008Rbinding You can now install it with the installer plugin, using the Faunalia repo http://www.faunalia.it/qgis/ adding http://faunalia.it/qgis/plugins.xml to your sources list. Be careful of the dependencies (R-related). I have tested on a fresh install, and it works smoothly. I hope this will make it esier for others to test. Great job Anne! All the best. I look forward to trying this out. Can I make the recommendation that the dependencies be added to the plugin description in the repository? Thanks, John ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] plugin for home range calculations
Thanks Maciej for your testing. Maciej Sieczka ha scritto: > Plugin's description is wrong in the "Plugin Installer". Now corrected. Also the name > is not telling too much *to me*: "pluginProva". Right. Anne is waiting for a good name to come. I can suggest "AniMove": http://www.faunalia.it/animove > If no input layer is selected pressing OK yields an error: This is food for Anne. All the best. pc -- Paolo Cavallini, see: * http://www.faunalia.it/pc * ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] plugin for home range calculations
Paolo Cavallini pisze: Hi all. As many of you know, Anne has completed her plugin: http://wiki.qgis.org/qgiswiki/GSoC2008Rbinding You can now install it with the installer plugin, using the Faunalia repo http://www.faunalia.it/qgis/ adding http://faunalia.it/qgis/plugins.xml to your sources list. Hi Paolo, Anne, Plugin's description is wrong in the "Plugin Installer". Also the name is not telling too much *to me*: "pluginProva". If no input layer is selected pressing OK yields an error: --- An error has occured while executing Python code: Traceback (most recent call last): File "/home/shoofi/.qgis//python/plugins/pluginProva/plugin.py", line 174, in run Dialog.opt = self.collectedOptions() File "/home/shoofi/.qgis//python/plugins/pluginProva/plugin.py", line 233, in collectedOptions opt["io"]["layer"] = "%s" % self.cmb_in_lyr_list[self.cmb_in_lyr.currentIndex()] IndexError: list index out of range Python version: 2.5.2 (r252:60911, Aug 14 2008, 13:49:08) [GCC 4.3.1] Python path:['/usr/local/qgis/share/qgis/python', '/home/shoofi/.qgis//python/plugins', '/usr/local/qgis/share/qgis/python/plugins', '/usr/lib/python25.zip', '/usr/lib/python2.5', '/usr/lib/python2.5/plat-linux2', '/usr/lib/python2.5/lib-tk', '/usr/lib/python2.5/lib-dynload', '/usr/local/lib/python2.5/site-packages', '/usr/lib/python2.5/site-packages', '/usr/lib/python2.5/site-packages/Numeric', '/usr/lib/python2.5/site-packages/PIL', '/usr/lib/python2.5/site-packages/gst-0.10', '/var/lib/python-support/python2.5', '/var/lib/python-support/python2.5/gtk-2.0', '/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode', '/home/shoofi/.qgis/python/plugins/fTools/tools'] --- Debian testing amd64. Maciek -- Maciej Sieczka www.sieczka.org ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user