Open zbyte opened 2 years ago
@zbyte Could you please show your labeling config?
`
`
after restart docker containers, export stopped crash
@zbyte this could happen because of hard drive permissions.
So, does it mean that the export works stably and we can close this issue?
No, now we have this error again. Nobody touch permissions or files/dirs on fs.
traceback is same, same as last time, everything was fixed after container restart
Logs, after container restart:
./deploy/docker-entrypoint.sh: Looking for init scripts in /label-studio/deploy/docker-entrypoint.d/
./deploy/docker-entrypoint.sh: Launching /label-studio/deploy/docker-entrypoint.d/10-copy-static-data.sh
=> Copy static data to a shared folder...
=> Successfully copied.
./deploy/docker-entrypoint.sh: Launching /label-studio/deploy/docker-entrypoint.d/20-wait-for-db.sh
=> Waiting for postgres...
=> Postgres is up.
./deploy/docker-entrypoint.sh: Launching /label-studio/deploy/docker-entrypoint.d/30-run-db-migrations.sh
=> Do database migrations...
=> Database and media directory: /label-studio/data
=> Static URL is set to: /static/
Starting new HTTPS connection (1): pypi.org:443
https://pypi.org:443 "GET /pypi/label-studio/json HTTP/1.1" 200 50436
No module named 'data_manager.actions.__pycache_'
Operations to perform:
Apply all migrations: admin, auth, authtoken, contenttypes, data_export, data_import, data_manager, django_rq, io_storages, labels_manager, ml, organizations, projects, sessions, tasks, users, webhooks
Running migrations:
No migrations to apply.
Your models have changes that are not yet reflected in a migration, and so won't be applied.
Run 'manage.py makemigrations' to make new migrations, and then re-run 'manage.py migrate' to apply them.
=> Migrations completed.
./deploy/docker-entrypoint.sh: Configuration complete; ready for start up
=> Database and media directory: /label-studio/data
=> Static URL is set to: /static/
Starting new HTTPS connection (1): pypi.org:443
https://pypi.org:443 "GET /pypi/label-studio/json HTTP/1.1" 200 50436
Performing system checks...
System check identified no issues (1 silenced).
September 12, 2022 - 10:49:21
Django version 3.1.14, using settings 'core.settings.label_studio'
Starting development server at http://0.0.0.0:8080/
We face the exact same Error using LS v1.5.0 LS runs in docker
We have ~600 images worth around 1GByte to export.
Are there any news on this "Runtime error"?
EDIT :
Our deployment failes at the exact same position as mentioned by @zbyte
File "/usr/lib/python3.8/shutil.py", line 1032, in make_archive save_cwd = os.getcwd()
After one night of sleep...
@zbyte what version of docker do you use?
mine is docker 20.10.12
atm
@AWoelfel @zbyte let's try to use a console export command (it should be available in LS 1.6): lhttps://labelstud.io/guide/export.html#Export-using-console-command
Describe the bug Export project to YOLO format. System crash with error.
To Reproduce Steps to reproduce the behavior:
Expected behavior Archive in YOLO format downloaded
Environment (please complete the following information):
Additional context Full logs from server: