Instantiation of python module fails on 3.0.21

Christian Strauf strauf at rz.tu-clausthal.de
Fri Apr 17 12:15:36 CEST 2020


Hi Alex!

> just make sure you actually have a function enabled for the instantiate 
> call. In other words, make sure that second line is not commented.
> 
>         mod_instantiate = ${.module}
>         func_instantiate = instantiate
Fantastic hint! This works.

I've added a

def instantiate(p):
    pass

to my python script and it works!

It's a little odd that this wasn't necessary in 3.0.20. Anyhow, it seems to work now. Thanks for your help!

Christian


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5279 bytes
Desc: not available
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20200417/dcb870ce/attachment.bin>


More information about the Freeradius-Users mailing list