label-studio
label-studio copied to clipboard
Can't annotate with docker: $undefined$ value
Describe the bug Using the docker image I get an error of $undefined$ value
To Reproduce Steps to reproduce the behavior:
- 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, inos.makedirs(MEDIA_ROOT, exist_ok=True) docker run -it -p 8080:8080 -v $(pwd)/mydata:/label-studio/data heartexlabs/label-studio:latest- goto http://0.0.0.0:8080
- Create a new project and upload some images
- goto Setup and select as a template Object detection with bounding box
- goto Labeling interface Use image from -> Imported files
- 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
Thanks @diramazioni for the issue, does this issue happen on the latest version of LS?
I have faced the same problem. The version is the latest LS.
I experienced the same error when I tried multi-page document annotation. I did not have this error while working with single images. The version is v1.13.1
The same error: OS: macOS 15.0.1 label-studio 1.13.1