3

This has me stumped. For some reason, I can no longer run a function from a project macro even though macros are enabled (from Settings > Options > General > Enable macros > Always).

Just a simple test like the following fails:

Macro test

Same applies if I make test_print() a function on its own. I.e.:

def openProject():
 pass
def test_print():
 print 'It works'
...

Any ideas? I'm using QGIS 2.14.1-Essen for Windows 7.

asked Apr 27, 2016 at 9:21

1 Answer 1

1

Re-tested this on QGIS 2.14 LTR and it works fine so it was perhaps a minor bug.

answered Dec 5, 2016 at 13:58

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.