[Qgis-user] Problem installing Profile plugin

JD Lancaster jllancast at gmail.com
Tue Nov 6 13:03:57 PST 2012


>
> 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


Hi there,

I installed, ran, and received the following error (MACOSX 10.6.8, QGIS
1.8.0):

An error has occured while executing Python code:

Traceback (most recent call last):
  File
"/Users/jdlancaster/.qgis//python/plugins/profiletool/profileplugin.py",
line 278, in changePlotLibrary
    self.wdg.addPlotWidget(self.plotlibrary)
  File
"/Users/jdlancaster/.qgis//python/plugins/profiletool/ui/ui_ptdockwidget.py",
line 143, in addPlotWidget
    self.plotWdg = PlottingTool().changePlotWidget("Matplotlib",
self.frame_for_plot)
  File
"/Users/jdlancaster/.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

Python version:
2.7.1 (r271:86832, Jul 31 2011, 19:30:53)
[GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)]


QGIS version:
1.8.0-Lisboa Lisboa,

Python path: ['/Applications/QGIS.app/Contents/MacOS/../Resources/python',
'/Users/jdlancaster/.qgis//python',
'/Users/jdlancaster/.qgis//python/plugins',
'/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins',
'/Library/Frameworks/SQLite3.framework/Versions/3/Python/2.7',
'/Library/Python/2.7/site-packages/numpy-override',
'/Library/Frameworks/GDAL.framework/Versions/1.9/Python/2.7/site-packages',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python27.zip',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages',
'/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-old',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload',
'/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC',
'/Library/Python/2.7/site-packages',
'/Applications/QGIS.app/Contents/Resources/python/plugins/fTools/tools',
'/Users/jdlancaster/Desktop']
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20121106/64b71081/attachment.html>


More information about the Qgis-user mailing list