Hi Andrea,

I’m using 3.40.9 on Windows 11 24H2.
I tried both solutions (Function file and function project), but with same
issue.
I can see the Custom section if I load the function, but it doesn’t remain
if I just restart QGis (with default profile …).

What I can add is I keep several releases of QGis installed (I also tried
with 3.28 without success), but may be it brings confusion …

Rgds,

JP


-----Message d'origine-----
De : QGIS-User <[email protected]> De la part de
[email protected]
Envoyé : dimanche 5 octobre 2025 20:19
À : [email protected]
Objet : QGIS-User Digest, Vol 236, Issue 1

Send QGIS-User mailing list submissions to
        [email protected]

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
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific than
"Re: Contents of QGIS-User digest..."


Today's Topics:

   1. QGIS2web crash (Stephen Sacks)
   2. crucial typo (Stephen Sacks)
   3. Re: QGIS2web crash (Andreas Neumann)
   4. Dissolve keeping all attributes values
      (concatenation/aggregation)? (celati Laurent)
   5. Incomplete German Localization in QGIS 3.44.2/3.44.3 (Thomas W?lk)
   6. Re: Dissolve keeping all attributes values
      (concatenation/aggregation)? (chris hermansen)
   7. Re: Dissolve keeping all attributes values
      (concatenation/aggregation)? (celati Laurent)
   8. Re: Incomplete German Localization in QGIS 3.44.2/3.44.3
      (Andrea Giudiceandrea)
   9. py expressions don't load automatically in the Custom section
      ([email protected])
  10. Re: py expressions don't load automatically in the Custom
      section (Andrea Giudiceandrea)
  11. Qgis Form // Attached tool / Big performance problem for
      table opening (celati Laurent)


----------------------------------------------------------------------

Message: 1
Date: Mon, 29 Sep 2025 18:42:00 -0400
From: Stephen Sacks <[email protected]>
To: "forum, QGIS forum" <[email protected]>
Subject: [Qgis-user] QGIS2web crash
Message-ID: <[email protected]>
Content-Type: text/plain; charset="utf-8"; Format="flowed"

QGIS2web problem.
My map has two layers (trees and shrubs).? If both layers use a single svg
marker everything looks as it should, both on my desktop and when I export
to the web (Leaflet).? But if one layer (shrubs) uses categorized? svg
markers then qgis2web crashes when I click Export (see attached error
message). The crash occurs even if all six categories use the same svg file
(which is the same svg which works smoothly in the single marker, i.e.,
not-categorized, case). The error message says can't find
'chosen/ShrubPoss1_green.svg' , which is a reference to a folder and file
which I had used earlier but don't use now.? I recreated both the folder and
the file just so they can satisfy some software bug that failed to clear
some buffer, but that does solve my problem.
I'm using QGIS2web(version 3.29.0) and running QGIS v3.40.10 Bratislava on
Windows 11.
Any advice would be most welcome.? Thanks in advance for your time.
Steve

-------------- next part --------------
An error has occurred while executing Python code: 

FileNotFoundError: [Errno 2] No such file or directory:
'chosen/ShrubPoss1_green.svg' 
Traceback (most recent call last):
  File
