Re: [Qgis-user] Hide/Show form field depending on precedent field values

2021-06-11 Per discussione Arnaud Vandecasteele
Hi Andreas,

Thank you very much.
This was exactly what I was looking for.
As you said, It requires adding a group. This requires an extra step when
you want to control the visibility field by field.
But it works !

Byt the way, I was looking to do this for using this project with the Input
App.
Your solution works as well in Input.

Thanks again,

Arnaud


On Fri, Jun 11, 2021 at 10:09 AM Andreas Neumann 
wrote:

> Hi Arnaud,
>
> You cannot have conditional visibility on a single widget (unless you do
> it yourself with Python), but you can have conditional visibility on a
> group based on an expression that can reference the value of another field.
>
> Create a "Group" container in the drag and drop form with the "green plus"
> icon. Then click on the group, activate the "Control visibility by
> Expression" and enter your expression. The expression needs to return 1 for
> visible or 0 for not visible.
>
> Hope this helps,
>
> Andreas
>
> On 2021-06-11 07:01, Arnaud Vandecasteele wrote:
>
> Hi,
>
> When creating a form by drag and drop fields, all fields are displayed
> unless you choose the hidden widget or you remove them from the field.
>
> But how to hide or show a form field depending on whether the user has
> completed a previous field?
>
> Thanks,
>
> Arnaud
>
> --
> 
> Arnaud Vandecasteele
>
>
>
> ___
> 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
>
>
>

-- 

Arnaud Vandecasteele
___
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] Hide/Show form field depending on precedent field values

2021-06-10 Per discussione Arnaud Vandecasteele
Hi,

When creating a form by drag and drop fields, all fields are displayed
unless you choose the hidden widget or you remove them from the field.

But how to hide or show a form field depending on whether the user has
completed a previous field?

Thanks,

Arnaud

-- 

Arnaud Vandecasteele
___
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] QGIS Server error message - QNetworkDiskCache::prepare()

2021-04-09 Per discussione Arnaud Vandecasteele
Hello,

When I check the logs of my QGIS server I always get the same error:
QNetworkDiskCache::prepare() unable to open temporary file

Could you tell me if this is related to an appropriate configuration?
Does it have any performance consequences?

In previous discussions, one solution was to add the parameter
FcgidInitialEnv QGIS_PREFIX_PATH /usr to the virtualhost. However, in my
case, this did not change anything to the display of this error.

Thanks in advance

-- 

Arnaud Vandecasteele
___
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] Disabling the layer availability check when opening QGIS project

2020-04-04 Per discussione Arnaud Vandecasteele
Hi Regis,

Thanks for your reply.
I will try with your idea.

Regards,

Arnaud

On Fri, Apr 3, 2020 at 10:09 PM Régis Haubourg 
wrote:

> Hi,
> Maybe reducing the time out delay of the network queries could help.
> Best regards
> Régis
>
> Le ven. 3 avr. 2020 à 14:16, Arnaud Vandecasteele 
> a écrit :
>
>>
>> Hi,
>>
>> Sorry for the double post, I didn't realize that I was posting on the
>> English mailing list.
>>
>> In a workshop on QGIS, a participant asked me a question and I didn't
>> have the answer to. This participant wanted to know if it was possible when
>> opening a QGIS project to disable the layer availability check. Indeed, in
>> the case of remote layers (e.g. WMS) and a slow internet connection, this
>> causes a very long loading time of the project.
>>
>> Would there be a way to disable this check?
>>
>> Thank you in advance,
>>
>> Arnaud
>>
>> --
>> 
>> Arnaud Vandecasteele
>>
>>
>> ___
>> 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
>
>

-- 

Arnaud Vandecasteele
___
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] Disabling the layer availability check when opening QGIS project

2020-04-03 Per discussione Arnaud Vandecasteele
Hi,

Sorry for the double post, I didn't realize that I was posting on the
English mailing list.

In a workshop on QGIS, a participant asked me a question and I didn't have
the answer to. This participant wanted to know if it was possible when
opening a QGIS project to disable the layer availability check. Indeed, in
the case of remote layers (e.g. WMS) and a slow internet connection, this
causes a very long loading time of the project.

Would there be a way to disable this check?

Thank you in advance,

