[Qgis-developer] Field calculator in Processing error

Salvatore Larosa lrssvtml at gmail.com
Mon Oct 12 01:01:40 PDT 2015


Hi Matteo,

that was a small lack due to some changes in the translation strings.
Just fixed in master.

-SL

On Sun, Oct 11, 2015 at 4:29 PM, matteo <matteo.ghetta at gmail.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> Hi all,
> I'm trying to open and use the Field Calculator of Processing, but I
> receive this error:
>
> An error has occured while executing Python code:
>
> AttributeError: FieldsCalculator instance has no attribute 'TYPE_NAMES'
> Traceback (most recent call last):
>   File
> "/home/ma7730/.qgis2/python/plugins/processing/gui/ProcessingToolbox.py"
> ,
> line 208, in executeAlgorithm
>     dlg = alg.getCustomParametersDialog()
>   File
> "/home/ma7730/.qgis2/python/plugins/processing/algs/qgis/FieldsCalculato
> r.py",
> line 161, in getCustomParametersDialog
>     return FieldsCalculatorDialog(self)
>   File
> "/home/ma7730/.qgis2/python/plugins/processing/algs/qgis/ui/FieldsCalcul
> atorDialog.py",
> line 70, in __init__
>     self.manageGui()
>   File
> "/home/ma7730/.qgis2/python/plugins/processing/algs/qgis/ui/FieldsCalcul
> atorDialog.py",
> line 78, in manageGui
>     for t in self.alg.TYPE_NAMES:
> AttributeError: FieldsCalculator instance has no attribute 'TYPE_NAMES'
>
>
> Python version: 2.7.10 (default, Sep 13 2015, 20:30:50) [GCC 5.2.1
> 20150911]
> QGIS version: 2.11.0-Master Master, a721752
>
>
>
> Master version of QGIS on a Debian testing machine.
> Should I open a ticket?
>
> Thanks
>
> Matteo
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2
>
> iQEcBAEBCAAGBQJWGnI4AAoJEBy7UYf0gaEO/MkH/3iQa2BEc3s7stqRAuf5KyZV
> lJS/mrwKKdVVM3JA6u+KLPEUys6BJcWLay1SvXgs7tQ2qVwR/lXmucMrqPBCUYCN
> fWWvXXxK0lMbM9ln44c58p7pTRyu4uuKTj1PyO5ZE86D4410OFzjcZj84wWyjcQG
> rGNdU1yLtb8wzJnZ1A3ygtkimkVI6AbtUIBzJyccbQjOPj2W/Wvg4Ad5AUKxDqU4
> ZSNO5cKDz96oZwvofUX55TSsGmn4ASFAMCJ7kc0FnB+q1UT2gdbZNkAhJa+ALR2d
> Rg6+v99QIueCr5Yum73nP5t2IDfsXVQByPiwqll2kjZZ3v3A/9QpjGsLvVCFXUc=
> =DI6U
> -----END PGP SIGNATURE-----
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer



-- 
Salvatore Larosa
linkedIn: http://linkedin.com/in/larosasalvatore
twitter: @lrssvt
skype: s.larosa
IRC: lrssvt on freenode


More information about the Qgis-developer mailing list