You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was installing Invenio 3.2 following the quickstart guide.
At the database setup step:
./scripts/setup
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.
The text was updated successfully, but these errors were encountered:
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 files
script.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.
The text was updated successfully, but these errors were encountered: