Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot run CodeIntel on Ubuntu 18.04 #11

Open
samuliasmala opened this issue Apr 27, 2019 · 0 comments
Open

Cannot run CodeIntel on Ubuntu 18.04 #11

samuliasmala opened this issue Apr 27, 2019 · 0 comments

Comments

@samuliasmala
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant