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

Python language server - offline mode #5797

Closed
bryanSME opened this issue Jul 24, 2017 · 2 comments
Closed

Python language server - offline mode #5797

bryanSME opened this issue Jul 24, 2017 · 2 comments
Labels
kind/question Questions that haven't been identified as being feature requests or bugs.

Comments

@bryanSME
Copy link

bryanSME commented Jul 24, 2017

Should the Python language server work in offline mode? My question may be related to #3809

I'm trying to upgrade from 5.11 to 5.15 mainly for the python language server. I'm running this in offline mode. When I create a new workspace, Python Defauly Python Stack with Python 3.5.1, pip 8.1.1 the work space starts with errors "missing /home/user/.cache/pip".

Ignoring the error, I create a new project and double click on the "main.py" file what was created for me. This throws the error,

Can't start language server process. Got error: /home/user/che/ls-python/launch.sh: 1: /home/user/che/ls-python/launch.sh: pyls: not found

the launch.sh file does exsist and as expected, it contains "pyls". running pyls from the command line yields "bash: pyls: command not found". At thins point, I'm assuming that Che needs to download some files to get the language server running but that's as far as I've gotten.

@ghost ghost added the kind/question Questions that haven't been identified as being feature requests or bugs. label Jul 25, 2017
@ghost
Copy link

ghost commented Jul 25, 2017

@bryanSME yes, the agent script downloads binaries and if you are offline, an agent won't start:

https://github.com/eclipse/che/blob/master/agents/ls-python/src/main/resources/org.eclipse.che.ls.python.script.sh

@ghost
Copy link

ghost commented Aug 22, 2017

Closing the issue. In future, ls binaries delivery methods may change.

@ghost ghost closed this as completed Aug 22, 2017
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/question Questions that haven't been identified as being feature requests or bugs.
Projects
None yet
Development

No branches or pull requests

1 participant