You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the endpoint is indeed non existing, just 404 instead of error.
Screenshots
No response
Exception traceback
Traceback (most recent call last):
File "/var/www/weblate/weblate-env/lib/python3.9/site-packages/django/core/handlers/exception.py", line 55, in inner
response = get_response(request)
File "/var/www/weblate/weblate-env/lib/python3.9/site-packages/django/core/handlers/base.py", line 197, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/var/www/weblate/weblate-env/lib/python3.9/site-packages/sentry_sdk/integrations/django/views.py", line 84, in sentry_wrapped_callbackreturn callback(request, *args, **kwargs)
File "/var/www/weblate/weblate-env/lib/python3.9/site-packages/django/contrib/syndication/views.py", line 48, in __call__
feedgen.write(response, "utf-8")
File "/var/www/weblate/weblate-env/lib/python3.9/site-packages/django/utils/feedgenerator.py", line 232, in writeself.add_root_elements(handler)
File "/var/www/weblate/weblate-env/lib/python3.9/site-packages/django/utils/feedgenerator.py", line 250, in add_root_elements
handler.addQuickElement("title", self.feed["title"])
File "/var/www/weblate/weblate-env/lib/python3.9/site-packages/django/utils/xmlutils.py", line 20, in addQuickElementself.characters(contents)
File "/var/www/weblate/weblate-env/lib/python3.9/site-packages/django/utils/xmlutils.py", line 27, in charactersraise UnserializableContentError(
Exception Type: UnserializableContentError at /exports/rss/mobilizon/backend-errors/en/265973/
Exception Value: Control characters are not supported in XML 1.0
Raised during: weblate.trans.feeds.TranslationChangesFeed
System check identified some issues:
INFOS:
?: (weblate.I028) Backups are not configured, it is highly recommended for production use
HINT: https://docs.weblate.org/fr/weblate-5.0/admin/backup.html
System check identified 1 issue (1 silenced).
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the issue
Errors generating RSS feeds.
I already tried
Steps to reproduce the behavior
Somone accesses an RSS feed endpoint which doesn't seem to be documented according to: https://docs.weblate.org/en/weblate-5.0/api.html#rss-feeds
This one generates an error: https://weblate.framasoft.org/exports/rss/mobilizon/backend-errors/en/265973/
This one works properly: https://weblate.framasoft.org/exports/rss/mobilizon/backend-errors/en/
Issue at Sentry: https://sentry.mobilizon.org/share/issue/19a93cbf78da43d998afffff32bfcd7d/
Expected behavior
If the endpoint is indeed non existing, just 404 instead of error.
Screenshots
No response
Exception traceback
How do you run Weblate?
PyPI module
Weblate versions
Weblate deploy checks
Additional context
No response
The text was updated successfully, but these errors were encountered: