Hi Etienne,
I'm also having some problems with the Profile Plugin. I'm using Linux
(Xubuntu) and QGIS master.
The first problem is this with matplotlib (I'm also using matplotlib 1.1.1~rc1):
Traceback (most recent call last):
File "/home/pedro/.qgis//python/plugins/profiletool/profileplugin.py", line
278, in changePlotLibrary
self.wdg.addPlotWidget(self.plotlibrary)
File "/home/pedro/.qgis//python/plugins/profiletool/ui/ui_ptdockwidget.py",
line 143, in addPlotWidget
self.plotWdg = PlottingTool().changePlotWidget("Matplotlib",
self.frame_for_plot)
File "/home/pedro/.qgis//python/plugins/profiletool/tools/plottingtool.py",
line 82, in changePlotWidget
fig = Figure( (1.0, 1.0), linewidth=0.0, subplotpars =
figure.SubplotParams(left=0, bottom=0, right=1, top=1, wspace=0, hspace=0) )
NameError: global name 'figure' is not defined
Using Qwt5 it works, but with some problems.
On one hand, if I close the Profile Plugin before closing QGIS, the button in
Plugins toolbar remains "clicked", and when closing QGIS, it shows this error:
Error while unloading plugin profiletool
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 237, in
unloadPlugin
plugins[packageName].unload()
File "/home/pedro/.qgis//python/plugins/profiletool/profileplugin.py", line
80, in unload
self.wdg.close()
RuntimeError: underlying C/C++ object has been deleted
In use, the Plugin displays a strange behavior.
Using the Selection "Temporary polyline" option, everything works fine.
However, with the Selection "Selected polyline" option, if the polyline has
only 2 points (start and end), it does not create the profile. If I add another
point, the Plugin only creates the profile for the first segment. If I create a
fourth point, it just creates a profile for the first and second segments. And
so on.
I leave a screencast showing these problems: http://goo.gl/0tMwk
Thanks!
Best regards,
Pedro Venâncio
----- Original Message -----
From: JLancaster
matplotlib 1.1.1. I used the Kyngchaos installer.
Thanks for your work on this. An essential tool for my work.
JD
Etienne Tourigny-3 wrote
> uhhhhhhhhhh ...
>
> please, what is you matplotlib version?
>
> thanks
> Etienne
>
> On Tue, Nov 6, 2012 at 7:03 PM, JD Lancaster <
> jllancast@
> > wrote:
>>> Hi,
>>> sorry for the delay... I have just uploaded version 0.5.0
>>> (profiletool) which fixes this issue, as well as 1.9 compatibility and
>>> other UI fixes.
>>> You need to enable Experimental plugins to get this new version -
>>> please test it and give me your feedback.
>>> Regards,
>>> Etuenne
http://lists.osgeo.org/mailman/listinfo/qgis-user
_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user