Bug report #18045

Python function for expression is not loaded automaticaly

Added by Ondrej Remes about 5 years ago. Updated almost 5 years ago.

Affected QGIS version:master Regression?:No
Operating System:Windows 10 64bit professional Easy fix?:No
Pull Request or Patch supplied:No Resolution:invalid
Crashes QGIS or corrupts data:No Copied to github as #:25941


Hello, i have problem with automatic loading python function for expressioning. The function is okey if i load it immediately before use it in expression. everything is ok until I restart QGIS. Is this option a new feature or bug?

expression_in_attribute_table.jpg - first moment (114 KB) Ondrej Remes, 2018-02-05 07:10 AM

my_expression_in_python_window.jpg (264 KB) Ondrej Remes, 2018-02-05 07:16 AM

after_manual_loading_everything_is_ok.jpg (59.4 KB) Ondrej Remes, 2018-02-05 07:16 AM


#1 Updated by Ondrej Remes about 5 years ago

I use qgis-dev 2.99. There are images of my python function and moment after loading. Everything is ok.

#2 Updated by Tudor Bărăscu almost 5 years ago

You need to press the load button to reload the function after reediting it!
It's in the "Function editor" window, on top.. above-left of the python code window.

#3 Updated by Nyall Dawson almost 5 years ago

  • Resolution set to invalid
  • Status changed from Open to Closed

Also available in: Atom PDF