Arnaud

-- 

Arnaud Vandecasteele
___
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] Désactivation de la vérification de la disponibilité des couches

2020-04-03 Per discussione Arnaud Vandecasteele
 Bonjour,

Dans le cadre d'un atelier sur QGIS, un participant m'a posé une question à
laquelle je n'avais pas la réponse. Ce participant souhaitait savoir s'il
était possible de désactiver la vérification de la disponibilité des
couches. En effet, dans le cas de couches distantes (ex. WMS) et d'une
connexion internet lente, cela provoque un temps de chargement très long du
projet.

Il y aurait-il un moyen de désactiver ce contrôle ?

Merci d'avance,

Arnaud

-- 

Arnaud Vandecasteele
___
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] Qgis-user Digest, Vol 166, Issue 14

2019-12-13 Per discussione Arnaud Vandecasteele
Hi,

I've finally found the problem.

My qgis server works configuration is defined inside a virtual host :

ServerAdmin ***
ServerName ***
ServerAlias ***
DocumentRoot***

FcgidInitialEnv DISPLAY ":99"
FcgidInitialEnv QGIS_SERVER_LOG_LEVEL "0"
FcgidInitialEnv QGIS_SERVER_LOG_STDERR "1"
FcgidInitialEnv QGIS_AUTH_DB_DIR_PATH "/home/qgis/qgisserverdb/"
FcgidInitialEnv QGIS_AUTH_PASSWORD_FILE
"/home/qgis/qgisserverdb/qgis-auth.db"
FcgidInitialEnv QGIS_PREFIX_PATH /usradd
FcgidInitialEnv QGIS_OPTIONS_PATH "/home/qgis/qgisserver/"

SetHandler fcgid-script
FcgidWrapper /usr/lib/cgi-bin/qgis_mapserv.fcgi virtual
Options +ExecCGI -MultiViews +FollowSymLinks
Require all granted


ErrorLog ${APACHE_LOG_DIR}/map-error.log
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/map-access.log combined


Now if I add the parameters QGIS_AUTH_DB_DIR_PATH and
QGIS_AUTH_PASSWORD_FILE in 000-default.conf (instead of the specific map
virtual host) the XYZ tiles are loaded and the qgis-auth.db files is
created.

I would prefer to keep all the parameters inside the same virtual host
config file but at least I've a working solution.

Thanks all of you for help !

Best,

Arnaud


On Fri, Dec 13, 2019 at 12:51 PM  wrote:

> Send Qgis-user mailing list submissions to
> qgis-user@lists.osgeo.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.osgeo.org/mailman/listinfo/qgis-user
> or, via email, send a message with subject or body 'help' to
> qgis-user-requ...@lists.osgeo.org
>
> You can reach the person managing the list at
> qgis-user-ow...@lists.osgeo.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Qgis-user digest..."
>
>
> Today's Topics:
>
>1. Re: Working with DEMs (Dave Gardiner)
>2. Re: Working with DEMs (Bernd Vogelgesang)
>3. Re: QGIS Server / GetPrint not rendering all the layers (XYZ
>   Tiles for example) (Etienne Trimaille)
>4. Re: Working with DEMs (Dave Gardiner)
>5. Re: Working with DEMs (Bernd Vogelgesang)
>6. Re: QGIS Server / GetPrint not rendering all the layers (XYZ
>   Tiles for example) (Arnaud Vandecasteele)
>7. Re: QGIS Server / GetPrint not rendering all the layers (XYZ
>   Tiles for example) (Alessandro Pasotti)
>
>
> --
>
> Message: 1
> Date: Thu, 12 Dec 2019 23:55:15 -0700 (MST)
> From: Dave Gardiner <2dave.gardi...@gmail.com>
> To: qgis-user@lists.osgeo.org
> Subject: Re: [Qgis-user] Working with DEMs
> Message-ID: <1576220115629-0.p...@n6.nabble.com>
> Content-Type: text/plain; charset=us-ascii
>
> Hi Harvard
>
> I have extracted the nodes from the contour lines with the elevation field
> extracted. Could you please explain further how I generate a raster using a
> tin or spline interpolation. Where are these commands (Version 3.4.13).
>
> Kind Regards
> Dave
>
>
>
> --
> Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html
>
>
> --
>
> Message: 2
> Date: Fri, 13 Dec 2019 08:05:58 +0100
> From: Bernd Vogelgesang 
> To: qgis-user@lists.osgeo.org
> Subject: Re: [Qgis-user] Working with DEMs
> Message-ID: <94cc9324-c6a0-d5d5-9b42-74ae35192...@gmx.de>
> Content-Type: text/plain; charset=utf-8; format=flowed
>
> just type "interpolation" into the search field of the tool box, and all
> the functions will jump right into your face.
>
> Am 13.12.19 um 07:55 schrieb Dave Gardiner:
> > Hi Harvard
> >
> > I have extracted the nodes from the contour lines with the elevation
> field
> > extracted. Could you please explain further how I generate a raster
> using a
> > tin or spline interpolation. Where are these commands (Version 3.4.13).
> >
> > Kind Regards
> > Dave
> >
> >
> >
> > --
> > 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
>
>
> --
>
> Message: 3
> Date: Fri, 13 Dec 2019 08:36:59 +0100
> From: Etienne Trimaille 
> To: Arnaud Vandecasteele 
> Cc: qgis-user 
> Subject: Re: [Qgis-user] QGIS Server / GetPrint not rendering all the
&g

