Hi,
On the new QGIS 2.6 I get a python failure while drawing a orthogonal line with
the CadTools plugin. Is this a general problem or is it just on my machine? I
use a Mac with OSX 10.8.5 and I get the following python failure:
Traceback (most recent call last):
File
"/Users/Marcello/.qgis2/python/plugins/cadtools/tools/orthoelementsonsegmenttool.py",
line 77, in ortholineandpoint
cadutils.addGeometryToCadLayer(QgsGeometry.fromPoint(p))
File "/Users/Marcello/.qgis2/python/plugins/cadtools/tools/cadutils.py", line
38, in addGeometryToCadLayer
QgsMapLayerRegistry().instance().addMapLayer(vl, True)
TypeError: qgis._core.QgsMapLayerRegistry cannot be instantiated or sub-classed
Python-Version:
2.7.2 (default, Oct 11 2012, 20:14:37)
[GCC 4.2.1 Compatible Apple Clang 4.0 (tags/Apple/clang-418.0.60)]
QGIS-Version:
2.6.0-Brighton Brighton,
Python-Pfad:
['/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing',
'/Users/Marcello/.qgis2/python/plugins/GeoCoding',
'/Applications/QGIS.app/Contents/MacOS/../Resources/python',
u'/Users/Marcello/.qgis2/python', u'/Users/Marcello/.qgis2/python/plugins',
'/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins',
'/Library/Frameworks/SQLite3.framework/Versions/B/Python/2.7',
'/Library/Frameworks/GEOS.framework/Versions/3/Python/2.7',
'/Library/Python/2.7/site-packages/numpy-override',
'/Library/Python/2.7/site-packages/matplotlib-override',
'/Library/Frameworks/MapServer.framework/Versions/6.0/Python/2.7',
'/Library/Frameworks/GDAL.framework/Versions/1.11/Python/2.7/site-packages',
'/Library/Python/2.7/site-packages/distribute-0.6.35-py2.7.egg',
'/Library/Python/2.7/site-packages/pip-1.3.1-py2.7.egg',
'/Library/Frameworks/cairo.framework/Versions/1/Python/2.7',
'/usr/local/lib/wxPython-3.0.0.0/lib/python2.7/site-packages',
'/usr/local/lib/wxPython-3.0.0.0/lib/python2.7/site-packages/wx-3.0-osx_cocoa',
'/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', '/Library/Python/2.7/site-packages/PIL',
'/Library/Python/2.7/site-packages/setuptools-0.6c11-py2.7.egg-info',
'/usr/local/lib/wxPython-3.0.0.0/lib/python2.7',
'/Users/Marcello/.qgis2/python/plugins/MetaSearch/ext-libs',
'/Users/Marcello/.qgis2/python/plugins/mmqgis/forms',
'/Applications/QGIS.app/Contents/Resources/python/plugins/fTools/tools',
'/Users/Marcello/Documents/Studium/Archaeologie/UFG/Masterarbeit/GIS']
Marcel_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user