27 Commits

Author SHA1 Message Date
Nyall Dawson
eb41d18c6f Add ext path to json 2023-12-08 19:35:06 +10:00
Nyall Dawson
356cbcbe10 Add script to create json version of aggregated grass txt description files 2023-12-08 19:35:06 +10:00
Nyall Dawson
83d6ea461b Move description file parsing out to separate class 2023-12-08 19:35:06 +10:00
Juergen E. Fischer
3e774edcb6 grass on windows:
* avoid running grassMm.bat found in the current directory
* avoid finding and running GRASS pager found in the current directory
2023-08-05 10:49:09 +10:00
AlisterH
158b0e2bae Use more pathlib instead of os module 2023-07-06 13:45:15 +10:00
AlisterH
5e29c75d2f Update python/plugins/grassprovider/Grass7Utils.py
Co-authored-by: Loïc Bartoletti <lbartoletti@users.noreply.github.com>
2023-07-06 13:45:15 +10:00
AlisterH
6cc773d758 Add comments 2023-07-06 13:45:15 +10:00
AlisterH
c0ca40aebb add userDescriptionFolder() method 2023-07-06 13:45:15 +10:00
AlisterH
2c006b185d fix lint errors 2023-07-06 13:45:15 +10:00
AlisterH
f08e5e9469 support grass algorithms in profile folder 2023-07-06 13:45:15 +10:00
Loïc Bartoletti
9938c594d0 [GRASS] Use -stable link to manuals 2023-06-07 10:00:23 +10:00
Nyall Dawson
b141f2f7b4
Fix grass provider points to out of date help documents
Instead of storing the calculated default URL for the help
documentation within the user's profile, make the help
PATH setting an optional override. This avoids the setting persisting
an older help URL when the user's grass installation is
updated to a newer version.

Change the existing setting key to a new one so that the
setting is reset for all users, so that old profile
settings don't apply and override the default.

Fixes #53105
2023-06-06 08:48:05 +10:00
Etienne Trimaille
8f33d5ee70 Upgrade DBManager and Grass plugins to Python 3.X 2023-04-26 08:24:00 +10:00
Nyall Dawson
30598b9ad9 Pass QgsProcessingContext on to all processing functions which
generate temporary file names
2023-03-21 03:50:08 +10:00
Kanahiro
e3a89bf794 lint 2022-08-14 00:29:29 +09:00
Kanahiro
4a2a5b2904 Merge branch 'fix/grass7-unicodeerror' of github.com:Kanahiro/QGIS into fix/grass7-unicodeerror 2022-08-14 00:26:16 +09:00
Kanahiro
d442230bd0 wrap stdout decode in saga, improve docstr 2022-08-14 00:25:38 +09:00
Loïc Bartoletti
3908efb4ba
Use expect UnicodeDecodeError
Avoid too broad exception

Co-authored-by: nicogodet <39594821+nicogodet@users.noreply.github.com>
2022-07-20 07:38:53 +02:00
Kanahiro
b417842d38 change replace char to empty 2022-07-20 13:03:57 +09:00
Kanahiro
563767971e lint 2022-07-03 14:29:15 +09:00
Kanahiro
a632932b09 wrap decode stdout with try-except 2022-07-03 14:17:55 +09:00
Kanahiro
2b2f0eb642 wrap decode stdout with try-except 2022-07-03 13:59:25 +09:00
Alexander Bruy
a5baaf3ef8 [processing] reword error messages about missing GRASS (fix #46052) 2022-02-03 20:51:34 +10:00
Juergen E. Fischer
ac7638238d detect grass 8 in processing provider 2022-02-02 17:58:07 +01:00
PeterPetrik
0150ab8708 fix #41870 force UTF-8 encoding for prj files 2021-10-06 06:10:30 +10:00
Alexander Bruy
90521e660d avoid bare 'except' 2021-06-21 07:17:36 +03:00
Alexander Bruy
a62fd8c7cd separate processing grass provider into a plugin 2021-06-21 07:17:35 +03:00