[Qgis-developer] rectangle oval digitizing and CAD Tools

Paolo Cavallini cavallini at faunalia.it
Thu Mar 21 09:32:08 PDT 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all.
A numbero of errors in the two plugins, e.g.:

Errore durante l'esecuzione di codice Python:

Traceback (most recent call last):
  File
"/home/paolo/.qgis//python/plugins/rectovalDigit/rectovaldigit.py",
line 251, in createFeature
    f.initAttributes(fields.count())
AttributeError: 'QgsFeature' object has no attribute 'initAttributes'


Errore durante l'esecuzione di codice Python:

Traceback (most recent call last):
  File
"/home/paolo/.qgis//python/plugins/cadtools/tools/lineintersectiontool.py",
line 76, in intersection
    cadutils.addGeometryToCadLayer(QgsGeometry.fromPoint(p))
  File "/home/paolo/.qgis//python/plugins/cadtools/tools/cadutils.py",
line 36, in addGeometryToCadLayer
    QgsMapLayerRegistry().instance().addMapLayer(vl, True)
AttributeError: 'QgsMapLayerRegistry' object has no attribute
'addMapLayer'

Errore durante l'esecuzione di codice Python:

Traceback (most recent call last):
  File
"/home/paolo/.qgis//python/plugins/cadtools/tools/horizontalverticaldigitizer.py",
line 95, in canvasPressEvent
    self.createFeature()
  File
"/home/paolo/.qgis//python/plugins/cadtools/tools/horizontalverticaldigitizer.py",
line 136, in createFeature
    layerEPSG = layer.srs().epsg()
AttributeError: 'QgsVectorLayer' object has no attribute 'srs'


Thanks.
- -- 
Paolo Cavallini - Faunalia
www.faunalia.eu
Full contact details at www.faunalia.eu/pc
Nuovi corsi QGIS e PostGIS: http://www.faunalia.it/calendario
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlFLNggACgkQ/NedwLUzIr7zJACghskdYavzG7IyTZHYNgwItD2b
mdwAoLpzXETe0UgiPEr6seMG8xo9aAR5
=N5Bh
-----END PGP SIGNATURE-----


More information about the Qgis-developer mailing list