CodeIntel
CodeIntel copied to clipboard
Cannot run CodeIntel on Ubuntu 18.04
Hi, I installed CodeIntel to my Ubuntu 18.04 Vagrant box with following commands:
vagrant@ci:~$ python3 --version
Python 3.6.7
vagrant@ci:~$ pip3 --version
pip 9.0.1 from /usr/lib/python3/dist-packages (python 3.6)
vagrant@ci:~$ pip3 install --upgrade --pre CodeIntel
Installation went fine but when I try to test the databases I get following error message:
vagrant@ci:~$ codeintel dbcheck
ERROR:codeintel.cpp:Consider setting library_path.
ERROR:codeintel.oop:[Errno 2] No such file or directory: '/home/vagrant/.codeintel/db' (/home/vagrant/.local/lib/python3.6/site-packages/codeintel/codeintel2/database/database.py:656 in _gen_langs_in_db)
I also tried to import a cix to create the missing db without success:
vagrant@ci:~$ codeintel cix ~/.local/lib/python3.6/site-packages/codeintel/codeintel2/stdlibs/javascript.cix
ERROR:codeintel.oop:cannot import name 'tree_from_cix' (/home/vagrant/.local/lib/python3.6/site-packages/codeintel/__main__.py:571 in do_cix)
Any pointers here what could be the problem and is the last import command the right way to test the installation? I'd be happy to fix the issue if I just know where to look.