Hi, Mary, I had the same issue and I do believe it was because of a conflict in Python libraries. So I have done the following: sudo apt-get purge qgis sudo apt-get autoremove sudo apt-get install qgis
For me it was working. BR Hristo On Tuesday, February 28, 2017 at 9:18:18 PM UTC+1, Mary Engels wrote: > > Hello All, > > I am a new user and I am trying to add the PolygonClassStatistics module > to QGIS using OTB-5.10.0-Linux64. I have created an .xml file as described > in this wiki page > <https://wiki.orfeo-toolbox.org/index.php/QGIS_access_to_OTB_applications#How_to_compile_and_use_remote_modules_.28or_any_OTB_app.29_in_QGIS> > > and I can now see the module in my Processing Toolbox in QGIS. However, > when I try to run the module I get this set of errors: > > Traceback (most recent call last): > File > "/usr/share/qgis/python/plugins/processing/gui/ProcessingToolbox.py", line > 200, in executeAlgorithm > dlg = AlgorithmDialog(alg) > File "/usr/share/qgis/python/plugins/processing/gui/AlgorithmDialog.py", > line 65, in __init__ > AlgorithmDialogBase.__init__(self, alg) > File > "/usr/share/qgis/python/plugins/processing/gui/AlgorithmDialogBase.py", > line 62, in __init__ > isText, algHelp = self.alg.help() > File > "/usr/share/qgis/python/plugins/processing/algs/otb/OTBAlgorithm.py", line > 83, in help > raise (False, None) > TypeError: exceptions must be old-style classes or derived from > BaseException, not bool > > > I've found one other reference to errors like these here > <https://hub.qgis.org/issues/14096>, but the solution posted has already > been implemented in my files. For reference I am running > > > Python version: > 2.7.12 (default, Nov 19 2016, 06:48:10) > [GCC 5.4.0 20160609] > > QGIS version: > 2.8.6-Wien Wien, exported > > > Ubuntu 16.04 LTS > > Does anyone have suggestions on how to solve this error? > > > Best > > > Mary > -- -- Check the OTB FAQ at http://www.orfeo-toolbox.org/FAQ.html You received this message because you are subscribed to the Google Groups "otb-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/otb-users?hl=en --- You received this message because you are subscribed to the Google Groups "otb-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
