Skip to content

Dependencies lost upon workspace reopening #5589

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

Closed
bravoalpha79 opened this issue Sep 8, 2021 · 8 comments
Closed

Dependencies lost upon workspace reopening #5589

bravoalpha79 opened this issue Sep 8, 2021 · 8 comments

Comments

@bravoalpha79
Copy link

bravoalpha79 commented Sep 8, 2021

Bug description

Upon starting an existing workspace today, three students report (and I confirmed it with pip3 freeze --local) that all installed dependencies are gone. The workspaces were opened from the Gitpod Dashboard.

pip3 install -r requirements.txt reinstalled all dependencies as expected, but they should never have been gone to begin with.

Steps to reproduce

  1. Open workspace, try to start the app (e.g. python3 run.py)
  2. "no module XXX found" is raised. (on a module/dependency that was previously installed)
  3. Run pip3 freeze --local - the result is empty (no dependencies installed).

Expected behavior

Installed dependencies are kept in the existing workspace.

Example repository

https://gray-gerbil-p6ckklb7.ws-eu15.gitpod.io/
https://azure-snail-aw1src7l.ws-eu15.gitpod.io/
https://amethyst-scallop-5kfji6x2.ws-eu16.gitpod.io/

Anything else?

No response

@Jays-T
Copy link

Jays-T commented Sep 8, 2021

Same issue with another student and same steps taken to produce the error, below is affected workspace:
https://bronze-orca-cznmphft.ws-eu15.gitpod.io/

Student is now saying this:
"my workspace just timed out and I had to re-load again with the same issue showing. My time out time is set to an hour and I only just used it"

@bravoalpha79
Copy link
Author

bravoalpha79 commented Sep 8, 2021

One more workspace impacted by the same issue:
https://moccasin-cricket-fkkxz0tu.ws-eu15.gitpod.io/

Upon trying to reinstall dependencies from requirements.txt, the student is getting this:
image

@Jays-T
Copy link

Jays-T commented Sep 8, 2021

And another workspace affected:
https://salmon-condor-3u077sv0.ws-eu15.gitpod.io/

@Wings30306
Copy link

Wings30306 commented Sep 8, 2021

And another one:
image
from workspace https://tomato-thrush-3619mlgr.ws-eu15.gitpod.io/ - error appearing on attempting to re-install dependencies. Student is attempting to re-install in a new workspace as we speak, so 🤞🏻

UPDATE
New workspace did not help, student has the same issue with psycopg2 not reinstalling on the new workspace (
https://apricot-parrot-2xe6r1ho.ws-eu15.gitpod.io/). Please advise!

@corneliusludmann
Copy link
Contributor

Thanks for reporting. We are investing.

@corneliusludmann
Copy link
Contributor

@bravoalpha79
Copy link
Author

Almost certainly related, installation of dependencies shows some weird warnings, and causes issues subsequently:
image
https://jade-orangutan-vyo2dp1j.ws-eu15.gitpod.io/

@geropl
Copy link
Member

geropl commented Sep 8, 2021

Closing as dupe of #5594. We're currently rolling rolled out a fix: #5594 (comment)

Sorry for the inconvenience, and thank a lot for reporting this @bravoalpha79 and @Jays-T ! 🙏

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

5 participants