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

Issue with installation: bblfish #10

Closed
AnneshaChowdhury opened this issue Aug 3, 2018 · 5 comments
Closed

Issue with installation: bblfish #10

AnneshaChowdhury opened this issue Aug 3, 2018 · 5 comments

Comments

@AnneshaChowdhury
Copy link

Hi,
I am having a hard time with the installation of tmsc. I have been trying to get tmsc up but have been running into some problems. I am installing inside 'venv' on Windows 10.

This is the snippet of the error I have been getting.

   pyuast.cc
   bblfsh/pyuast.cc(481): error C2059: syntax error: '.'
   bblfsh/pyuast.cc(502): error C2143: syntax error: missing ';' before '}'
   bblfsh/pyuast.cc(504): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
   bblfsh/pyuast.cc(504): error C2040: 'ctx': 'int' differs in levels of indirection from 'Uast *'
   bblfsh/pyuast.cc(504): error C2065: 'iface': undeclared identifier
   bblfsh/pyuast.cc(505): error C2059: syntax error: 'return'
   bblfsh/pyuast.cc(506): error C2059: syntax error: '}'
   bblfsh/pyuast.cc(506): error C2143: syntax error: missing ';' before '}'
   error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\VC\\Tools\\MSVC\\14.11.25503\\bin\\HostX86\\x86\\cl.exe' failed with exit status 2

   ----------------------------------------
Command "c:\progra~1\python36\venv~1\scripts\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\Annesha\\AppData\\Local\\Temp\\pip-install-ur9kqskb\\bblfsh\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\Annesha\AppData\Local\Temp\pip-record-jp280ri4\install-record.txt --single-version-externally-managed --compile --install-headers c:\progra~1\python36\venv~1\include\site\python3.6\bblfsh" failed with error code 1 in C:\Users\Annesha\AppData\Local\Temp\pip-install-ur9kqskb\bblfsh\c\ 

Any help is appreciated!

@vmarkovtsev
Copy link
Collaborator

Hi @AnneshaChowdhury !

Thanks for reporting. Indeed, Windows is our punishment for our software development sins.

This is clearly a problem with installing the Babelfish python client. Can you please file the very same report to
https://github.com/bblfsh/client-python (about problems with pip3 install bblfsh)?

I am closing the original issue as unrelated.

@smola
Copy link

smola commented Aug 3, 2018

@AnneshaChowdhury I've just opened the issue for you: bblfsh/python-client#114

@AnneshaChowdhury
Copy link
Author

@vmarkovtsev Thanks for your response, Yeah , I have tried for few hours on my Windows machine but no luck.
@smola Appreciate your help.

@AnneshaChowdhury
Copy link
Author

@vmarkovtsev - I have a question, will tmsc work on private source-code repositories? And if it does, how do we configure that?

@vmarkovtsev
Copy link
Collaborator

It takes any Git URL or file system path. If the ssh remote does not work for you then the second option will definitely work.

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

3 participants