Re: [Qgis-user] QGIS Server / GetPrint not rendering all the layers (XYZ Tiles for example)

2019-12-13 Per discussione Arnaud Vandecasteele
Hi All,

I've changed the configuration fro :
FcgidInitialEnv QGIS_AUTH_DB_DIR_PATH "/tmp/qgisserver"
FcgidInitialEnv QGIS_AUTH_PASSWORD_FILE "/tmp/qgisserver/qgis-auth.db"

The qgisserver Folder inside tmp belongs to www-data and for tje test I set
the permission to 777 :
ls -l /tmp/
drwxrwxrwx 2 www-data www-data 4096 Dec 13 11:01 qgisserver

Event with that no qgis-auth.db has been created and still the same error
messages :

ERROR: Auth db directory path could not be created
Initializing server modules from  "/usr/lib/qgis/server"
"Checking /usr/lib/qgis/server for native services modules"
"Loading native module /usr/lib/qgis/server/libdummy.so"
"Loading native module /usr/lib/qgis/server/libwcs.so"
"Loading native module /usr/lib/qgis/server/libwfs.so"
"Loading native module /usr/lib/qgis/server/libwms.so"
"Loading native module /usr/lib/qgis/server/libwmts.so"
ERROR: Opening of authentication db FAILED
QSqlQuery::prepare: database not open
WARNING: Auth db query exec() FAILED


Arnaud



On Fri, Dec 13, 2019 at 1:06 PM Werner Macho  wrote:

