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

Python2: Logs in UI don't populate when there is an incompatible Python version on the server #149

Open
kgartland-rstudio opened this issue Jan 11, 2019 · 2 comments

Comments

@kgartland-rstudio
Copy link
Contributor

When deploying from a python 2.7.12 environment to a server with a 2.7.9 environment, the deploy fails as expected; but no information is captured in the UI. The logs in the UI continue to display Deploying... while the the error Failed to deploy successfully is displayed in the form.

This doesn't seem to occur with Python3, for example:
Deploying from python 3.7.0 to Python 3.5.2 the following error is displayed in the UI logs:

Building Jupyter notebook...
Build error: Unable to find a compatible version of Python: No known installation matching major.minor version of 3.7.0

Found while testing #146
This likely just impacts Pyhon2.

@kgartland-rstudio kgartland-rstudio added this to the v1.7.2 milestone Jan 11, 2019
@joncfoo joncfoo removed this from the v1.7.2 milestone Jan 24, 2019
@joncfoo
Copy link
Contributor

joncfoo commented Jan 24, 2019

This is a known issue and is a result of how we gather logs for a deployment. In short, we begin gathering logs when associated builders are run and not before.

I've marked this as wontfix for the time being.

@slopp
Copy link

slopp commented Jan 25, 2019

Have we considered showing logs prior? Eg we could tell the user when we are inspecting their environment, bundling, etc. And could we even do an API call to check for compatible versions before we upload? The chattier we are the better - even if it isn’t all streamed from RSC.

Otherwise we will end up having a lot of support tickets that are hard to diagnose!

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

No branches or pull requests

3 participants