<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
{font-family:"ITC Avant Garde Std Bk";
panose-1:2 11 5 2 2 2 2 2 2 4;}
@font-face
{font-family:"ITC Avant Garde Std Md";
panose-1:2 11 6 2 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Vorformatiert Zchn";
margin:0cm;
font-size:10.0pt;
font-family:"Courier New";}
span.HTMLVorformatiertZchn
{mso-style-name:"HTML Vorformatiert Zchn";
mso-style-priority:99;
mso-style-link:"HTML Vorformatiert";
font-family:Consolas;}
span.E-MailFormatvorlage22
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;
mso-ligatures:none;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:348416282;
mso-list-type:hybrid;
mso-list-template-ids:1825865384 -1876363386 67567619 67567621 67567617 67567619 67567621 67567617 67567619 67567621;}
@list l0:level1
{mso-level-start-at:0;
mso-level-number-format:bullet;
mso-level-text:-;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:"Courier New";
mso-fareast-font-family:Calibri;}
@list l0:level2
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:"Courier New";}
@list l0:level3
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Wingdings;}
@list l0:level4
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Symbol;}
@list l0:level5
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:"Courier New";}
@list l0:level6
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Wingdings;}
@list l0:level7
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Symbol;}
@list l0:level8
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:"Courier New";}
@list l0:level9
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Wingdings;}
ol
{margin-bottom:0cm;}
ul
{margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=DE link=blue vlink=purple style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal><span style='mso-fareast-language:EN-US'>Hi,<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><pre style='margin-left:36.0pt;text-indent:-18.0pt;mso-list:l0 level1 lfo1'><![if !supportLists]><span style='mso-list:Ignore'>-<span style='font:7.0pt "Times New Roman"'> </span></span><![endif]>I often get error messages here in QGIS.<o:p></o:p></pre><ul type=disc><li style='mso-list:l0 level1 lfo1'>Please report any Python error on GitHub.<o:p></o:p></li></ul><p class=MsoNormal>Sorry, no (python) error message, only a timeout during the network request [1]<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Does the check have to take place at the start of QGIS? Is this not sufficient when starting the plugin? Because the plugin is not required for every QGIS edit.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><pre style='margin-left:36.0pt;text-indent:-18.0pt;mso-list:l0 level1 lfo1'><![if !supportLists]><span style='mso-list:Ignore'>-<span style='font:7.0pt "Times New Roman"'> </span></span><![endif]>Furthermore, every check is probably logged in the log files. I will write<o:p></o:p></pre><pre style='margin-left:36.0pt;text-indent:-18.0pt;mso-list:l0 level1 lfo1'><![if !supportLists]><span style='mso-list:Ignore'>-<span style='font:7.0pt "Times New Roman"'> </span></span><![endif]>something about this on Github for the plugin.<o:p></o:p></pre><ul type=disc><li style='mso-list:l0 level1 lfo1'>Sorry, I'm not sure to understand. You mean the CFG file ?<o:p></o:p></li></ul><p class=MsoNormal>The access is probably also noted in the Lizmap (server) log files with every check. This is quite misleading. You may wonder why a user (admin) has logged in to a Lizmap application that has not been edited for a long time [2].<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><ul type=disc><li style='mso-list:l0 level1 lfo1'>The CFG file is not used to restore the default server. Only your previous server used in your QGIS profile.<o:p></o:p></li><li style='mso-list:l0 level1 lfo1'>QGIS Settings → Advanced → I will be careful → Lizmap → Instance target URL<o:p></o:p></li></ul><p>Thanks for the info. I had suspected something like that, but why is that? Or why is the name of the corresponding connection not saved in the cfg file and loaded accordingly? <br>I often have to change it (admittedly for many different projects). In the past (with the same Lizmap versions) I simply ignored the setting. But with different versions you should probably take it into account.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Greetings<o:p></o:p></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>[1] <a href="https://wagner-it.de/download/lizmap/QGIS_message.jpg">https://wagner-it.de/download/lizmap/QGIS_message.jpg</a><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>[2] <a href="https://wagner-it.de/download/lizmap/Lizmap_Log.jpg">https://wagner-it.de/download/lizmap/Lizmap_Log.jpg</a><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><div><p class=MsoNormal><span style='font-size:8.0pt'><o:p> </o:p></span></p><p class=MsoNormal><b><span style='font-family:"ITC Avant Garde Std Bk",sans-serif;color:#E36C0A'>WAGNER-</span></b><span style='font-family:"ITC Avant Garde Std Md",sans-serif;color:#1F497D'>IT</span><b><span style='color:#1F497D'><o:p></o:p></span></b></p><p class=MsoNormal>Ingenieurbüro für Geoinformatik<o:p></o:p></p><p class=MsoNormal>Günter Wagner<b><span style='font-size:12.0pt;color:#1F497D'><br></span></b>Carl-Orff-Weg 7<br>79312 Emmendingen<br>Tel.: 07641/9621668<br>Fax: 07641/915599<br><a href="http://www.wagner-it.de/">www.wagner-it.de</a><o:p></o:p></p></div><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b>Von:</b> Lizmap <lizmap-bounces@lists.osgeo.org> <b>Im Auftrag von </b>Etienne Trimaille via Lizmap<br><b>Gesendet:</b> Montag, 26. Februar 2024 15:54<br><b>An:</b> lizmap@lists.osgeo.org<br><b>Betreff:</b> Re: [Lizmap] Lizmap 3.7.4 QGIS Pluging 4.4.3 Speed<o:p></o:p></p></div></div><p class=MsoNormal><o:p> </o:p></p><p>Hi,<o:p></o:p></p><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><pre># All work quite well with the exception that it took many seconds to<o:p></o:p></pre><pre>create on QGIS with Lizmap the *.cfg file.<o:p></o:p></pre></blockquote><p>I can confirm this as well on some projects. Weird, but only the first time looks slow mainly for me, am I wrong ?<o:p></o:p></p><p>I guess you have a lot of PG layers ? How many approximately ?<o:p></o:p></p><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><pre>I don't have any speed problems with the cfg. file.<o:p></o:p></pre><pre>Could it be due to checking the versions from the server (or the defined<o:p></o:p></pre><pre>server connections) in the plugin?<o:p></o:p></pre></blockquote><p>No, version checking is very quick. The performance when saving CFG file is due to validation on PG layers I guess.<o:p></o:p></p><p>(with a PG server not next to QGIS desktop)<o:p></o:p></p><p><o:p> </o:p></p><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><pre>I often get error messages here in QGIS.<o:p></o:p></pre></blockquote><p>Please report any Python error on GitHub.<o:p></o:p></p><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><pre>Unfortunately not at the moment,<o:p></o:p></pre><pre>I'll add it later. I also find the handling with the settings for the<o:p></o:p></pre><pre>current server not optimal. I often have to select the current server again.<o:p></o:p></pre><pre>The plugin probably doesn't remember this via the cfg file. As I have a lot<o:p></o:p></pre><pre>of server connections with different versions, this is often a bit annoying.<o:p></o:p></pre></blockquote><p>The CFG file is not used to restore the default server. Only your previous server used in your QGIS profile.<o:p></o:p></p><p>QGIS Settings → Advanced → I will be careful → Lizmap → Instance target URL<o:p></o:p></p><p><o:p> </o:p></p><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><pre>Furthermore, every check is probably logged in the log files. I will write<o:p></o:p></pre><pre>something about this on Github for the plugin.<o:p></o:p></pre></blockquote><p>Sorry, I'm not sure to understand. You mean the CFG file ?<o:p></o:p></p><p><o:p> </o:p></p><div><p class=MsoNormal>-- <o:p></o:p></p><p><b><span style='color:yellowgreen'>Etienne Trimaille</span></b> <br>Géomaticien <br><a href="http://www.3liz.com"><span style='color:yellowgreen;text-decoration:none'>www.3liz.com</span></a> <br><span style='font-size:9.0pt'><br><b>Tel.</b> 06 12 93 11 39 <br><b>Bureau</b> <br>31, rue de l'Argenterie <br>34000 Montpellier <br><b>Siège social</b> <br>73, allée Kleber <br>Boulevard de Strasbourg <br>34000 Montpellier </span><o:p></o:p></p><p><o:p> </o:p></p></div></div></body></html>