-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[processing] replace str() with unicode() to avoid possible issues with
non-ASCII characters (work in progress)
- Loading branch information
Showing
3 changed files
with
22 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2d835fb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi Alexander,
These changes do not fix the problem completely.
On Linux, everything ok.
On windows, the problem persists:
Uncaught error while executing algorithm
Traceback (most recent call last):
Traceback (most recent call last):
File "C:/OSGEO4
1/apps/qgis-dev/./python/plugins\processing\core\GeoAlgorithm.py", line 212, in execute1/apps/qgis-dev/./python/plugins\processing\algs\gdal\GdalUtils.py", line 78, in runGdalself.processAlgorithm(progress)
File "C:/Users/win7/.qgis2/python/plugins\processing_pttransform\UTM29NED50ToETR89PTTM06_Raster.py", line 77, in processAlgorithm
progress)
File "C:/OSGEO4
universal_newlines=False,
File "C:\OSGEO4
1\apps\Python27\lib\subprocess.py", line 711, in init1\apps\Python27\lib\subprocess.py", line 922, in _execute_childerrread, errwrite)
File "C:\OSGEO4
args = '{} /c "{}"'.format (comspec, args)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xf3' in position 237: ordinal not in range(128)
2d835fb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for feedback, will look at this