> Hi,
>
> To me it looks like the server cannot create the path to store its
> credentials:
>
> ERROR: Auth db directory path could not be created
>
> Could you probably check permissions if the server is allowed to write
> there?
>
> regards
> Werner
>
> On Fri, Dec 13, 2019 at 10:03 AM Arnaud Vandecasteele <
> arnaud@gmail.com> wrote:
>
>> Hi Alessandro,
>>
>> Indeed there is no db file created.
>> I've checked the link you gave me, but I don't know what to with this. Am
>> I suppose to execute something ?
>>
>> Best,
>>
>> Arnaud
>>
>>
>> Le ven. 13 déc. 2019 à 12:50, Alessandro Pasotti  a
>> écrit :
>>
>>>
>>>
>>> On Fri, Dec 13, 2019 at 9:17 AM Arnaud Vandecasteele <
>>> arnaud@gmail.com> wrote:
>>>
>>>> Hi Etienne,
>>>>
>>>> Thanks for your help.
>>>> As suggested, I change the config for :
>>>>
>>>> FcgidInitialEnv DISPLAY ":99"
>>>> FcgidInitialEnv QGIS_SERVER_LOG_LEVEL "0"
>>>> FcgidInitialEnv QGIS_SERVER_LOG_STDERR "1"
>>>> FcgidInitialEnv QGIS_AUTH_DB_DIR_PATH
>>>> "/home/arnaudvandecasteele/qgisserver"
>>>> FcgidInitialEnv QGIS_AUTH_PASSWORD_FILE
>>>> "/home/arnaudvandecasteele/qgisserver/qgis-auth.db"
>>>> FcgidInitialEnv QGIS_PREFIX_PATH /usr
>>>> FcgidInitialEnv QGIS_OPTIONS_PATH
>>>> "/home/arnaudvandecasteele/qgisserver/
>>>>
>>>> The folder rights looks ok.
>>>> ls -l
>>>> drwxrwxr-x 2 www-datawww-data  4096 Dec 13
>>>> 08:45 qgisserver
>>>>
>>>> Unfortunately the error remain :
>>>> *
>>>> Warning 1: Unable to find driver ECW to unload from GDAL_SKIP
>>>> environment variable.
>>>> Warning 1: Unable to find driver ECW to unload from GDAL_SKIP
>>>> environment variable.
>>>> Warning 1: Unable to find driver JP2ECW to unload from GDAL_SKIP
>>>> environment variable.
>>>> Warning 1: Unable to find driver ECW to unload from GDAL_SKIP
>>>> environment variable.
>>>> Warning 1: Unable to find driver JP2ECW to unload from GDAL_SKIP
>>>> environment variable.
>>>> ERROR: Auth db directory path could not be created
>>>> Initializing server modules from  "/usr/lib/qgis/server"
>>>>
>>>> "Checking /usr/lib/qgis/server for native services modules"
>>>> "Loading native module /usr/lib/qgis/server/libdummy.so"
>>>> "Loading native module /usr/lib/qgis/server/libwcs.so"
>>>> "Loading native module /usr/lib/qgis/server/libwfs.so"
>>>> "Loading native module /usr/lib/qgis/server/libwms.so"
>>>> "Loading native module /usr/lib/qgis/server/libwmts.so"
>>>> ERROR: Opening of authentication db FAILED
>>>> QSqlQuery::prepare: database not open
>>>> WARNING: Auth db query exec() FAILED
>>>> *
>>>>
>>>> As I understand the use of the authentification system in desktop mode,
>>>> it is still a bit confusing for me when using a server.
>>>> For example, I don't have any qgis-auth.db file on my server. Do I have
>>>> to copy it from my desktop

Re: [Qgis-user] QGIS Server / GetPrint not rendering all the layers (XYZ Tiles for example)

2019-12-13 Per discussione Arnaud Vandecasteele
Hi Alessandro,

Indeed there is no db file created.
I've checked the link you gave me, but I don't know what to with this. Am I
suppose to execute something ?

Best,

Arnaud


Le ven. 13 déc. 2019 à 12:50, Alessandro Pasotti  a
écrit :

