question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Distinct collaborators receiving the same task

See original GitHub issue

Describe the bug When two collaborators log into the same project they receive the same task Backend indicates an error:

[2021-04-12 22:11:03,640] [tasks.models::set_lock::103] [ERROR] Current number of locks for task 2 is 1, but overlap=1: that's a bug because this task should not be taken in a label stream (task should be locked)

In the user screen that logged last, sometimes, the “Submit” button disappear.

To Reproduce Steps to reproduce the behavior:

  1. Create accounts “user1@localhost” and “user2@localhost”
  2. Log user1 and create a sample project
  3. Import file with multiple tasks
  4. Click to label a task with user1
  5. Log user2 (using another browser or anonymous session)
  6. Click to label a task with user2

Expected behavior Users receiving different tasks each.

Screenshots Click to label Captura de tela de 2021-04-13 14-16-39

user2 disappearing top toolbar Captura de tela de 2021-04-14 11-47-50

Environment (please complete the following information):

  • OS: Ubuntu 20.04 focal
  • Label Studio Version 1.0.1

EDIT Better description to steps to reproduce the issue and possibly related “Submit button disappear” issue reported above and by @bolotyuh

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:14 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
bolotyuhcommented, Apr 13, 2021

Yep, once I saw this problem, but can’t reproduce it.

When you refresh the page on the same task top toolbar disappearing as I understood it because we already have annotation

2reactions
makseqcommented, Apr 13, 2021

@bolotyuh @rodrigocaus The problem is not so trivial as it might seem. When LS generates the next task for the annotator, it must lock this task for a while until the annotator does his job. And this duration is unpredictable: it could be 1 second, 1 minute, 1 hour, etc.

We tried to use task locks and the label stream looks like what you expect: annotators are given different tasks all the time. Although if you try to press Label again, you won’t see unlabeled & locked tasks, because they have been locked by some annotators for several hours in edge cases. And it’s confusing.

So, you can have two fast workarounds:

Read more comments on GitHub >

github_iconTop Results From Across the Web

Task Assignee & Collaborators - Asana
Select Assign duplicate tasks from the drop-down menu; Choose from the list who you are going to assign a duplicate to; Click Assign...
Read more >
The 6 keys to effective collaboration in the workplace
In this guide, learn 6 key principles of effective workplace collaboration, plus the skills and tools you need for better workplace ...
Read more >
Overview of Collaboration Features - Airtable Support
A collaborator notified when added to a user field can receive an in-app notification, as well as an email notification. This is particularly ......
Read more >
Managing Collaborators - Box Support
Learn how to control who has access to your content and collaboration settings in this article below. Modifying Collaborator Access...
Read more >
Collaboration: When You Can and When You Can't Work with ...
Collaboration is working with another or receiving assistance from someone (a classmate, friend, or parent, whether in person or electronically) ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found