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

I found some bug when i use ‘sparse submit’ #439

Open
elfgzp opened this issue Jul 5, 2018 · 0 comments
Open

I found some bug when i use ‘sparse submit’ #439

elfgzp opened this issue Jul 5, 2018 · 0 comments

Comments

@elfgzp
Copy link

elfgzp commented Jul 5, 2018

When i run ‘sparse submit’.
I got an error
Fatal error: put() encountered an exception while uploading 'virtualenvs/wordcount.txt'
so i set a breakpoint at
update_virtualenv.py line 52

for requirements_path in requirements_paths:
    puts("Uploading {} to temporary file.".format(requirements_path))
    temp_req = run("mktemp /tmp/streamparse_requirements-XXXXXXXXX.txt") # this line
    put(requirements_path, temp_req)

I got the value of temp_req, it was
Docker machine "boot2docker-vm" does not exist. Use "docker-machine ls" to list machines. Use "docker-machine create" to add a new one. /tmp/streamparse_requirements-XXXXXXXXX.txt /bin/bash: shell_session_update: command not found
It contain some error info.

Then i set the value temp_req= '/tmp/streamparse_requirements-XXXXXXXXX.txt'.

It work!!

By the way,
When i got the errorFatal error: put() encountered an exception while uploading 'virtualenvs/wordcount.txt'
I must remove the '/tmp/streamparse_requirements-XXXXXXXXX.txt' file before i run sparse submit.

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