Thank you for this explanation. The mask fuction worked after updating the GdalTools.

Regards

Jaime



On 23-08-2011 18:52, Giuseppe Sucameli wrote:
Hi Jaime,

On Tue, Aug 23, 2011 at 5:53 PM, Jaime Palalane <[email protected] <mailto:[email protected]>> wrote:

    It is a bit strange because when I access "About GdalTools" it is
    written "*Version 1.2.26*" and in the following line "*using GDAL
    v1.8.0*" (translated from Portuguese "usando GDAL v1.8.0"). What
    is the correct version? I am an Ubuntu 11.04 user.

It's right because GdalTools plugin use the GDAL library.
The GdalTools plugin version is 1.2.26, the GDAL lib version is 1.8.

You will be able to update the GdalTools plugin enabling experimental plugins
though the Python Plugin Installer (look at the Options tab).

The version 1.2.27 is available, install it and try again.
Regards.


    Thanks!

    Jaime




    On 23-08-2011 17:41, Giuseppe Sucameli wrote:
    Hi,

    On Tue, Aug 23, 2011 at 5:35 PM, Jaime Palalane
    <[email protected] <mailto:[email protected]>> wrote:

        I tried to use the clipper function, under Raster Menu (GDAL
        plugin),  with *mask option* but it returns the error below

    this problem should be fixed times ago.

        Ocorreu um erro durante a execução do seguinte código Python:
        (An error occurred with the execution of the following Python
        code:)

    What version of the GdalTools plugin are you using?
    You can find this information under Raster->About GdalTools.

    Thanks a lot.
    Regards.


        Traceback (most recent call last):
          File
        "/usr/share/qgis/python/plugins/GdalTools/tools/widgetPluginBase.py",
        line 27, in someValueChanged
            self.emit(SIGNAL("valuesChanged(const QStringList &)"),
        self.getArguments())
          File
        "/usr/share/qgis/python/plugins/GdalTools/tools/doClipper.py", line
        105, in getArguments
            return self.getArgsModeMask()
          File
        "/usr/share/qgis/python/plugins/GdalTools/tools/doClipper.py", line
        143, in getArgsModeMask
            if self.alphaBandCheck.isChecked():
        AttributeError: 'GdalToolsDialog' object has no attribute
        'alphaBandCheck'

        Versão do Python:
        2.7.1+ (r271:86832, Apr 11 2011, 18:37:12)
        [GCC 4.5.2]


        Versão do QGIS:
        1.7.0-Wroclaw Wroclaw, exported

        Caminho para o Python: ['/usr/share/qgis/python',
        '/home/jp/.qgis/python', '/home/jp/.qgis/python/plugins',
        '/usr/share/qgis/python/plugins', '/usr/lib/python2.7',
        '/usr/lib/python2.7/plat-linux2',
        '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old',
        '/usr/lib/python2.7/lib-dynload',
        '/usr/local/lib/python2.7/dist-packages',
        '/usr/lib/python2.7/dist-packages',
        '/usr/lib/python2.7/dist-packages/Numeric',
        '/usr/lib/python2.7/dist-packages/PIL',
        '/usr/lib/pymodules/python2.7/gtk-2.0',
        '/usr/lib/python2.7/dist-packages/gst-0.10',
        '/usr/lib/python2.7/dist-packages/gtk-2.0',
        '/usr/lib/pymodules/python2.7',
        '/usr/lib/pymodules/python2.7/ubuntuone-client',
        '/usr/lib/pymodules/python2.7/ubuntuone-storage-protocol',
        '/usr/lib/pymodules/python2.7/ubuntuone-control-panel',
        '/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode',
        '/usr/share/qgis/python/plugins/fTools/tools']

        _______________________________________________
        Qgis-user mailing list
        [email protected] <mailto:[email protected]>
        http://lists.osgeo.org/mailman/listinfo/qgis-user




-- Giuseppe Sucameli





--
Giuseppe Sucameli


_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to