[Qgis-developer] CAD Tools errors

Paolo Cavallini cavallini at faunalia.it
Thu Sep 26 08:19:22 PDT 2013


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

Hi all.
CAD tools shows various errors:

Rotate objects:

Traceback (most recent call last):
  File
"/home/paolo/.qgis2/python/plugins/cadtools/tools/vertexandobjectfindertool.py", line
64, in canvasPressEvent
    vlayer.select( [], QgsRectangle(),  True)
TypeError: arguments did not match any overloaded call:
  QgsVectorLayer.select(QgsRectangle, bool): argument 1 has unexpected type 'list'
  QgsVectorLayer.select(int): argument 1 has unexpected type 'list'
  QgsVectorLayer.select(unknown-type): too many arguments

Circular arc:

Traceback (most recent call last):
  File "/home/paolo/.qgis2/python/plugins/cadtools/tools/circulararctool.py", line
70, in createCircularArc
    g = CircularArc.getInterpolatedArc(self.p1,  self.p2,  self.p3,
method.toString(),  value.toDouble()[0])
AttributeError: 'unicode' object has no attribute 'toString'

Orthogonal digitizer:

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

Console:

Traceback (most recent call last):
  File "/home/paolo/.qgis2/python/plugins/cadtools/tools/orthogonaldigitizertool.py",
line 55, in showCadConsole
    self.dockWidget.initGui()
  File "/home/paolo/.qgis2/python/plugins/cadtools/tools/cadconsole.py", line 31, in
initGui
    self.edit = CadPythonEdit(self.digitizer, self.dockWidgetContents)
  File "/home/paolo/.qgis2/python/plugins/cadtools/tools/cadconsole.py", line 70, in
__init__
    self.history = QStringList()
NameError: global name 'QStringList' is not defined

Versione Python:
2.7.5+ (default, Sep 17 2013, 15:33:59)
[GCC 4.8.1]


Versione di QGIS:
2.0.1-Dufour Dufour, e02b88b


Should I open tickets?

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.14 (GNU/Linux)
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iEYEARECAAYFAlJEUHoACgkQ/NedwLUzIr5jfwCgsPLfEa3sXX2tSafjM8tAu01D
e+QAmwYHy4MK7EL6aZSGEepCXCGAjTiu
=Iy83
-----END PGP SIGNATURE-----


More information about the Qgis-developer mailing list