[Qgis-user] Error with the plugin contour with Qgis 1.8.0 on mountain lion

niandra1982 gianluca.mastrantonio at yahoo.it
Mon Nov 5 06:15:07 PST 2012


Hi all

I  installed the plug in contour (with a lot of work) but when i try to use
it i have this message:
Exception struck: 24879,

then it write the following

Errore durante l'esecuzione di codice Python:
(this is in italian, maybe in english is something like "errore during
Python execution")

Traceback (most recent call last):
  File "/Users/niandra/.qgis//python/plugins/contour/contour.py", line 358,
in accept
    self.makeFilledContours()
  File "/Users/niandra/.qgis//python/plugins/contour/contour.py", line 562,
in makeFilledContours
    polygons = self.computeFilledContours()
  File "/Users/niandra/.qgis//python/plugins/contour/contour.py", line 622,
in computeFilledContours
    cs = plt.tricontourf(x, y, z, levels, extend=extend)
  File "/Library/Python/2.7/site-packages/matplotlib/pyplot.py", line 2683,
in tricontourf
    ret = ax.tricontourf(*args, **kwargs)
  File "/Library/Python/2.7/site-packages/matplotlib/axes.py", line 8391, in
tricontourf
    return mtri.tricontourf(self, *args, **kwargs)
  File "/Library/Python/2.7/site-packages/matplotlib/tri/tricontour.py",
line 286, in tricontourf
    return TriContourSet(ax, *args, **kwargs)
  File "/Library/Python/2.7/site-packages/matplotlib/tri/tricontour.py",
line 35, in __init__
    ContourSet.__init__(self, ax, *args, **kwargs)
  File "/Library/Python/2.7/site-packages/matplotlib/contour.py", line 703,
in __init__
    self._process_args(*args, **kwargs)
  File "/Library/Python/2.7/site-packages/matplotlib/tri/tricontour.py",
line 46, in _process_args
    tri, z = self._contour_args(args, kwargs)
  File "/Library/Python/2.7/site-packages/matplotlib/tri/tricontour.py",
line 81, in _contour_args
    Triangulation.get_from_args_and_kwargs(*args, **kwargs)
  File "/Library/Python/2.7/site-packages/matplotlib/tri/triangulation.py",
line 170, in get_from_args_and_kwargs
    triangulation = Triangulation(x, y, triangles, mask)
  File "/Library/Python/2.7/site-packages/matplotlib/tri/triangulation.py",
line 71, in __init__
    dt = delaunay.Triangulation(self.x, self.y)
  File
"/Library/Python/2.7/site-packages/matplotlib/delaunay/triangulate.py", line
121, in __init__
    self.hull = self._compute_convex_hull()
  File
"/Library/Python/2.7/site-packages/matplotlib/delaunay/triangulate.py", line
158, in _compute_convex_hull
    hull.append(edges.pop(hull[-1]))
KeyError: 24879

Versione Python:
2.7.2 (default, Jun 20 2012, 16:23:33) 
[GCC 4.2.1 Compatible Apple Clang 4.0 (tags/Apple/clang-418.0.60)]


Versione di QGIS:
1.8.0-Lisboa Lisboa, 

Percorso Python:
['/Applications/QGIS.app/Contents/MacOS/../Resources/python',
'/Users/niandra/.qgis//python', '/Users/niandra/.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',
'/Library/Python/2.7/site-packages/pip-1.2.1-py2.7.egg',
'/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',
'/Users/niandra/.qgis/python/plugins/mmqgis/forms',
'/Applications/QGIS.app/Contents/Resources/python/plugins/fTools/tools',
'/Users/niandra/Desktop/statistico/gis/salvat gis/base italia']

There is someone can helps me?



--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Error-with-the-plugin-contour-with-Qgis-1-8-0-on-mountain-lion-tp5014015.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.



More information about the Qgis-user mailing list