>
>
> On Fri, Dec 13, 2019 at 9:17 AM Arnaud Vandecasteele 
> wrote:
>
>> Hi Etienne,
>>
>> Thanks for your help.
>> As suggested, I change the config for :
>>
>> FcgidInitialEnv DISPLAY ":99"
>> FcgidInitialEnv QGIS_SERVER_LOG_LEVEL "0"
>> FcgidInitialEnv QGIS_SERVER_LOG_STDERR "1"
>> FcgidInitialEnv QGIS_AUTH_DB_DIR_PATH
>> "/home/arnaudvandecasteele/qgisserver"
>> FcgidInitialEnv QGIS_AUTH_PASSWORD_FILE
>> "/home/arnaudvandecasteele/qgisserver/qgis-auth.db"
>> FcgidInitialEnv QGIS_PREFIX_PATH /usr
>> FcgidInitialEnv QGIS_OPTIONS_PATH
>> "/home/arnaudvandecasteele/qgisserver/
>>
>> The folder rights looks ok.
>> ls -l
>> drwxrwxr-x 2 www-datawww-data  4096 Dec 13
>> 08:45 qgisserver
>>
>> Unfortunately the error remain :
>> *
>> Warning 1: Unable to find driver ECW to unload from GDAL_SKIP environment
>> variable.
>> Warning 1: Unable to find driver ECW to unload from GDAL_SKIP environment
>> variable.
>> Warning 1: Unable to find driver JP2ECW to unload from GDAL_SKIP
>> environment variable.
>> Warning 1: Unable to find driver ECW to unload from GDAL_SKIP environment
>> variable.
>> Warning 1: Unable to find driver JP2ECW to unload from GDAL_SKIP
>> environment variable.
>> ERROR: Auth db directory path could not be created
>> Initializing server modules from  "/usr/lib/qgis/server"
>>
>> "Checking /usr/lib/qgis/server for native services modules"
>> "Loading native module /usr/lib/qgis/server/libdummy.so"
>> "Loading native module /usr/lib/qgis/server/libwcs.so"
>> "Loading native module /usr/lib/qgis/server/libwfs.so"
>> "Loading native module /usr/lib/qgis/server/libwms.so"
>> "Loading native module /usr/lib/qgis/server/libwmts.so"
>> ERROR: Opening of authentication db FAILED
>> QSqlQuery::prepare: database not open
>> WARNING: Auth db query exec() FAILED
>> *
>>
>> As I understand the use of the authentification system in desktop mode,
>> it is still a bit confusing for me when using a server.
>> For example, I don't have any qgis-auth.db file on my server. Do I have
>> to copy it from my desktop ?
>>
>
>
> Hi,
>
> no, you don't need to copy it unless you want to use the credentials
> you've stored in it.
>
> The DB will be created automatically if it doesn't exist when QGIS Server
> process starts.
>
> See:
> https://github.com/qgis/QGIS/blob/master/src/server/qgsserver.cpp#L245
>
>
>
>> Thanks again,
>>
>> Best,
>>
>> Arnaud
>>
>>
>> On Fri, Dec 13, 2019 at 11:37 AM Etienne Trimaille <
>> etienne.trimai...@gmail.com> wrote:
>>
>>> Hi Arnaud,
>>>
>>> It looks like a cache write issue.
>>>
>>> QGIS_OPTIONS_PATH must be a directory, not a file path.
>>>
>>> https://docs.qgis.org/testing/en/docs/user_manual/working_with_ogc/server/config.html#qgis-options-path
>>>
>>> I would add QGIS_OPTIONS_PATH too. And check that the profile is
>>> writable for QGIS Server (www-data?). After the GetPrint request, I think
>>> you should see the cache folder created.
>>>
>>> This my config :
>>>
>>> QGIS_CUSTOM_CONFIG_PATH=/home/etienne/dev/qgis/server_home/profile
>>> QGIS_OPTIONS_PATH=/home/etienne/dev/qgis/server_home
>>> QGIS_PLUGINPATH=/home/etienne/dev/qgis/server_plugin
>>>
>>> Can you check that?
>>>
>>>
>>>
>>> Le ven. 13 déc. 2019 à 07:25, Arnaud Vandecasteele 
>>> a écrit :
>>>
>>>> 
>>>> Distribution Ubuntu
>>>> QGIS Server on server -> Version: 3.4.11+dfsg-2~bionic1
>>>> QGIS Server on computer -> Version: 3.4.13+dfsg-3~bionic2
>>>> 
>>>>
>>>> I have QGIS Server installed on my computer and on my server. The same
>>>> project is used on both. This project is very simple and contains a SHP
>>>> layer and a XYZ OpenStreetMap layer. When printing the map (GetPrint) on my
>>>> computer all layers are correctly displayed.
>>>> The same operatio

Re: [Qgis-user] QGIS Server / GetPrint not rendering all the layers (XYZ Tiles for example)

2019-12-13 Per discussione Arnaud Vandecasteele
Hi Etienne,

Thanks for your help.
As suggested, I change the config for :

FcgidInitialEnv DISPLAY ":99"
FcgidInitialEnv QGIS_SERVER_LOG_LEVEL "0"
FcgidInitialEnv QGIS_SERVER_LOG_STDERR "1"
FcgidInitialEnv QGIS_AUTH_DB_DIR_PATH
"/home/arnaudvandecasteele/qgisserver"
FcgidInitialEnv QGIS_AUTH_PASSWORD_FILE
"/home/arnaudvandecasteele/qgisserver/qgis-auth.db"
FcgidInitialEnv QGIS_PREFIX_PATH /usr
FcgidInitialEnv QGIS_OPTIONS_PATH
"/home/arnaudvandecasteele/qgisserver/

The folder rights looks ok.
ls -l
drwxrwxr-x 2 www-datawww-data  4096 Dec 13
08:45 qgisserver

