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

Returning to job list for a task and attempting to start another job results in infinite loading screen. #1944

Closed
2 tasks done
thomasstats opened this issue Jul 28, 2020 · 4 comments · Fixed by #1966
Closed
2 tasks done
Assignees
Labels
bug Something isn't working
Milestone

Comments

@thomasstats
Copy link

thomasstats commented Jul 28, 2020

My actions before raising this issue

Expected Behaviour

Being able to return to the job list for a task and start a new job without an infinite loading screen.

Current Behaviour

After returning to the job list while working on a job, clicking on another job loads the UI but infinitely loops the loading screen. When checking the cvat logs, the most recent entry is the last action performed before returning to the job list, no actions such as clicking on the new job appear. Upon checking the console and the HAR data there doesn't appear to be any errors, and HAR produces one request to git/repository/get/. This was reproduced with multiple users on different machines. However, all was done on the same VM.

Steps to Reproduce (for bugs)

  1. Start a job in a task with multiple jobs. In our case we had a thousand images in a task split into 100 images per job.
  2. Press the back arrow to return to the job list, or hit task and enter the job list from the task menu.
  3. Select a different job that is assigned to you from the job list
  4. UI loads and infinitely shows the loading screen.
  5. To be able to load the job you have to go back to the job list, refresh the page (F5 or refresh button), and then enter the job.

Context

I would say this is likely a minor issue, because it currently has a work around, but it is a bit of an annoyance for the annotators.

Your Environment

  • Git hash commit (git log -1): Release 1.0.0 (Release 1.0.0 #1335)
  • Docker version docker version (e.g. Docker 17.0.05): 19.03.8
  • Operating System and version (e.g. Linux, Windows, MacOS): Ubuntu 18.04
@bsekachev
Copy link
Member

bsekachev commented Jul 28, 2020

@thomasstats

Hi, could you please try to reproduce using develop branch? I cannot
Also we will release 1.1.0-beta at the end of July

@thomasstats
Copy link
Author

thomasstats commented Jul 29, 2020

@bsekachev loaded develop branch on my personal computer, uploaded a task with multiple jobs, and can confirm that the problem still exists. Is there by chance anything I could gather for you that would help you diagnose this problem further? Like I said previously the console, cvat logs, and HAR data all seem to be rather useless. I'm curious if it's a client side js problem.

Edit: Actually now, I've gone back again and tried to enter a job a second time without refresh and I'm getting "Error during fetching a job" with 100 printed in the console, log attached. A page appears that says "Sorry, but this job was not found". When I attempt to do it again and again this 100 continually increments by 100. For instance the 6th time I've attempted the number appears as 600. It's still worth noting that if I refresh the job list it works again with no issues. The CVAT logs still only show the most recent successful load, and no errors.

localhost-1595998122401.log

@bsekachev
Copy link
Member

@thomasstats

Hmm.. I was able to reproduce it, but reproducing isn't stable for me.
Okay, let's assign bug label, I suppose it is a client issue.

@bsekachev bsekachev added the bug Something isn't working label Jul 29, 2020
@bsekachev bsekachev self-assigned this Jul 29, 2020
@bsekachev bsekachev added this to the 1.1.0-beta milestone Jul 29, 2020
@bsekachev
Copy link
Member

@thomasstats

I expect the fix above will resolve the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants