<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi,<div><br></div><div>I found a solution. I had to install manually the newest branch from <a href="https://github.com/geopython/CadTools">https://github.com/geopython/CadTools</a>. Now it works.</div><div><br></div><div>Marcel</div><div><br></div><div><br><div><div>Am 17.11.2014 um 12:11 schrieb Marcel Stadelmann <<a href="mailto:marcel.stadelmann@gmx.net">marcel.stadelmann@gmx.net</a>>:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html charset=us-ascii"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="margin: 0px; "><span style=" font-family:'Courier New,courier';">Hi,</span></div><div style="margin: 0px; "><span style=" font-family:'Courier New,courier';"><br></span></div><div style="margin: 0px; "><font face="Courier New, courier">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:</font></div><div style="margin: 0px; "><span style=" font-family:'Courier New,courier';"><br></span></div><div style="margin: 0px; "><span style=" font-family:'Courier New,courier';"><br></span></div><div style="margin: 0px; "><span style=" font-family:'Courier New,courier';"><br></span></div><div style="margin: 0px; "><!--StartFragment--><span style=" font-family:'Courier New,courier';">Traceback (most recent call last):<br> File "/Users/Marcello/.qgis2/python/plugins/cadtools/tools/orthoelementsonsegmenttool.py", line 77, in ortholineandpoint<br> cadutils.addGeometryToCadLayer(QgsGeometry.fromPoint(p))<br> File "/Users/Marcello/.qgis2/python/plugins/cadtools/tools/cadutils.py", line 38, in addGeometryToCadLayer<br> QgsMapLayerRegistry().instance().addMapLayer(vl, True)<br>TypeError: qgis._core.QgsMapLayerRegistry cannot be instantiated or sub-classed<br></span></div><div style="margin: 0px; "><br>Python-Version:<br>2.7.2 (default, Oct 11 2012, 20:14:37) <br>[GCC 4.2.1 Compatible Apple Clang 4.0 (tags/Apple/clang-418.0.60)]<br><br><br>QGIS-Version:<br>2.6.0-Brighton Brighton, <br><br>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']<!--EndFragment--></div><div style="margin: 0px; "><br></div><div style="margin: 0px; ">Marcel</div></div>_______________________________________________<br>Qgis-user mailing list<br><a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>http://lists.osgeo.org/mailman/listinfo/qgis-user</blockquote></div><br></div></body></html>