Bug report #10404
Processing module error
|Affected QGIS version:||2.2.0||Regression?:||No|
|Operating System:||MacOSX Mavericks||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||fixed/implemented|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||18820|
The latest processing module (2.2.0-2) broke functionality in the QGIS stable version (2.2) in MacOSX.
When we try to use any module (Saga, Orfeo or any other), the module stops with the following error:
An error has occured while executing Python code: Traceback (most recent call last): File "/Users/xxxxxx/.qgis2/python/plugins/processing/gui/AlgorithmExecutionDialog.py", line 265, in accept command = self.alg.getAsCommand() File "/Users/xxxxxx/.qgis2/python/plugins/processing/core/GeoAlgorithm.py", line 496, in getAsCommand s += out.getValueAsCommandLineParameter() + ',' File "/Users/xxxxxx/python/plugins/processing/outputs/Output.py", line 62, in getValueAsCommandLineParameter return '"' + str(self.value) + '"' UnicodeEncodeError: 'ascii' codec can't encode character u'\\xfa' in position 63: ordinal not in range(128)
Was working perfectly before. Any ideas?
#1 Updated by Rhenriques Henriques over 6 years ago
Just saw that you had a similar error (10403). Mine is a little bit different but I suppose that both requests have to do with similar things. Can these requests be merged?
If I use the "Save to temporary file" option the following sentence appears:
"coercing to Unicode: need string or buffer, QPyNullVariant found See log for more details"
Clearly dealing with "unicode" seems to be the problem.
#3 Updated by Rhenriques Henriques over 6 years ago
Another strange bug, that probably should be a new issue, is that the GRASS, SAGA and ORFEO modules, when a function is opened after an application startup, says that the module is not installed (see before image attached). If we go to the processing module options and disable and enable again the "Activation" button in each module, the functions become available (see after image attached).
#5 Updated by Rhenriques Henriques over 6 years ago
Any idea how I can do that under MacOSX Mavericks? The only available version beyond 2.2 stable is compiled by Larry Shaffer (qgis.dakotacarto.com) and it is version 2.3. This version, according to Larry, does not include SAGA, ORFEO or any other module of the processing Add-in (only GDAL ones).
My main interest is also to have work done, so it's important to have a stable and working version. If the errors could be patched in this version, by substituting faulty models, better.
#6 Updated by Giovanni Manghi over 6 years ago
Rhenriques Henriques wrote:
Any idea how I can do that under MacOSX Mavericks?
I don't have a Mac so I cannot say. Anyway it would help if you can help us for example by testing QGIS at the same time in a Linux/Windows Virtual Machine, this would help understand if certain issues are Mac only. We can eventually speak about this at the QGIS user meeting this Monday in Coimbra or just phone me.
#7 Updated by Rhenriques Henriques over 6 years ago
I've installed QGIS 2.3, compiled by Larry Shaffer. Somehow, it can use the SAGA and ORFEO modules from the stable QGIS (same path in processing module maybe). Apparently, the 2.3 version does not show the same problem. We also have to deactivate and activate again a module, from the processing options, for getting all modules to work (probably a new bug). However, the error in the top of this message does not show up, at least until now.
Unfortunately, due to demanding work schedule, I will not be able to go to Coimbra. I would certainly like to.
Is there any slight possibility that you are confusing me with someone else? ;-)
I do not have your phone :-)