Re: [Qgis-user] Problem with PROCESSING-GRASS Algorithms

2019-03-04 Thread Claas Leiner

Yes,

I had the same problem (Ubuntu 16.04)

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,

Cöaas

--
-
GKG-Kassel - Dr.-Ing. Claas Leiner
QGIS-Support und mehr

Geodatenservice, Kartenwerkstatt &
GIS-Schule Kassel

Wilhelmshöher Allee 304 E
34131 Kassel
Tel. 0561/56013445
claas.lei...@gkg-kassel.de

http://www.gkg-kassel.de

Unterstützen Sie QGIS
QGIS-DE e.V. | http://qgis.de
QGIS Projekt | http://qgis.org/de/site/
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Problem with PROCESSING-GRASS Algorithms

2019-03-04 Thread Marie Silvestre
 Hi,
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 also tried with QGIS 3.4.4 with GRASS 7.2 on a Debian strech.
 
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 seen those two bug-reports that are now closed but didn't provide an 
answer: 
- https://issues.qgis.org/issues/21173
- https://issues.qgis.org/issues/20886 
I have absolutely no idea how to solve this apart from maybe moving to Ubuntu 
18 / Debian 10... or Windows..

Danilo, have you solved your problem?

Thanks for any help!Marie

Le dimanche 20 janvier 2019 à 18:24:48 UTC+1, Danilo Procaccini 
 a écrit :  
 
 Hi,every time I try to launch algorithms from processing - grass I've this 
error:
Traceback (most recent call last):
File 
"/usr/share/qgis/python/plugins/processing/algs/grass7/Grass7Algorithm.py", 
line 413, 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'
Debian 9, Qgis 3.4.4 - Madeira, Grass 7.2.0.Any suggestion?

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user  ___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] Problem with PROCESSING-GRASS Algorithms

2019-01-20 Thread Danilo Procaccini
Hi,
every time I try to launch algorithms from processing - grass I've this
error:

Traceback (most recent call last):
File
"/usr/share/qgis/python/plugins/processing/algs/grass7/Grass7Algorithm.py",
line 413, 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'

Debian 9, Qgis 3.4.4 - Madeira, Grass 7.2.0.
Any suggestion?
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user