<div dir="ltr"><div>Alexander, Victor,<br><br></div>Will you update the version of Processing in the plugin manager (2.12.2), soon?<br><br><br></div><div class="gmail_extra"><br><div class="gmail_quote">2016-02-14 12:24 GMT+00:00 Pedro Venâncio <span dir="ltr"><<a href="mailto:pedrongvenancio@gmail.com" target="_blank">pedrongvenancio@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Thanks Alexander and Victor,<br><br></div>I'll update that plugins!<br><br></div>Best regards,<br></div>Pedro<br><br><br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2016-02-14 10:51 GMT+00:00 Victor Olaya <span dir="ltr"><<a href="mailto:volayaf@gmail.com" target="_blank">volayaf@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">+1 to what Alex said<br>
<div><div><br>
2016-02-14 11:38 GMT+01:00 Alexander Bruy <<a href="mailto:alexander.bruy@gmail.com" target="_blank">alexander.bruy@gmail.com</a>>:<br>
> Hi Pedro,<br>
><br>
> GdalAlgorithm is an internal Processing class and should not<br>
> be used in 3rd party plugins.<br>
><br>
> The error happens because GdalAlgorithm class was refactored<br>
> and new mandatory methods were introduced. Personally I think<br>
> that all 3rd party plugins should use only public Processing API,<br>
> e.g. GeoAlgorithm class.<br>
><br>
> 2016-02-14 1:44 GMT+02:00 Pedro Venâncio <<a href="mailto:pedrongvenancio@gmail.com" target="_blank">pedrongvenancio@gmail.com</a>>:<br>
>> Hi Alexander and Victor,<br>
>><br>
>> Actually the problem seems related with the new shortHelp function,<br>
>> introduced in commit 62302377db1990485f7821f1ccef4ff6ef4d07d9.<br>
>><br>
>> Removing<br>
>><br>
>>     def shortHelp(self):<br>
>>         return self._formatHelp('''This algorithm is based on the GDAL %s<br>
>> module.<br>
>><br>
>>                 For more info, see the <a href =<br>
>> '<a href="http://www.gdal.org/%s.html" rel="noreferrer" target="_blank">http://www.gdal.org/%s.html</a>'> module help</a><br>
>>                 ''' %  (self.commandName(), self.commandName()))<br>
>><br>
>> from GdalAlgorithm.py prevents this error and these 3rd party plugins works<br>
>> ok.<br>
>><br>
>> Any hint to update them?<br>
>><br>
>> Thank you very much!<br>
>><br>
>> Best regards,<br>
>> Pedro Venâncio<br>
>><br>
>><br>
>><br>
>> 2016-02-08 11:20 GMT+00:00 Alexander Bruy <<a href="mailto:alexander.bruy@gmail.com" target="_blank">alexander.bruy@gmail.com</a>>:<br>
>>><br>
>>> Hi Paolo,<br>
>>><br>
>>> this is not a Processing issue, but bug in 3rd party plugin.<br>
>>> The bug is caused by fact that plugin uses internal Processing<br>
>>> classes (which was changed) instead of subclassing public<br>
>>> GeoAlgorithm class.<br>
>>><br>
>>><br>
>>> 2016-02-08 13:10 GMT+02:00 Paolo Cavallini <<a href="mailto:cavallini@faunalia.it" target="_blank">cavallini@faunalia.it</a>>:<br>
>>> > Hi all,<br>
>>> > I'm getting consistent errors in activating Processing on master, see<br>
>>> > below. Anyone has the same?<br>
>>> > All the best.<br>
>>> > ===<br>
>>> > An error has occurred while executing Python code:<br>
>>> ><br>
>>> > AttributeError: RasterAT_MGIETRS89DirInv instance has no attribute<br>
>>> > 'getConsoleCommands'<br>
>>> > Traceback (most recent call last):<br>
>>> >   File<br>
>>> > "/usr/share/qgis/python/plugins/processing/gui/ProcessingToolbox.py",<br>
>>> > line 105, in textChanged<br>
>>> >     self._filterItem(self.algorithmTree.invisibleRootItem(), text)<br>
>>> >   File<br>
>>> > "/usr/share/qgis/python/plugins/processing/gui/ProcessingToolbox.py",<br>
>>> > line 127, in _filterItem<br>
>>> >     showChild = self._filterItem(child, text)<br>
>>> >   File<br>
>>> > "/usr/share/qgis/python/plugins/processing/gui/ProcessingToolbox.py",<br>
>>> > line 127, in _filterItem<br>
>>> >     showChild = self._filterItem(child, text)<br>
>>> >   File<br>
>>> > "/usr/share/qgis/python/plugins/processing/gui/ProcessingToolbox.py",<br>
>>> > line 127, in _filterItem<br>
>>> >     showChild = self._filterItem(child, text)<br>
>>> >   File<br>
>>> > "/usr/share/qgis/python/plugins/processing/gui/ProcessingToolbox.py",<br>
>>> > line 135, in _filterItem<br>
>>> >     if item.alg.shortHelp() is not None:<br>
>>> >   File<br>
>>> > "/usr/share/qgis/python/plugins/processing/algs/gdal/GdalAlgorithm.py",<br>
>>> > line 56, in shortHelp<br>
>>> >     ''' %  (self.commandName(), self.commandName()))<br>
>>> >   File<br>
>>> > "/usr/share/qgis/python/plugins/processing/algs/gdal/GdalAlgorithm.py",<br>
>>> > line 64, in commandName<br>
>>> >     name = alg.getConsoleCommands()[0]<br>
>>> > AttributeError: RasterAT_MGIETRS89DirInv instance has no attribute<br>
>>> > 'getConsoleCommands'<br>
>>> > --<br>
>>> > Paolo Cavallini - <a href="http://www.faunalia.eu" rel="noreferrer" target="_blank">www.faunalia.eu</a><br>
>>> > QGIS & PostGIS courses: <a href="http://www.faunalia.eu/training.html" rel="noreferrer" target="_blank">http://www.faunalia.eu/training.html</a><br>
>>> > _______________________________________________<br>
>>> > Qgis-developer mailing list<br>
>>> > <a href="mailto:Qgis-developer@lists.osgeo.org" target="_blank">Qgis-developer@lists.osgeo.org</a><br>
>>> > List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
>>> > Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
>>><br>
>>><br>
>>><br>
>>> --<br>
>>> Alexander Bruy<br>
>>> _______________________________________________<br>
>>> Qgis-developer mailing list<br>
>>> <a href="mailto:Qgis-developer@lists.osgeo.org" target="_blank">Qgis-developer@lists.osgeo.org</a><br>
>>> List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
>>> Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
>><br>
>><br>
><br>
><br>
><br>
> --<br>
> Alexander Bruy<br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>