Re: [Qgis-user] use the new standalone console processing tool, in a server without a GUI

2020-07-16 Thread Totò
Totò wrote
> Hello,
> i have linux Ubuntu 18.04 bionic,
> 
> I launched this:
> 
> sudo apt-get install gnupg software-properties-common
> sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys
> 51F523511C7028C3
> sudo add-apt-repository "deb https://qgis.org/ubuntugis `lsb_release
> -c
> -s` main"
> sudo apt-get update
> sudo apt-get install qgis qgis-plugin-grass
> 
> just finished I launched qgis --version:
> QGIS 3.14.0-Pi 'Pi' (9f7028fd23)
> 
> but by running qgis_process list or any other command valid for
> qgis_process
> I always get:
> 
> QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/ tmp /
> runtime-pigreco'
> qt.qpa.screen: QXcbConnection: Could not connect to display
> Could not connect to any X display.
> 
> how can i fix it ??

you need to set this variable:

export QT_QPA_PLATFORM = 'offscreen'

thanks to Andrea Giudiceandrea

In addition, all parameters must be defined.

Is it a bug ??



-
https://pigrecoinfinito.wordpress.com/
--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html
___
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] use the new standalone console processing tool, in a server without a GUI

2020-07-15 Thread Totò
Hello,
i have linux Ubuntu 18.04 bionic,

I launched this:

sudo apt-get install gnupg software-properties-common
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys
51F523511C7028C3
sudo add-apt-repository "deb https://qgis.org/ubuntugis `lsb_release -c
-s` main"
sudo apt-get update
sudo apt-get install qgis qgis-plugin-grass

just finished I launched qgis --version:
QGIS 3.14.0-Pi 'Pi' (9f7028fd23)

but by running qgis_process list or any other command valid for qgis_process
I always get:

QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/ tmp /
runtime-pigreco'
qt.qpa.screen: QXcbConnection: Could not connect to display
Could not connect to any X display.

how can i fix it ??



-
https://pigrecoinfinito.wordpress.com/
--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html
___
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] use the new standalone console processing tool, in a server without a GUI

2020-07-14 Thread aborruso
Hi Jurgen,


Jürgen E. Fischer wrote
> Bullseye is debian (but as ubuntu is a symlink to debian that doesn't
> matter
> anyway) and not yet supported.  You could try unstable.

I have added unstable. Now when I run "sudo apt-get install qgis", I have

The following packages have unmet dependencies:
 qgis : Depends: libqgis-3d3.14.0 but it is not going to be installed
Depends: libqgis-analysis3.14.0 but it is not going to be installed
Depends: libqgis-app3.14.0 but it is not going to be installed
Depends: libqgis-core3.14.0 but it is not going to be installed
Depends: libqgis-gui3.14.0 but it is not going to be installed
Depends: libqt5core5a (>= 5.12.2) but 5.11.3+dfsg1-4 is to be
installed
Depends: libqt5webkit5 (>= 5.212.0~alpha3) but it is not going to be
installed
Depends: python3-qgis (= 1:3.14.0+99unstable-1) but it is not going
to be installed
Depends: qgis-providers (= 1:3.14.0+99unstable-1) but it is not
going to be installed
Recommends: qgis-plugin-grass but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Do I must install all the packages in this list? If yes, via apt or pip?

Thank you



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html
___
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] use the new standalone console processing tool, in a server without a GUI

2020-07-14 Thread Jürgen E . Fischer
Hi,

On Tue, 14. Jul 2020 at 09:22:00 -0700, aborruso wrote:
> If I run `sudo add-apt-repository "deb https://qgis.org/ubuntu
> `lsb_release -c -s` main"` and then `sudo apt-get update`, I have `The
> repository 'https://qgis.org/ubuntu bullseye Release' does not have a
> Release file.`

Bullseye is debian (but as ubuntu is a symlink to debian that doesn't matter
anyway) and not yet supported.  You could try unstable.

See the "advanced" debian/ubuntu section.


Jürgen

-- 
Jürgen E. Fischer   norBIT GmbH Tel. +49-4931-918175-31
Dipl.-Inf. (FH) Rheinstraße 13  Fax. +49-4931-918175-50
Software Engineer   D-26506 Nordenhttps://www.norbit.de
QGIS release manager (PSC)  GermanyIRC: jef on FreeNode


signature.asc
Description: PGP signature
___
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] use the new standalone console processing tool, in a server without a GUI

2020-07-14 Thread aborruso
Hi Alexandre,
and thank you.


Alexandre Neto wrote
> You need to install QGIS 3.14 using the standard method for debian, no GUI
> is needed for that. Then, after the installation, you will be able to call
> qgis_process from the terminal.

I'm using the standard method
https://www.qgis.org/en/site/forusers/alldownloads.html#debian-ubuntu

If I run `sudo add-apt-repository "deb https://qgis.org/ubuntu
`lsb_release -c -s` main"` and then `sudo apt-get update`, I have `The
repository 'https://qgis.org/ubuntu bullseye Release' does not have a
Release file.`

What's the right way to add the repository? Which dist
(https://qgis.org/ubuntu/dists/) I must use?

Best regards 






--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html
___
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] use the new standalone console processing tool, in a server without a GUI

2020-07-14 Thread Alexandre Neto
Hi,

You need to install QGIS 3.14 using the standard method for debian, no GUI
is needed for that. Then, after the installation, you will be able to call
qgis_process from the terminal.

Here's some information about qgis_process command line tool while it's
being prepared for the official documentation.

https://github.com/qgis/QGIS-Documentation/issues/5803

Best regards,

Alexandre Neto

QGIS Support

https://www.qcooperative.net

A terça, 14/07/2020, 11:52, aborruso  escreveu:

> Hi,
> I have a server without GUI, Debian 11 based.
>
> Is there a way to install QGIS and use the new standalone console tool for
> running processing algorithms (https://github.com/qgis/QGIS/pull/34617)
> only
> via bash scripts?
> I think yes, but I do not know how to do it.
>
> Probably I should start from "sudo apt-key adv --keyserver
> keyserver.ubuntu.com --recv-keys 51F523511C7028C3".
>
> And then add the dev repository, but it would be great to have some step by
> step installation instruction.
>
> Thank you
>
>
>
> --
> Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html
> ___
> 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