[Qgis-user] Dimension plugin in Qgis 2.10.1 Pisa

Franco Cazzola F.Cazzola at amga.it
Wed May 18 09:43:50 PDT 2016


Problem using dimension plugin in Qgis 2.10.1 Pisa



I am not able to insert dimensioning feature between two selected vertex points
Two steps:

-          insert two vertex point

-          use Draw dimensioning icon to draw the dimension feature

After filling the attribute dimension and select the Add key in the form,  I get  the following message:



Errore durante l'esecuzione di codice Python:
Traceback (most recent call last):
  File "C:/Users/user1/.qgis2/python/plugins\dimensioning\dimensioning.py", line 121, in calculateDimensioning
    tools.utils.addGeometryToDimensionLayer( f, "help" )
  File "C:/Users/user1/.qgis2/python/plugins\dimensioning\tools\utils.py", line 35, in addGeometryToDimensionLayer
    QgsMapLayerRegistry().instance().addMapLayer(vl, True)
TypeError: qgis._core.QgsMapLayerRegistry cannot be instantiated or sub-classed

Versione Python:
2.7.5 (default, May 15 2013, 22:44:16) [MSC v.1500 64 bit (AMD64)]

Versione di QGIS:
2.10.1-Pisa Pisa, d20c5b7

Percorso Python: ['C:/Users/user1/.qgis2/python/plugins\\processing', 'C:/PROGRA~1/QGISPI~1/apps/qgis/./python', u'C:/Users/user1/.qgis2/python', u'C:/Users/user1/.qgis2/python/plugins', 'C:/PROGRA~1/QGISPI~1/apps/qgis/./python/plugins', 'C:\\PROGRA~1\\QGISPI~1\\apps\\Python27\\lib\\site-packages\\matplotlib-1.3.1-py2.7-win-amd64.egg', 'C:\\PROGRA~1\\QGISPI~1\\apps\\Python27\\lib\\site-packages\\nose-1.3.3-py2.7.egg', 'C:\\PROGRA~1\\QGISPI~1\\apps\\Python27\\lib\\site-packages\\tornado-4.0.1-py2.7-win-amd64.egg', 'C:\\PROGRA~1\\QGISPI~1\\apps\\Python27\\lib\\site-packages\\backports.ssl_match_hostname-3.4.0.2-py2.7.egg', 'C:\\PROGRA~1\\QGISPI~1\\apps\\Python27\\lib\\site-packages\\certifi-14.05.14-py2.7.egg', 'C:\\PROGRA~1\\QGISPI~1\\bin\\python27.zip', 'C:\\PROGRA~1\\QGISPI~1\\apps\\Python27\\DLLs', 'C:\\PROGRA~1\\QGISPI~1\\apps\\Python27\\lib', 'C:\\PROGRA~1\\QGISPI~1\\apps\\Python27\\lib\\plat-win', 'C:\\PROGRA~1\\QGISPI~1\\apps\\Python27\\lib\\lib-tk', 'C:\\PROGRA~1\\QGISPI~1\\bin', 'C:\\PROGRA~1\\QGISPI~1\\apps\\Python27', 'C:\\PROGRA~1\\QGISPI~1\\apps\\Python27\\lib\\site-packages', 'C:\\PROGRA~1\\QGISPI~1\\apps\\Python27\\lib\\site-packages\\PIL', 'C:\\PROGRA~1\\QGISPI~1\\apps\\Python27\\lib\\site-packages\\jinja2-2.7.2-py2.7.egg', 'C:\\PROGRA~1\\QGISPI~1\\apps\\Python27\\lib\\site-packages\\markupsafe-0.23-py2.7-win-amd64.egg', 'C:\\PROGRA~1\\QGISPI~1\\apps\\Python27\\lib\\site-packages\\pytz-2012j-py2.7.egg', 'C:\\PROGRA~1\\QGISPI~1\\apps\\Python27\\lib\\site-packages\\win32', 'C:\\PROGRA~1\\QGISPI~1\\apps\\Python27\\lib\\site-packages\\win32\\lib', 'C:\\PROGRA~1\\QGISPI~1\\apps\\Python27\\lib\\site-packages\\Pythonwin', 'C:\\PROGRA~1\\QGISPI~1\\apps\\Python27\\lib\\site-packages\\Shapely-1.2.18-py2.7-win-amd64.egg', 'C:\\PROGRA~1\\QGISPI~1\\apps\\Python27\\lib\\site-packages\\six-1.3.0-py2.7.egg', 'C:\\PROGRA~1\\QGISPI~1\\apps\\Python27\\lib\\site-packages\\wx-2.8-msw-unicode', 'C:\\PROGRA~1\\QGISPI~1\\apps\\Python27\\lib\\site-packages\\xlrd-0.9.2-py2.7.egg', 'C:\\PROGRA~1\\QGISPI~1\\apps\\Python27\\lib\\site-packages\\xlwt-0.7.5-py2.7.egg', u'C:/Users/user1/.qgis2//python', 'C:\\PROGRA~1\\QGISPI~1\\apps\\qgis\\python\\plugins\\fTools\\tools', 'C:/Applicazioni/AMGA_Legnano_ReteGas']

Tks for all contribution


Ing. Franco Cazzola
Telefono Ufficio    :  0331.884877 - Cellulare  340.8375775 - Fax 0331.594287
Mail                          :  F.Cazzola at amga.it
--------------------------------------------------------------------------------------------------------------
AEMME Linea Distribuzione S.r.l.
Sede Legale: viale Cattaneo n.45, 20081 Abbiategrasso (MI)
Sede Operativa Amministrativa: via per Busto Arsizio n. 53, 20025 Legnano (MI)
C.F., P.IVA e Iscrizione al Registro Imprese Tribunale di Milano n.13476050151; REA 1657258;Capitale Sociale: Euro 37.000.000 i.v.
"Società soggetta all'attività di direzione e coordinamento di Amga Legnano S.p.A."

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20160518/739706e4/attachment.html>


More information about the Qgis-user mailing list