The plugin(not installed by me) worked fine with the older installation(ver 2.2) of Indico.
I installed the latest 2.3 to different path and tried to install the plugin my self.
- Installed the plugin as module to the python virtual env I am using
indico-plugin-invoices @ file:///home/user/dev/indico_2.3/plugins/invoices (from pip freeze)
- Tried building assets with:
python bin/maintenance/build-assets.py plugin --dev …/plugins/invoices/
which gives error:
subprocess.CalledProcessError: Command '['python', 'bin/maintenance/dump_url_map.py', '--output', '/home/user/dev/indico_2.3/plugins/invoices/url_map.json', '--plugin', 'invoices']' returned non-zero exit status 1
When I run
“python bin/maintenance/dump_url_map.py --plugin invoices” the exception is
File “bin/maintenance/dump_url_map.py”, line 33, in get_rules
‘PLUGINS’: plugins})
File “/home/user/dev/indico_2.3/src/indico/web/flask/app.py”, line 379, in make_app
raise Exception(‘Could not load some plugins: {}’.format(', '.join(plugin_engine.get_failed_plugins(app))))
Exception: Could not load some plugins: invoices
In plugin setup.py file entry point is defined as:
entry_points={‘indico.plugins’: {‘invoices = indico_invoices.plugin:InvoiceManagementPlugin’}}