-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
grass algorithms in processing does not work (qgis 3.4.4 grass 7.6) #28991
Comments
Author Name: Jürgen Fischer (@jef-n)
|
Author Name: Jürgen Fischer (@jef-n)
|
Author Name: Luigi Pirelli (@luipir) tested on master with v.overlay and v.buffer and they works correctly |
Author Name: Marie Silvestre (@MarieSilvestre) I have the exact same problem. I'm running QGIS 3.4.5 with GRASS 7.6 on Ubuntu 16.04 Xenial (I have reinstalled QGIS from the ubuntugis-ltr repository today). I have no problem running GRASS in standalone but as soon as I try to run any GRASS algo from QGIS toolbox, I get this error: init() got an unexpected keyword argument 'encoding' I have absolutely no idea how to solve this apart from maybe moving to Ubuntu 18 / Debian 10... or Windows... Claas Leiner, have you solved your problem? |
Author Name: Claas Leiner (@claasleiner) The problem persists. My Workaroud: Open the file /usr/share/qgis/python/plugins/processing/algs/grass7/Grass7Utils.py and delete every line with: encoding="cp{}".format(Grass7Utils.getWindowsCodePage()) if isWindows() else None, After that I can run Processing-Grass-Commands. The problem does not seem to exist with all QGIS installation on Ubuntu. I use Ubuntu 16.04 and QGIS with unbuntugis dependencies. Claas
|
Author Name: Nyall Dawson (@nyalldawson) Applied in changeset 5fca18c.
|
Author Name: Claas Leiner (@claasleiner)
Original Redmine Issue: 21173
Affected QGIS version: 3.4.4
Redmine category:processing/grass
The Grass algorithms in the toolbox does not work and stop with an error message.
e.g. v.buffer and v.overlay.
qgis 3.4.4 / grass 7.6 / Ubuntu 16.04.
2019-02-05T13:25:38 CRITICAL Traceback (most recent call last):
File "/usr/share/qgis/python/plugins/processing/algs/grass7/Grass7Algorithm.py", line 423, in processAlgorithm
Grass7Utils.executeGrass(self.commands, feedback, self.outputCommands)
File "/usr/share/qgis/python/plugins/processing/algs/grass7/Grass7Utils.py", line 373, in executeGrass
startupinfo=si if isWindows() else None
TypeError: init() got an unexpected keyword argument 'encoding'
Related issue(s): #28705 (duplicates)
Redmine related issue(s): 20886
The text was updated successfully, but these errors were encountered: