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

Can't annotate with docker: $undefined$ value #5957

Open
diramazioni opened this issue Jun 7, 2024 · 2 comments
Open

Can't annotate with docker: $undefined$ value #5957

diramazioni opened this issue Jun 7, 2024 · 2 comments
Labels
community:issue A community reported issue community:reviewed Issue has been reviewed by the Label Studio Community Team. Community Community Feature Requests, Open Issues, Bugs Reported, or Comments

Comments

@diramazioni
Copy link

diramazioni commented Jun 7, 2024

Describe the bug
Using the docker image I get an error of $undefined$ value

To Reproduce
Steps to reproduce the behavior:

  1. chmod 777 mydata (this is a workaround otherwise it gives me PermissionError: [Errno 13] Permission denied: '/label-studio/data/media' on File "/label-studio/label_studio/core/settings/base.py", line 423, in
    os.makedirs(MEDIA_ROOT, exist_ok=True)
  2. docker run -it -p 8080:8080 -v $(pwd)/mydata:/label-studio/data heartexlabs/label-studio:latest
  3. goto http://0.0.0.0:8080
  4. Create a new project and upload some images
  5. goto Setup and select as a template Object detection with bounding box
  6. goto Labeling interface Use image from -> Imported files
  7. the error on the page is
There was an issue loading URL from $undefined$ value

Things to look out for:

    URL is valid
    URL scheme matches the service scheme, i.e. https and https
    The static server has wide-open CORS, [more on that here](https://labelstud.io/guide/storage.html#Troubleshoot-CORS-and-access-problems)

Technical description:
URL: [undefined$](http://0.0.0.0:8080/projects/1/undefined$)

on the log I see:

[2024-06-07 17:18:22,433] [django.request::log_response::224] [WARNING] Not Found: /projects/1/undefined$
[2024-06-07 17:18:22,433] [django.request::log_response::224] [WARNING] Not Found: /projects/1/undefined$
[2024-06-07 17:18:22,433] [django.server::log_message::161] [WARNING] "GET /projects/1/undefined$ HTTP/1.1" 404 1462
[2024-06-07 17:18:22,433] [django.server::log_message::161] [WARNING] "GET /projects/1/undefined$ HTTP/1.1" 404 1462

immagine

@sajarin
Copy link
Contributor

sajarin commented Jun 21, 2024

Thanks @diramazioni for the issue, does this issue happen on the latest version of LS?

@sajarin sajarin added Community Community Feature Requests, Open Issues, Bugs Reported, or Comments community:reviewed Issue has been reviewed by the Label Studio Community Team. community:issue A community reported issue labels Jun 21, 2024
@88Dezmond88
Copy link

I have faced the same problem. The version is the latest LS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community:issue A community reported issue community:reviewed Issue has been reviewed by the Label Studio Community Team. Community Community Feature Requests, Open Issues, Bugs Reported, or Comments
Projects
None yet
Development

No branches or pull requests

3 participants