indico / indico-containers

Containerization of Indico
27 stars 26 forks source link

Could not load plug-in #20

Open phamminhtris opened 4 years ago

phamminhtris commented 4 years ago

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 commented 4 years ago

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

mic4ael commented 4 years ago

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