[QGIS-it-user] Ubuntu 18.04 e New standalone console tool for running processing algorithms

Andrea Giudiceandrea andreaerdna a libero.it
Sab 25 Lug 2020 02:28:15 PDT


Totò wrote
> ma non cambia nulla

Strano... il mistero si infittisce!

Proprio ora ho voluto provare personalmente e ho installato Ubuntu 18.04.4
64 bit su una VM VirtualBox, host Windows 10 64 bit.

Mi sono collegato alla macchia virtuale da Windows con PuTTY tramite ssh,
quindi senza ambiente grafico.

Ho installato QGIS 3.14.1 tramite la solita procedura facilitata
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys
51F523511C7028C3
sudo add-apt-repository "deb     https://qgis.org/ubuntu `lsb_release -c -s`
main"
sudo apt-get update
sudo apt-get install qgis qgis-plugin-grass

Nessun problema durante l'installazione.
Vengono installati automaticamente, tra gli altri, anche GDAL 2.2.3 e GRASS
7.4.0.

Eseguo:
andrea a andrea-VirtualBox:~$ qgis_process plugins
qt.qpa.screen: QXcbConnection: Could not connect to display
Could not connect to any X display.


Eseguo:
andrea a andrea-VirtualBox:~$ env QT_QPA_PLATFORM='offscreen' qgis_process
plugins
Available plugins
(* indicates loaded plugins which implement Processing providers)

  processing


Eseguo:
andrea a andrea-VirtualBox:~$ env QT_QPA_PLATFORM='offscreen' qgis_process
list

e ottengo una lista di algoritmi con solo 1 3d:... e 190 native:...


Il file QGIS3.ini in ~/.local/share/QGIS/QGIS3/profiles/default/QGIS
contiene solo:
[qgis]
symbolsListGroupsIndex=0


aggiungo, dopo le precedenti, le due seguenti righe precedute da una riga
vuota:
[PythonPlugins]
processing=true


quindi salvo il file QGIS3.ini, che ora contiene:
[qgis]
symbolsListGroupsIndex=0

[PythonPlugins]
processing=true


Eseguo:
andrea a andrea-VirtualBox:~$ env QT_QPA_PLATFORM='offscreen' qgis_process
plugins
/usr/lib/python3/dist-packages/qgis/utils.py:743: DeprecationWarning: the
imp module is deprecated in favour of importlib; see the module's
documentation for alternative uses
  mod = _builtin_import(name, globals, locals, fromlist, level)
Problem with SAGA installation: SAGA was not found or is not correctly
installedAvailable plugins
(* indicates loaded plugins which implement Processing providers)

* processing


Eseguo:
andrea a andrea-VirtualBox:~$ env QT_QPA_PLATFORM='offscreen' qgis_process
list
/usr/lib/python3/dist-packages/qgis/utils.py:743: DeprecationWarning: the
imp module is deprecated in favour of importlib; see the module's
documentation for alternative uses
  mod = _builtin_import(name, globals, locals, fromlist, level)
Problem with SAGA installation: SAGA was not found or is not correctly
installedAvailable algorithms

più una lista di algoritmi: 1 3d:..., 55 gdal:..., 301 grass7:..., 190
native:... e 63 qgis:...






--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Italian-User-f5250612.html


Maggiori informazioni sulla lista QGIS-it-user