Hello all I have uploaded a new version of this plugin. It will display a more meaningful error message when the user doesn't have the minimum version of Shapely or GEOS necessary to run it. I also added a fix for the problem reported by Paolo:
"...BTW, if I run the Profile romLine without selecting a line (I know this is wrong), I get an error: Errore durante l'esecuzione di codice Python: Traceback (most recent call last): File "/home/paolo/.qgis/python/plugins/ProfileFromLine/ProfileFromLineDialog.py", line 44, in accept params["interval"], self.ui.progressBar) File "/home/paolo/.qgis/python/plugins/ProfileFromLine/ProfileFromLine.py", line 106, in create_profile_layer AttributeError: 'NoneType' object has no attribute 'dataProvider' This should be trapped, and a more meaningful error should be displayed to the user...." Now the plugin will only be active (selectable from the toolbar or the plugins menu) if there is already a lines layer loaded in the map canvas. Thank you for testing it out On Tue, Aug 17, 2010 at 1:48 PM, Giovanni Manghi <[email protected]> wrote: > if the problem is installing the right version of shapely then "easy > install" is available also for windows > > http://pypi.python.org/pypi/setuptools#windows > > > > > > On Tue, 2010-08-17 at 12:44 +0000, stefaan dondeyne wrote: >> Hi Giovanni and Borys >> >> - both many thanks for your advise >> >> - so far I have been generating topographic transects using the >> SPRING (I use it mainly for DTM and for working with Satelite images) >> >> - it would have been great if I could do it easily and straight in >> qGIS, which I use mainly with vector data - but OK for the time being >> I'll continue using SPRING for that matter >> >> Cheers >> >> Stefaan >> >> >> _________________________________________________ >> >> Stefaan Dondeyne (PhD) >> >> GSM +32 476 61 90 65 (Belgium) Mobile +258 82 89 295 64 (Mozambique) >> Tel + 32 16 32 97 34 (Department Earth and Environmental Sciences - KU >> Leuven)_________________________________________________ >> http://www.panoramio.com/user/3497468?with_photo_id=25100300 >> http://www.mozambiqueflora.com/index.php >> http://micaia.org/centre/micaia_family.html >> http://ees.kuleuven.be/ >> >> >> --- On Tue, 17/8/10, Borys Jurgiel <[email protected]> wrote: >> >> From: Borys Jurgiel <[email protected]> >> Subject: Re: [Qgis-user] Announcing ProfileFromLine plugin >> To: [email protected] >> Cc: "stefaan dondeyne" <[email protected]>, >> [email protected] >> Date: Tuesday, 17 August, 2010, 14:38 >> >> Dnia wtorek 17 sierpnia 2010 o 14:28:26 Giovanni Manghi >> napisał(a): >> >> >> >> > second advice: use the osgeo4w installer, it is different >> from what you >> >> > may already know, but after a few tries it makes perfectly >> sense... as >> >> > you have everything in may need in the same installer. >> >> I'm not a windows user, but I'm afraid osgeo4w doesn't help in >> this particular case, as it's written here: >> >> http://lists.osgeo.org/pipermail/qgis-user/2010-August/009351.html >> >> > > > _______________________________________________ > Qgis-user mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/qgis-user > -- ___________________________ ___ __ Ricardo Garcia Silva _______________________________________________ Qgis-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-user
