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

Could not load plug-in #20

Open
phamminhtris opened this issue Dec 13, 2019 · 2 comments
Open

Could not load plug-in #20

phamminhtris opened this issue Dec 13, 2019 · 2 comments

Comments

@phamminhtris
Copy link

Hi I was trying to load some plugin inside the container. When I ran list-plugins I got:

+Available Plugins--+-------------------------------+
| Name              | Title                         |
+-------------------+-------------------------------+
| importer          | Importer                      |
| importer_invenio  | Importer for Invenio          |
| livesync          | LiveSync                      |
| payment_manual    | Bank Transfer                 |
| payment_paypal    | PayPal                        |
| piwik             | Piwik statistics              |
| previewer_code    | Syntax highlighter (Pygments) |
| previewer_jupyter | Jupyter Notebook renderer     |
| search            | Search                        |
| storage_s3        | S3 Storage                    |
| vc_vidyo          | Vidyo                         |
+-------------------+-------------------------------+

But when I try to a plugin, I got an issue

2019-12-13 21:35:42,338  ERROR    0000000000000000  indico.plugins            Plugin 'previewer_code' does not exist

My environment file is like this:

INDICO_EXTRA_PLUGINS='previewer_code'

Any help is appreciated. Thanks

@mic4ael
Copy link
Member

mic4ael commented Jan 7, 2020

I am able to reproduce this problem locally. I will now try to find what is the reason for this.

@mic4ael
Copy link
Member

mic4ael commented Jan 7, 2020

I guess the problem is the way you declare the INDICO_EXTRA_PLUGINS env. You shouldn't use '. It should look like this:

INDICO_EXTRA_PLUGINS=previewer_code

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

2 participants