Closed HappyMiner closed 4 years ago
Is Celery running on your installation? Can you please include output of weblate check --deploy
and weblate list_versions
?
Updated the initial ticket with requested outputs. My mistake was to run them with python check --deploy
instead of ./weblate check --deploy
. Missed that in the documentation. No idea why I have to use ./weblate
instead of just weblate
... I did try to start Celery in the beginning, but failed to do so. Since it was marked optional in the installation documentation, I did not bother trying to get this to run.
Ok, starting Celery got me further. Here the command I used in order to run this: `(weblate-env) theuser@TestDrive:~/weblate-env/lib/python3.5/site-packages/weblate/examples$ ./celery start celery multi v4.4.0 (cliffs)
Starting nodes... search@TestDrive: OK notify@TestDrive: OK celery@TestDrive: OK memory@TestDrive: OK backup@TestDrive: OK translate@TestDrive: OK (weblate-env) theuser@TestDrive:~/weblate-env/lib/python3.5/site-packages/weblate/examples$`
But now one big problem remains: How do I actually start the translation of my English file? I could not find anything in the documentation, seems one has to be born with this knowledge?
I tried to "start a new translation", then added my target language and then got a file not found error. After I went back and tried to submit again, I was told that "the translation file already exists". Please see document attached.
Also all the languages I just added, show 100% complete. How can that be? What do I need to do next?
Can you please share the zip file you used for upload?
Please find attached the .pot files I used. Original and zip in case something went wrong during zipping. Files.zip
Hmm, I don't see any problem in there.
Looking again at your original PDF, I think I found problem - the path should be relative to the repository, so it should be only testENGLISH.po
. There is probably bug in the validation that let it go.
Thank you for your report, the issue you have reported has just been fixed.
Describe the bugs
The above seems to loop forever.
To Reproduce
In the background Weblate creates a Git repository for you and all changes are tracked in. In case you later decide to use a VCS to store the translations, you already have a repo within Weblate can base your integration on.
theuser@TestDrive:~/weblate-env/bin$ ./weblate list_versions System check identified some issues:
WARNINGS: ?: (weblate.W025.ass) Failure in loading handler for ass file format: aeidon or gaupol package required for Subtitle support HINT: https://docs.weblate.org/en/weblate-3.10.3/admin/install.html#optional-deps ?: (weblate.W025.php) Failure in loading handler for php file format: No module named 'phply' HINT: https://docs.weblate.org/en/weblate-3.10.3/admin/install.html#optional-deps ?: (weblate.W025.srt) Failure in loading handler for srt file format: aeidon or gaupol package required for Subtitle support HINT: https://docs.weblate.org/en/weblate-3.10.3/admin/install.html#optional-deps ?: (weblate.W025.ssa) Failure in loading handler for ssa file format: aeidon or gaupol package required for Subtitle support HINT: https://docs.weblate.org/en/weblate-3.10.3/admin/install.html#optional-deps ?: (weblate.W025.sub) Failure in loading handler for sub file format: aeidon or gaupol package required for Subtitle support HINT: https://docs.weblate.org/en/weblate-3.10.3/admin/install.html#optional-deps
theuser@TestDrive:~/weblate-env/bin$ ./weblate check --deploy SystemCheckError: System check identified some issues:
CRITICALS: ?: (weblate.C030) The Celery beats scheduler is not executing periodic tasks in a timely manner. HINT: https://docs.weblate.org/en/weblate-3.10.3/admin/install.html#celery ?: (weblate.E012) The server email has default value HINT: https://docs.weblate.org/en/weblate-3.10.3/admin/install.html#production-email ?: (weblate.E013) The default from email has default value HINT: https://docs.weblate.org/en/weblate-3.10.3/admin/install.html#production-email ?: (weblate.E014) The cookie secret key has default value HINT: https://docs.weblate.org/en/weblate-3.10.3/admin/install.html#production-secret ?: (weblate.E017) Configure correct site domain HINT: https://docs.weblate.org/en/weblate-3.10.3/admin/install.html#production-site ?: (weblate.E018) Failed to download avatar:
HINT: https://docs.weblate.org/en/weblate-3.10.3/admin/optionals.html#avatars
?: (weblate.E019) The Celery does not process tasks or is too slow in processing them.
HINT: https://docs.weblate.org/en/weblate-3.10.3/admin/install.html#celery
ERRORS: ?: (weblate.E011) The site admins seem to be wrongly configured HINT: https://docs.weblate.org/en/weblate-3.10.3/admin/install.html#production-admins ?: (weblate.E016) Configure cached template loader for better performance HINT: https://docs.weblate.org/en/weblate-3.10.3/admin/install.html#production-templates
WARNINGS: ?: (security.W004) You have not set a value for the SECURE_HSTS_SECONDS setting. If your entire site is served only over SSL, you may want to consider setting a value and enabling HTTP Strict Transport Security. Be sure to read the documentation first; enabling HSTS carelessly can cause serious, irreversible problems. ?: (security.W008) Your SECURE_SSL_REDIRECT setting is not set to True. Unless your site should be available over both SSL and non-SSL connections, you may want to either set this setting True or configure a load balancer or reverse-proxy server to redirect all connections to HTTPS. ?: (security.W012) SESSION_COOKIE_SECURE is not set to True. Using a secure-only session cookie makes it more difficult for network traffic sniffers to hijack user sessions. ?: (security.W018) You should not have DEBUG set to True in deployment. ?: (weblate.W025.ass) Failure in loading handler for ass file format: aeidon or gaupol package required for Subtitle support HINT: https://docs.weblate.org/en/weblate-3.10.3/admin/install.html#optional-deps ?: (weblate.W025.php) Failure in loading handler for php file format: No module named 'phply' HINT: https://docs.weblate.org/en/weblate-3.10.3/admin/install.html#optional-deps ?: (weblate.W025.srt) Failure in loading handler for srt file format: aeidon or gaupol package required for Subtitle support HINT: https://docs.weblate.org/en/weblate-3.10.3/admin/install.html#optional-deps ?: (weblate.W025.ssa) Failure in loading handler for ssa file format: aeidon or gaupol package required for Subtitle support HINT: https://docs.weblate.org/en/weblate-3.10.3/admin/install.html#optional-deps ?: (weblate.W025.sub) Failure in loading handler for sub file format: aeidon or gaupol package required for Subtitle support HINT: https://docs.weblate.org/en/weblate-3.10.3/admin/install.html#optional-deps
INFOS: ?: (weblate.I021) Error collection is not configured, it is highly recommended for production use HINT: https://docs.weblate.org/en/weblate-3.10.3/admin/install.html#collecting-errors ?: (weblate.I028) Backups are not configured, it is highly recommended for production use HINT: https://docs.weblate.org/en/weblate-3.10.3/admin/backup.html
System check identified 20 issues (1 silenced). theuser@TestDrive:~/weblate-env/bin$