I was installing Invenio 3.2 following the quickstart guide.
At the database setup step:
I got the following error:
Usage: invenio files location [OPTIONS] NAME URI
Try "invenio files location --help" for help.
Error: Got unexpected extra arguments (disable autoreload in ipython_config.py to improve performance. /home/luca/.local/share/virtualenvs/dlt-4L5I9W9K/var/instance/data)
The reason is that, on my machine, I enabled autoreload in IPython. Every time I start IPython, I get the warning message disable autoreload in ipython_config.py to improve performance. It looks like for some reason this warning became an argument to invenio files script.
In order to resolve the problem, I commented out this line in IPython configuration:
c.InteractiveShellApp.exec_lines.append('print("Warning: disable autoreload in ipython_config.py to improve performance.")')
In this way, IPython does not produce a warning message (even if autocompletion is still enabled) and the Invenio setup script runs correctly.
I was installing Invenio 3.2 following the quickstart guide.
At the database setup step:
I got the following error:
The reason is that, on my machine, I enabled autoreload in IPython. Every time I start IPython, I get the warning message
disable autoreload in ipython_config.py to improve performance. It looks like for some reason this warning became an argument toinvenio filesscript.In order to resolve the problem, I commented out this line in IPython configuration:
In this way, IPython does not produce a warning message (even if autocompletion is still enabled) and the Invenio setup script runs correctly.