Unfortunately the error remain :
*
Warning 1: Unable to find driver ECW to unload from GDAL_SKIP environment
variable.
Warning 1: Unable to find driver ECW to unload from GDAL_SKIP environment
variable.
Warning 1: Unable to find driver JP2ECW to unload from GDAL_SKIP
environment variable.
Warning 1: Unable to find driver ECW to unload from GDAL_SKIP environment
variable.
Warning 1: Unable to find driver JP2ECW to unload from GDAL_SKIP
environment variable.
ERROR: Auth db directory path could not be created
Initializing server modules from  "/usr/lib/qgis/server"

"Checking /usr/lib/qgis/server for native services modules"
"Loading native module /usr/lib/qgis/server/libdummy.so"
"Loading native module /usr/lib/qgis/server/libwcs.so"
"Loading native module /usr/lib/qgis/server/libwfs.so"
"Loading native module /usr/lib/qgis/server/libwms.so"
"Loading native module /usr/lib/qgis/server/libwmts.so"
ERROR: Opening of authentication db FAILED
QSqlQuery::prepare: database not open
WARNING: Auth db query exec() FAILED
*

As I understand the use of the authentification system in desktop mode, it
is still a bit confusing for me when using a server.
For example, I don't have any qgis-auth.db file on my server. Do I have to
copy it from my desktop ?

Thanks again,

Best,

Arnaud


On Fri, Dec 13, 2019 at 11:37 AM Etienne Trimaille <
etienne.trimai...@gmail.com> wrote:

> Hi Arnaud,
>
> It looks like a cache write issue.
>
> QGIS_OPTIONS_PATH must be a directory, not a file path.
>
> https://docs.qgis.org/testing/en/docs/user_manual/working_with_ogc/server/config.html#qgis-options-path
>
> I would add QGIS_OPTIONS_PATH too. And check that the profile is writable
> for QGIS Server (www-data?). After the GetPrint request, I think you should
> see the cache folder created.
>
> This my config :
>
> QGIS_CUSTOM_CONFIG_PATH=/home/etienne/dev/qgis/server_home/profile
> QGIS_OPTIONS_PATH=/home/etienne/dev/qgis/server_home
> QGIS_PLUGINPATH=/home/etienne/dev/qgis/server_plugin
>
> Can you check that?
>
>
>
> Le ven. 13 déc. 2019 à 07:25, Arnaud Vandecasteele 
> a écrit :
>
>> 
>> Distribution Ubuntu
>> QGIS Server on server -> Version: 3.4.11+dfsg-2~bionic1
>> QGIS Server on computer -> Version: 3.4.13+dfsg-3~bionic2
>> 
>>
>> I have QGIS Server installed on my computer and on my server. The same
>> project is used on both. This project is very simple and contains a SHP
>> layer and a XYZ OpenStreetMap layer. When printing the map (GetPrint) on my
>> computer all layers are correctly displayed.
>> The same operation on the server displays only the SHP layer and not the
>> XYZ layer.
>>
>> When the GetPrint request is made on the server, the following lines are
>> added to the log file:
>> ERROR: Opening of authentication db FAILED
>> QSqlQuery::prepare: database not open
>> WARNING: Auth db query exec() FAILED
>>
>> However, I have the impression that my configuration file is correctly
>> configured:
>>
>> FcgidInitialEnv DISPLAY":99"
>> FcgidInitialEnv QGIS_SERVER_LOG_LEVEL "0"
>> FcgidInitialEnv QGIS_SERVER_LOG_STDERR "1"
>> FcgidInitialEnv QGIS_AUTH_DB_DIR_PATH "/home/qgis/qgisserverdb"
>> FcgidInitialEnv QGIS_AUTH_PASSWORD_FILE
>> "/home/qgis/qgisserverdb/qgis-auth.db"
>> FcgidInitialEnv QGIS_PREFIX_PATH /usr
>> FcgidInitialEnv QGIS_OPTIONS_PATH
>> /data/owncloud-data/arnaud/files/GEOLAB/Transfert/webmapping-lizmap/QGIS3.ini
>> 
>> SetHandler fcgid-script
>> FcgidWrapper /usr/lib/cgi-bin/qgis_mapserv.fcgi virtual
>> Options +ExecCGI -MultiViews +FollowSymLinks
>> Require all granted
>> 
>>
>> ErrorLog ${APACHE_LOG_DIR}/map-error.log
>> LogLevel warn
>> CustomLog ${APACHE_LOG_DIR}/map-acc

