Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use CUSTOM_PLUGIN_MODULE_PATHS #1

Open
alexstuart opened this issue Apr 22, 2019 · 1 comment
Open

Use CUSTOM_PLUGIN_MODULE_PATHS #1

alexstuart opened this issue Apr 22, 2019 · 1 comment

Comments

@alexstuart
Copy link
Owner

No description provided.

@alexstuart
Copy link
Owner Author

I've not been able to get this to work, getting errors like:

[Mon Apr 22 10:30:28.404964 2019] [wsgi:error] [pid 26766]   File "/usr/lib/python3.4/site-packages/satosa/plugin_loader.py", line 195, in _load_plugin_module
[Mon Apr 22 10:30:28.404967 2019] [wsgi:error] [pid 26766]     raise ValueError("Can't find module '%s'" % plugin_config["module"])
[Mon Apr 22 10:30:28.404977 2019] [wsgi:error] [pid 26766] ValueError: Can't find module 'satosa.micro_services.pairwise_generation.AddPairwiseAttribute'

NB:

https://github.com/IdentityPython/SATOSA/blob/master/doc/README.md says

CUSTOM_PLUGIN_MODULE_PATHS is a list of directory paths containing any front-/backend plugin modules

So that doesn't explicitly reference micro_services. And it says

It's possible to write custom plugins which can be loaded by SATOSA. They have to be contained in a Python module, which must be importable from the one of the paths specified by CUSTOM_PLUGIN_MODULE_PATHS in proxy_conf.yaml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant