Here is what I tried:
After an automatic translation I tried bulk-editing the auto-translated strings (setting status to "translated" and removing the label).
For this I tried several values in the search box, eg (afair),
(Reason for this: the help does not give an example in how to select by a specific label. Anyhow even "has:label" failed")
Expected behavior
No internal server error.
Screenshots
No response
Exception traceback
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/django/db/backends/utils.py", line 89, in _execute
return self.cursor.execute(sql, params)
The above exception (FOR NO KEY UPDATE cannot be applied to the nullable side of an outer join
) was the direct cause of the following exception:
File "/usr/local/lib/python3.11/site-packages/django/core/handlers/exception.py", line 56, in inner
response = get_response(request)
File "/usr/local/lib/python3.11/site-packages/django/core/handlers/base.py", line 197, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/usr/local/lib/python3.11/site-packages/django/contrib/auth/decorators.py", line 23, in _wrapped_view
return view_func(request, *args, **kwargs)
File "/usr/local/lib/python3.11/site-packages/django/views/decorators/http.py", line 43, in inner
return func(request, *args, **kwargs)
File "/usr/local/lib/python3.11/site-packages/django/views/decorators/cache.py", line 62, in _wrapped_view_func
response = view_func(request, *args, **kwargs)
File "/usr/local/lib/python3.11/site-packages/weblate/trans/views/search.py", line 245, in bulk_edit
updated = bulk_perform(
File "/usr/local/lib/python3.11/site-packages/weblate/trans/bulk.py", line 56, in bulk_perform
for unit in component_units.select_for_update():
File "/usr/local/lib/python3.11/site-packages/django/db/models/query.py", line 394, in __iter__
self._fetch_all()
File "/usr/local/lib/python3.11/site-packages/django/db/models/query.py", line 1867, in _fetch_all
self._result_cache = list(self._iterable_class(self))
File "/usr/local/lib/python3.11/site-packages/django/db/models/query.py", line 87, in __iter__
results = compiler.execute_sql(
File "/usr/local/lib/python3.11/site-packages/django/db/models/sql/compiler.py", line 1398, in execute_sql
cursor.execute(sql, params)
File "/usr/local/lib/python3.11/site-packages/django/db/backends/utils.py", line 67, in execute
return self._execute_with_wrappers(
File "/usr/local/lib/python3.11/site-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers
return executor(sql, params, many, context)
File "/usr/local/lib/python3.11/site-packages/django/db/backends/utils.py", line 84, in _execute
with self.db.wrap_database_errors:
File "/usr/local/lib/python3.11/site-packages/django/db/utils.py", line 91, in __exit__
raise dj_exc_value.with_traceback(traceback) from exc_value
File "/usr/local/lib/python3.11/site-packages/django/db/backends/utils.py", line 89, in _execute
return self.cursor.execute(sql, params)
Exception Type: NotSupportedError at /bulk-edit/pdftools/pdfjoin/fr/
Exception Value: FOR NO KEY UPDATE cannot be applied to the nullable side of an outer join
Raised during: weblate.trans.views.search.bulk_edit
SystemCheckError: System check identified some issues:
CRITICALS:
?: (weblate.E018) Failed to download avatar: 404 Client Error: Not Found for url: https://codeberg.org/user/avatar/noreply@weblate.org/32
HINT: https://docs.weblate.org/en/weblate-4.16.2/admin/optionals.html#avatars
INFOS:
?: (weblate.I021) Error collection is not set up, it is highly recommended for production use
HINT: https://docs.weblate.org/en/weblate-4.16.2/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-4.16.2/admin/backup.html
System check identified 3 issues (1 silenced).
Describe the issue
Internal server error is triggered when trying to bulk-edit some translations.
I already tried
Steps to reproduce the behavior
(from https://codeberg.org/Codeberg/Community/issues/954#issuecomment-828074)
Here is what I tried: After an automatic translation I tried bulk-editing the auto-translated strings (setting status to "translated" and removing the label). For this I tried several values in the search box, eg (afair),
(Reason for this: the help does not give an example in how to select by a specific label. Anyhow even "has:label" failed")
Expected behavior
No internal server error.
Screenshots
No response
Exception traceback
How do you run Weblate?
Docker container
Weblate versions
Weblate deploy checks
Additional context
Full Error e-mail