[Qgis-user] QGIS Server / GetPrint not rendering all the layers (XYZ Tiles for example)

2019-12-12 Per discussione Arnaud Vandecasteele

Distribution Ubuntu
QGIS Server on server -> Version: 3.4.11+dfsg-2~bionic1
QGIS Server on computer -> Version: 3.4.13+dfsg-3~bionic2


I have QGIS Server installed on my computer and on my server. The same
project is used on both. This project is very simple and contains a SHP
layer and a XYZ OpenStreetMap layer. When printing the map (GetPrint) on my
computer all layers are correctly displayed.
The same operation on the server displays only the SHP layer and not the
XYZ layer.

When the GetPrint request is made on the server, the following lines are
added to the log file:
ERROR: Opening of authentication db FAILED
QSqlQuery::prepare: database not open
WARNING: Auth db query exec() FAILED

However, I have the impression that my configuration file is correctly
configured:

FcgidInitialEnv DISPLAY":99"
FcgidInitialEnv QGIS_SERVER_LOG_LEVEL "0"
FcgidInitialEnv QGIS_SERVER_LOG_STDERR "1"
FcgidInitialEnv QGIS_AUTH_DB_DIR_PATH "/home/qgis/qgisserverdb"
FcgidInitialEnv QGIS_AUTH_PASSWORD_FILE
"/home/qgis/qgisserverdb/qgis-auth.db"
FcgidInitialEnv QGIS_PREFIX_PATH /usr
FcgidInitialEnv QGIS_OPTIONS_PATH
/data/owncloud-data/arnaud/files/GEOLAB/Transfert/webmapping-lizmap/QGIS3.ini

SetHandler fcgid-script
FcgidWrapper /usr/lib/cgi-bin/qgis_mapserv.fcgi virtual
Options +ExecCGI -MultiViews +FollowSymLinks
Require all granted


ErrorLog ${APACHE_LOG_DIR}/map-error.log
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/map-access.log combined

And the permissions look good:
ls -l /home/qgis/
drwxr-xr-x 2 www-data www-data www-data 4096 Oct 25 08:46 cache
drwxr-xr-xx 2 www-data www-data www-data 4096 Jun 20 07:32 qgisserverdb

Do you have any idea what might cause this problem?

Thank you in advance,

Arnaud
___
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] QGis 1.2.0 Daphnis

2009-09-04 Per discussione Arnaud Vandecasteele
I all,

Before to open a ticket on the track list I would like to know if someone
has already got the same problem as I get with the brand new QGis version
(1.2.0).
Everything works fine except the Grass Plugin. Indeed when i trie to
activate it by the Manage plugin menu Qgis crash.
In my shell i got this error message : /usr/bin/qgis.bin: symbol lookup
error: /usr/lib/libqgisgrass.so.1.2.0: undefined symbol: G__no_gisinit.

I work in Ubuntu  9.04 - Jaunty Jackalope.

If someone can help me to understand what is wrong.


Best regards

Arnaud

-- 

Van De Casteele Arnaud
72 Rue de la colline des camélias 97400 Saint-Denis
0262 30 67 79 - 0692 76 24 48
SIG - WebMapping - GPS embarqué
Site internet : http://geotribu.net/
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] QGis 1.2.0 Daphnis

2009-09-04 Per discussione Arnaud Vandecasteele
Hi Giovanni,

Thanks you for your to answer me.
Before the 1.2 i used to work with Qgis Kore. I followed the launchpad
indication and had the UbunutuGis sources in Synaptic.
After that in Synaptic I've updated my Qgis application.
Should I remove all of them before?

Regards

Arnaud