"C:\Users/steph/AppData/Roaming/QGIS/QGIS3\profiles\my-new-profile/python/pl
ugins\qgis2web\maindialog.py", line 519, in saveMap
    results = writer.write(self.iface,
              ^^^^^^^^^^^^^^^^^^^^^^^^
  File
"C:\Users/steph/AppData/Roaming/QGIS/QGIS3\profiles\my-new-profile/python/pl
ugins\qgis2web\leafletWriter.py", line 94, in write
    self.preview_file = self.writeLeaflet(
                        ^^^^^^^^^^^^^^^^^^
  File
"C:\Users/steph/AppData/Roaming/QGIS/QGIS3\profiles\my-new-profile/python/pl
ugins\qgis2web\leafletWriter.py", line 293, in writeLeaflet
    useOSMB) = writeVectorLayer(layer, safeLayerName,
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File
"C:\Users/steph/AppData/Roaming/QGIS/QGIS3\profiles\my-new-profile/python/pl
ugins\qgis2web\leafletLayerScripts.py", line 127, in writeVectorLayer
    useShapes) = getLayerStyle(layer, safeLayerName, interactive,
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File
"C:\Users/steph/AppData/Roaming/QGIS/QGIS3\profiles\my-new-profile/python/pl
ugins\qgis2web\leafletStyleScripts.py", line 64, in getLayerStyle
    pattern) = getSymbolAsStyle(cat.symbol(), markerFolder,
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File
"C:\Users/steph/AppData/Roaming/QGIS/QGIS3\profiles\my-new-profile/python/pl
ugins\qgis2web\leafletStyleScripts.py", line 244, in getSymbolAsStyle
    f = open(sl.path())
        ^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory:
'chosen/ShrubPoss1_green.svg'


Python version: 3.12.11 (main, Jun 17 2025, 13:41:12) [MSC v.1943 64 bit
(AMD64)] QGIS version: 3.40.10-Bratislava Bratislava, c98da2e682 

Python Path:
C:/PROGRA~1/QGIS 3.40.10/apps/qgis-ltr/./python
C:/Users/steph/AppData/Roaming/QGIS/QGIS3\profiles\my-new-profile/python
C:/Users/steph/AppData/Roaming/QGIS/QGIS3\profiles\my-new-profile/python/plu
gins
C:/PROGRA~1/QGIS 3.40.10/apps/qgis-ltr/./python/plugins
C:\PROGRA~1\QGIS 3.40.10\apps\grass\grass84\etc\python
C:\Users\steph\Documents
C:\Program Files\QGIS 3.40.10\bin\python312.zip C:\PROGRA~1\QGIS
3.40.10\apps\Python312\DLLs C:\PROGRA~1\QGIS 3.40.10\apps\Python312\Lib
C:\Program Files\QGIS 3.40.10\bin
C:\Users\steph\AppData\Roaming\Python\Python312\site-packages
C:\PROGRA~1\QGIS 3.40.10\apps\Python312
C:\PROGRA~1\QGIS 3.40.10\apps\Python312\Lib\site-packages
C:\PROGRA~1\QGIS 3.40.10\apps\Python312\Lib\site-packages\win32
C:\PROGRA~1\QGIS 3.40.10\apps\Python312\Lib\site-packages\win32\lib
C:\PROGRA~1\QGIS 3.40.10\apps\Python312\Lib\site-packages\Pythonwin
C:/Users/steph/AppData/Roaming/QGIS/QGIS3\profiles\my-new-profile/python
C:\Users\steph\AppData\Roaming\QGIS\QGIS3\profiles\my-new-profile\python\plu
gins
C:/Promenade/GIS/data/projects

------------------------------

Message: 2
Date: Mon, 29 Sep 2025 18:47:18 -0400
From: Stephen Sacks <[email protected]>
To: qgis forum <[email protected]>
Subject: [Qgis-user] crucial typo
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8; format=flowed

I just noticed a crucial typo in the message I sent a moment ago:

 ?? "but that does solve my problem."? should be "but that does NOT solve my
problem."

Steve



------------------------------

Message: 3
Date: Tue, 30 Sep 2025 08:07:44 +0200
From: Andreas Neumann <[email protected]>
To: Stephen Sacks <[email protected]>
Cc: "forum, QGIS forum" <[email protected]>
Subject: Re: [Qgis-user] QGIS2web crash
Message-ID: <[email protected]>
Content-Type: text/plain; charset="us-ascii"; Format="flowed"

Hi Steve,

QGIS2web is a Python plugin, not officially supported by QGIS.

In such a case you should reach out to the plugin author (or team). See
https://github.com/qgis2web/qgis2web for more details. They also have an
issue tracker at Github for their plugin.

Hopefully this helps to reach out to the ones who could probably help.

Andreas

On 2025-09-30 00:42, Stephen Sacks via QGIS-User wrote:

> QGIS2web problem.
> My map has two layers (trees and shrubs).  If both layers use a single 
> svg marker everything looks as it should, both on my desktop and when 
> I export to the web (Leaflet).  But if one layer (shrubs) uses 
> categorized  svg markers then qgis2web crashes when I click Export 
> (see attached error message). The crash occurs even if all six 
> categories use the same svg file (which is the same svg which works 
> smoothly in the single marker, i.e., not-categorized, case). The error 
> message says can't find 'chosen/ShrubPoss1_green.svg' , which is a 
> reference to a folder and file which I had used earlier but don't use 
> now.  I recreated both the folder and the file just so they can 
> satisfy some software bug that failed to clear some buffer, but that 
> does solve my problem.
> I'm using QGIS2web(version 3.29.0) and running QGIS v3.40.10 
> Bratislava on Windows 11.
> Any advice would be most welcome.  Thanks in advance for your time.
> Steve
> 
> _______________________________________________
> QGIS-User mailing list
> [email protected]
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.osgeo.org/pipermail/qgis-user/attachments/20250930/65ff5b77/at
tachment-0001.htm>

------------------------------

Message: 4
Date: Tue, 30 Sep 2025 16:09:55 +0200
From: celati Laurent <[email protected]>
To: qgis-user <[email protected]>
Subject: [Qgis-user] Dissolve keeping all attributes values
        (concatenation/aggregation)?
Message-ID:
        <cahbymh1zbwk5cdhct0uok9oqagocus9mnzdhv81a59cerei...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

 Dear all,

I work with qgis and postgis. I would like to perform a "dissolve":
https://docs.qgis.org/3.40/en/docs/user_manual/processing_algs/qgis/vectorge
ometry.html#dissolve

in keeping/preserving  all attributes values ? For instance : a kind of
aggregation/concatenation within new "output features" ?

I Saw this post :
 
https://www.aproposinfosystems.com/en/about/blog/managing-attributes-postgis
-dissolve/
<https://www.aproposinfosystems.com/en/about/blog/managing-attributes-postgi
s-dissolve/>

I have tried to reproduce the proposal with my postgis table containing
several polygons












*SELECT min(union_v4.max_hierar) as id, array_agg(union_v4.id
<http://union_v4.id>) as ids, union_v6.geomFROM union_v4, (SELECT
(ST_Dump(St_multi(ST_Union(geom)))).geom as geom FROM union_v6WHERE
st_intersects(union_v4.geom, union_v6.geom)GROUP BY union_v6.geom*

But i obtain :






*ERROR: syntax error at the end of the entryLINE 12: GROUP BY union_v6.geom
^ERROR: syntax error at the end of the entrySQL state: 42601Characters: 285*

Thanks so much
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.osgeo.org/pipermail/qgis-user/attachments/20250930/270d6a55/at
tachment-0001.htm>

------------------------------

Message: 5
Date: Tue, 30 Sep 2025 14:42:45 +0000
From: Thomas W?lk <[email protected]>
To: qgis-user <[email protected]>
Subject: [Qgis-user] Incomplete German Localization in QGIS
        3.44.2/3.44.3
Message-ID:
        <CAO8taKn4nBuHg4Y4HLb_53Yyo=szu1jjrnnywqn+lspxwgq...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hello QGIS Community,

I am using QGIS 3.44.2/3.44.3 with the language set to German and have
noticed that localization is incomplete in various parts of the application.
Some terms and menu items are displayed in English, even though the system
language is correctly set to German.

Observed Issues:

- Menus and submenus display mixed languages (German/English)
- Tooltips and help texts are not translated

My Configuration:

- QGIS Version: 3.44.2/3.44.3
- Operating System: Windows 11
- Language Setting: German (Germany)
- Installation: via OSGeo4W

Is there a way to (re)install the improved German localization?

--
Kind regards,
Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.osgeo.org/pipermail/qgis-user/attachments/20250930/2a4e991c/at
tachment-0001.htm>

------------------------------

Message: 6
Date: Tue, 30 Sep 2025 08:39:24 -0700
From: chris hermansen <[email protected]>
To: celati Laurent <[email protected]>
Cc: qgis-user <[email protected]>
Subject: Re: [Qgis-user] Dissolve keeping all attributes values
        (concatenation/aggregation)?
Message-ID:
        <CACc2_6_dxstXmur9mepEC6-TNDoTAp5LVx+5z_Rv6=kabop...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Laurent and list,


On Tue, Sep 30, 2025, 07:14 celati Laurent via QGIS-User <
[email protected]> wrote:

> Dear all,
>
> I work with qgis and postgis. I would like to perform a "dissolve":
>
> https://docs.qgis.org/3.40/en/docs/user_manual/processing_algs/qgis/ve
> ctorgeometry.html#dissolve
>
> in keeping/preserving  all attributes values ? For instance : a kind 
> of aggregation/concatenation within new "output features" ?
>
> I Saw this post :
>
>  
> https://www.aproposinfosystems.com/en/about/blog/managing-attributes-p
> ostgis-dissolve/ 
> <https://www.aproposinfosystems.com/en/about/blog/managing-attributes-
> postgis-dissolve/>
>
> I have tried to reproduce the proposal with my postgis table 
> containing several polygons
>
>
>
>
>
>
>
>
>
>
>
>
> *SELECT min(union_v4.max_hierar) as id, array_agg(union_v4.id
> <http://union_v4.id>) as ids, union_v6.geomFROM union_v4, (SELECT 
> (ST_Dump(St_multi(ST_Union(geom)))).geom as geom FROM union_v6WHERE 
> st_intersects(union_v4.geom, union_v6.geom)GROUP BY union_v6.geom*
>
> But i obtain :
>
>
>
>
>
>
> *ERROR: syntax error at the end of the entryLINE 12: GROUP BY 
> union_v6.geom ^ERROR: syntax error at the end of the entrySQL state:
> 42601Characters: 285*
>

I'm on my phone and squinting a bit here but aren't you missing a right
parenthesis? Ending your correlated sub query?

>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.osgeo.org/pipermail/qgis-user/attachments/20250930/58d8c98a/at
tachment-0001.htm>

------------------------------

Message: 7
Date: Tue, 30 Sep 2025 19:02:23 +0200
From: celati Laurent <[email protected]>
To: chris hermansen <[email protected]>
Cc: qgis-user <[email protected]>
Subject: Re: [Qgis-user] Dissolve keeping all attributes values
        (concatenation/aggregation)?
Message-ID:
        <cahbymh1htgj_-dofnz1z-mjosftdrk_fczujp4_gigv0ocp...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

 Dear Chris,
Thank you. Indeed, You right.
But when i rerun the query with the edit (adding the closing parenthesis) :











*SELECT     min(union_v4.max_hierar) as id,     array_agg(union_v4.id
<http://union_v4.id>) as ids,     union_v6.geomFROM union_v4,    (SELECT
      (ST_Dump(St_multi(ST_Union(geom)))).geom as geom    FROM
union_v6)WHERE     st_intersects(union_v4.geom, union_v6.geom)GROUP BY
union_v6.geom*

I obtain this time the message :

ERROR: la relation ? union_v4 ? n'existe pas LINE 5: FROM union_v4, ^
ERREUR: la relation ? union_v4 ? n'existe pas SQL state: 42P01 Character:
105


However, i have one table called "union_v4" within my postgis db.
thanks so much.


Le mar. 30 sept. 2025 ? 17:39, chris hermansen <[email protected]> a
?crit :

> Laurent and list,
>
>
> On Tue, Sep 30, 2025, 07:14 celati Laurent via QGIS-User < 
> [email protected]> wrote:
>
>> Dear all,
>>
>> I work with qgis and postgis. I would like to perform a "dissolve":
>>
>> https://docs.qgis.org/3.40/en/docs/user_manual/processing_algs/qgis/v
>> ectorgeometry.html#dissolve
>>
>> in keeping/preserving  all attributes values ? For instance : a kind 
>> of aggregation/concatenation within new "output features" ?
>>
>> I Saw this post :
>>
>>  
>> https://www.aproposinfosystems.com/en/about/blog/managing-attributes-
>> postgis-dissolve/ 
>> <https://www.aproposinfosystems.com/en/about/blog/managing-attributes
>> -postgis-dissolve/>
>>
>> I have tried to reproduce the proposal with my postgis table 
>> containing several polygons
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> *SELECT min(union_v4.max_hierar) as id, array_agg(union_v4.id
>> <http://union_v4.id>) as ids, union_v6.geomFROM union_v4, (SELECT 
>> (ST_Dump(St_multi(ST_Union(geom)))).geom as geom FROM union_v6WHERE 
>> st_intersects(union_v4.geom, union_v6.geom)GROUP BY union_v6.geom*
>>
>> But i obtain :
>>
>>
>>
>>
>>
>>
>> *ERROR: syntax error at the end of the entryLINE 12: GROUP BY 
>> union_v6.geom ^ERROR: syntax error at the end of the entrySQL state:
>> 42601Characters: 285*
>>
>
> I'm on my phone and squinting a bit here but aren't you missing a 
> right parenthesis? Ending your correlated sub query?
>
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.osgeo.org/pipermail/qgis-user/attachments/20250930/e2d582ee/at
tachment-0001.htm>

------------------------------

Message: 8
Date: Wed, 1 Oct 2025 20:34:40 +0200
From: Andrea Giudiceandrea <[email protected]>
To: [email protected]
Subject: Re: [Qgis-user] Incomplete German Localization in QGIS
        3.44.2/3.44.3
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8; format=flowed

> Thomas W?lk thomas.woelk at gmail.com
> Tue Sep 30 07:42:45 PDT 2025

> I am using QGIS 3.44.2/3.44.3 with the language set to German and have 
> noticed that localization is incomplete in various parts of the 
> application. Some terms and menu items are displayed in English, even 
> though the system language is correctly set to German.

Hi Thomas,
such issue is probably the same known issue already previously reported
various times for various languages but unfortunately not yet fixed.

Please see https://github.com/qgis/QGIS/issues/61291.

Regards.

Andrea


------------------------------

Message: 9
Date: Sat, 4 Oct 2025 17:38:36 +0200
From: <[email protected]>
To: <[email protected]>
Subject: [Qgis-user] py expressions don't load automatically in the
        Custom section
Message-ID: <[email protected]>
Content-Type: text/plain; charset="us-ascii"

Hi All,

 

I've a few Python expressions encoded through the function editor within the
field calculator.
As I save and load them, they appear in the "Custom" section, but if I
restart QGis the complete Custom section disappears from the panel and I've
to reload the expressions.

I tried to manage it with a startup.py or __init__.py, but it failed . Any
idea ? THX

 

JP

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.osgeo.org/pipermail/qgis-user/attachments/20251004/68b69456/at
tachment-0001.htm>

------------------------------

Message: 10
Date: Sat, 4 Oct 2025 19:31:18 +0200
From: Andrea Giudiceandrea <[email protected]>
To: [email protected]
Subject: Re: [Qgis-user] py expressions don't load automatically in
        the Custom section
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8; format=flowed

Hi JP,
the issue doesn't occur on my Windows 10 system running QGIS LTR 3.40.11.

The custom functions can be either saved in the QGIS project or in the QGIS
user profile (in the \python\expressions\ folder inside the current QGIS
user profile folder).
In the former case, the functions are automatically loaded when such QGIS
project is opened, while in the latter case, the functions are automatically
loaded when such QGIS user profile is used.
Normally there is no need to use any startup.py or __init__.py file.

Are you sure you are using the right QGIS project file or QGIS user profile
in which the functions were saved?

It would be useful if you indicated the exact QGIS version and Operative
System name and version used and exact step-by-step procedure you follow to
create and save the functions.

Regards.

Andrea

> dejardinjp at gmail.com dejardinjp at gmail.com Sat Oct 4 08:38:36 PDT 
> 2025 I've a few Python expressions encoded through the function editor 
> within the field calculator.
> As I save and load them, they appear in the "Custom" section, but if I 
> restart QGis the complete Custom section disappears from the panel and 
> I've to reload the expressions.
> 
> I tried to manage it with a startup.py or __init__.py, but it failed . 
> Any idea ? THX


------------------------------

Message: 11
Date: Sun, 5 Oct 2025 20:18:22 +0200
From: celati Laurent <[email protected]>
To: qgis-user <[email protected]>
Subject: [Qgis-user] Qgis Form // Attached tool / Big performance
        problem for table opening
Message-ID:
        <CAHByMH0=-cock4so1hcqjdyyd7rklp5vipzsxki+d88p+ro...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Dear all,

I work with Windows with Qgis 3.34.13-Prizren.
I have a Qgis project destined to be shipped on a tablet for the field
(Qfield).
The project contains a polygonal layer of 3427 objects (file shp). There are
many columns with different types. There also relational values / joins
setted for this form. So the project also includes .csv files (for
relational values).

The problem : the opening of this table attribute takes up to 40 seconds. I
spent time to identify where the problem may come from. At one time I
thought for joins/relational values. Or also CSV format. As we can see here
:
https://gis.stackexchange.com/questions/423054/what-is-slowing-qgis-the-most
-when-opening-form

After several hours of investigation, the source of the problem seems to
come from 4 columns (string) for strore the pictures. After removing those
4 columns of the form, the opening time of the table become normal.
I have tried to "play" with the parameter for this form attached tool, (as
for example relative/absolute path size of the images, etc.). But in vain.

Have people ever been confronted with this problem/limitation/problem of
table opeining performance regarding the attribute form design? Linking with
attached tool for image/picture ?
For information, a SS of the interface :

[image: image.png]


  [1]:
https://gis.stackexchange.com/questions/423054/what-is-slowing-qgis-the-most
-when-opening-form
  [2]: https://i.sstatic.net/28yZWYM6.jpg
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.osgeo.org/pipermail/qgis-user/attachments/20251005/f6331a72/at
tachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 67779 bytes
Desc: not available
URL:
<http://lists.osgeo.org/pipermail/qgis-user/attachments/20251005/f6331a72/at
tachment.png>

------------------------------

Subject: Digest Footer

_______________________________________________
QGIS-User mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


------------------------------

End of QGIS-User Digest, Vol 236, Issue 1
*****************************************

_______________________________________________
QGIS-User mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to