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

Rebuild gradeable stuck on in rebuild queue #8152

Closed
poorna2152 opened this issue Jul 7, 2022 · 3 comments · Fixed by #8157
Closed

Rebuild gradeable stuck on in rebuild queue #8152

poorna2152 opened this issue Jul 7, 2022 · 3 comments · Fixed by #8157
Labels

Comments

@poorna2152
Copy link
Contributor

Describe the bug
When Rebuild Gradeable button of a Gradeable is clicked build status is stuck on is in the rebuild queue.

Expected behavior
Build status should go into Gradeable build complete after some time.

To Reproduce
Steps to reproduce the behavior:

  1. Log in as an instructor
  2. Go to a edit gradeable page for any gradeable
  3. Click the Submissions\Autograding tab
  4. Click the Rebuild Gradeable button

Additional context
Managed to solve this using command apt-get install libgl1 as suggested by @Viyerelu23333

@poorna2152 poorna2152 added the bug label Jul 7, 2022
@Viyerelu23333
Copy link
Contributor

Viyerelu23333 commented Jul 7, 2022

Just had a look into this issue...

It is introduced by dependabot in ba8145e. There is also a related issue at opencv/opencv-python#370.

@MasterOdin
Copy link
Member

Looks like the potential fixes are:

  • Install libgl1-mesa-glx (while installing just libgl1 fixes the immediate problem, no telling what other X11 things might be required in the future)
  • Replace opencv-python with opencv-python-headless in our pip install, which does not include the X11 stuff

@shailpatels Not sure your thoughts on difficulty of switching over to headless? Probably just have a migration that does pip list to check if opencv-python is installed, and then replaces that with opencv-python-headless if we want to be extra safe?

@shailpatels
Copy link
Member

@MasterOdin Yeah switching to opencv-headless I think is the better option since the X11 stuff is never actually used anywhere
made #8156 to fix this issue with the migration

So far didn't see any issues testing the bulk upload functions since it only uses the core opencv modules

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