Hi,

an in addition to Hannes you should check the python expression folder in your profile folder:

 * goto "Settings"->"User Profiles"->"Open Active Profile Folder"
 * and then check the subfolder \python\expressions
 * there should be your python expression function as python file

Best regards

Stefan

C:\Users\stefa\AppData\Roaming\QGIS\QGIS3\profiles\Deutsch\python\expressions

Am 11.04.2023 um 09:10 schrieb Johannes Kröger (WhereGroup) via QGIS-Developer:
Hi Catania,

please see the checklist of https://github.com/qgis/QGIS/blob/master/.github/ISSUE_TEMPLATE/10_bug_report.yml on what info is useful in a bug report. Did you try it in a new profile?

Cheers, Hannes

Am 11.04.23 um 02:37 schrieb Catania, Luke A ERDC-RDE-GRL-VA CIV via QGIS-Developer:
I wrote a custom function that accesses the area of the feature and adjusts the label accordingly. After I clicked on Save and Load Function I see my functions category and the functions and can use them in the expression tab, but when I close QGIS and start it again, the function is not automatically loaded.  I have to go to the layer properties and open the expression assigned in the label properties and click Save and Load Function and select apply/ok.  This is not gonna work for me since I need this to work automatically so when I create an installer for my software this function works for everyone.
_______________________________________________
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

--
Mit freundlichen Grüßen
Stefan Giese
Projektleiter/Consultant
---------------------------------------------
Aufwind durch Wissen!
Web-Seminare und Online-Schulungen
bei derwww.foss-academy.com
---------------------------------------------
WhereGroup GmbH
Schwimmbadstr. 2
79100 Freiburg
Germany

Tel.: +49 (0)761 / 519 102 - 61
Fax: +49 (0)761 / 519 102 - 11

stefan.gi...@wheregroup.com
www.wheregroup.com
Geschäftsführer:
Olaf Knopp, Peter Stamm
Amtsgericht Bonn, HRB 9885
_______________________________________________
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to