On Fri, Sep 4, 2009 at 5:08 PM, Giovanni Manghi
giovanni.man...@gmail.comwrote:

 Hi,

 I have already installed a few times (on different machines) qgis 1.2
 under ubuntu 9.04 using repositories or compiling from source, and I
 have never hit your problem. How did you installed qgis? Did you had
 any previous version already installed?

 -- Giovanni --

 On Fri, Sep 4, 2009 at 2:02 PM, Arnaud
 Vandecasteelearnaud@gmail.com wrote:
  I all,
 
  Before to open a ticket on the track list I would like to know if someone
  has already got the same problem as I get with the brand new QGis version
  (1.2.0).
  Everything works fine except the Grass Plugin. Indeed when i trie to
  activate it by the Manage plugin menu Qgis crash.
  In my shell i got this error message : /usr/bin/qgis.bin: symbol lookup
  error: /usr/lib/libqgisgrass.so.1.2.0: undefined symbol: G__no_gisinit.
 
  I work in Ubuntu  9.04 - Jaunty Jackalope.
 
  If someone can help me to understand what is wrong.
 
 
  Best regards
 
  Arnaud
 
  --
  
  Van De Casteele Arnaud
  72 Rue de la colline des camélias 97400 Saint-Denis
  0262 30 67 79 - 0692 76 24 48
  SIG - WebMapping - GPS embarqué
  Site internet : http://geotribu.net/
 
  ___
  Qgis-user mailing list
  Qgis-user@lists.osgeo.org
  http://lists.osgeo.org/mailman/listinfo/qgis-user
 
 




-- 

Van De Casteele Arnaud
72 Rue de la colline des camélias 97400 Saint-Denis
0262 30 67 79 - 0692 76 24 48
SIG - WebMapping - GPS embarqué
Site internet : http://geotribu.net/
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] QGis 1.2.0 Daphnis

2009-09-04 Per discussione Arnaud Vandecasteele
After a apt_get upgrade the grass plugin reworks.

Sorry for the disturbs.

Arnaud

On Fri, Sep 4, 2009 at 5:14 PM, Arnaud Vandecasteele
arnaud@gmail.comwrote:

 Hi Giovanni,

 Thanks you for your to answer me.
 Before the 1.2 i used to work with Qgis Kore. I followed the launchpad
 indication and had the UbunutuGis sources in Synaptic.
 After that in Synaptic I've updated my Qgis application.
 Should I remove all of them before?

 Regards

 Arnaud


 On Fri, Sep 4, 2009 at 5:08 PM, Giovanni Manghi giovanni.man...@gmail.com
  wrote:

 Hi,

 I have already installed a few times (on different machines) qgis 1.2
 under ubuntu 9.04 using repositories or compiling from source, and I
 have never hit your problem. How did you installed qgis? Did you had
 any previous version already installed?

 -- Giovanni --

 On Fri, Sep 4, 2009 at 2:02 PM, Arnaud
 Vandecasteelearnaud@gmail.com wrote:
  I all,
 
  Before to open a ticket on the track list I would like to know if
 someone
  has already got the same problem as I get with the brand new QGis
 version
  (1.2.0).
  Everything works fine except the Grass Plugin. Indeed when i trie to
  activate it by the Manage plugin menu Qgis crash.
  In my shell i got this error message : /usr/bin/qgis.bin: symbol lookup
  error: /usr/lib/libqgisgrass.so.1.2.0: undefined symbol: G__no_gisinit.
 
  I work in Ubuntu  9.04 - Jaunty Jackalope.
 
  If someone can help me to understand what is wrong.
 
 
  Best regards
 
  Arnaud
 
  --
  
  Van De Casteele Arnaud
  72 Rue de la colline des camélias 97400 Saint-Denis
  0262 30 67 79 - 0692 76 24 48
  SIG - WebMapping - GPS embarqué
  Site internet : http://geotribu.net/
 
  ___
  Qgis-user mailing list
  Qgis-user@lists.osgeo.org
  http://lists.osgeo.org/mailman/listinfo/qgis-user
 
 




 --
 
 Van De Casteele Arnaud
 72 Rue de la colline des camélias 97400 Saint-Denis
 0262 30 67 79 - 0692 76 24 48
 SIG - WebMapping - GPS embarqué
 Site internet : http://geotribu.net/




-- 

Van De Casteele Arnaud
72 Rue de la colline des camélias 97400 Saint-Denis
0262 30 67 79 - 0692 76 24 48
SIG - WebMapping - GPS embarqué
Site internet : http://geotribu.net/
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user