Project

General

Profile

Actions

tickets #101791

closed

django.utils.xmlutils.UnserializableContentError: Control characters are not supported in XML 1.0

Added by pjessen over 2 years ago. Updated 9 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Upstream
Target version:
-
Start date:
2021-11-01
Due date:
% Done:

100%

Estimated time:

Description

I came across this error when I was looking at issue #100802 :

ERROR 2021-06-22 04:53:37,701 23225 django.request Internal Server Error: /archives/list/users-hu@lists.opensuse.org/feed/
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/django/core/handlers/exception.py", line 47, in inner
    response = get_response(request)
  File "/usr/lib/python3.6/site-packages/django/core/handlers/base.py", line 179, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/usr/lib/python3.6/site-packages/django/contrib/syndication/views.py", line 47, in __call__
    feedgen.write(response, 'utf-8')
  File "/usr/lib/python3.6/site-packages/django/utils/feedgenerator.py", line 196, in write
    self.write_items(handler)
  File "/usr/lib/python3.6/site-packages/django/utils/feedgenerator.py", line 209, in write_items
    self.add_item_elements(handler, item)
  File "/usr/lib/python3.6/site-packages/django/utils/feedgenerator.py", line 250, in add_item_elements
    handler.addQuickElement("description", item['description'])
  File "/usr/lib/python3.6/site-packages/django/utils/xmlutils.py", line 20, in addQuickElement
    self.characters(contents)
  File "/usr/lib/python3.6/site-packages/django/utils/xmlutils.py", line 27, in characters
    raise UnserializableContentError("Control characters are not supported in XML 1.0")
django.utils.xmlutils.UnserializableContentError: Control characters are not supported in XML 1.0

This goes back to Februar 2021 and seems to affect a number of lists:

announce@lists.opensuse.org
arm@lists.opensuse.org
artwork@lists.opensuse.org
autoinstall@lists.opensuse.org
bugs@lists.opensuse.org
buildservice@lists.opensuse.org
cloud@lists.opensuse.org
devel@lists.uyuni-project.org
doc@lists.opensuse.org
factory-mozilla@lists.opensuse.org
factory@lists.opensuse.org
features@lists.opensuse.org
gnome@lists.opensuse.org
go@lists.opensuse.org
kde3@lists.opensuse.org
kde@lists.opensuse.org
kernel-bugs@lists.opensuse.org
kernel@lists.opensuse.org
limal-commit@lists.opensuse.org
lxde@lists.opensuse.org
m17n@lists.opensuse.org
obs-commits@lists.opensuse.org
packaging@lists.opensuse.org
ppc@lists.opensuse.org
programming@lists.opensuse.org
project@lists.opensuse.org
proofreading@lists.opensuse.org
ruby@lists.opensuse.org
security-announce@lists.opensuse.org
security@lists.opensuse.org
support@lists.opensuse.org
translation-de@lists.opensuse.org
translation-ru@lists.opensuse.org
translation@lists.opensuse.org
updates@lists.opensuse.org
users-cz@lists.opensuse.org
users-de@lists.opensuse.org
users-el@lists.opensuse.org
users-fr@lists.opensuse.org
users-hu@lists.opensuse.org
users-ja@lists.opensuse.org
users-zh@lists.opensuse.org
users@lists.opensuse.org
virtual@lists.opensuse.org
web@lists.opensuse.org
wiki@lists.opensuse.org
xfce@lists.opensuse.org
zypp-commit@lists.opensuse.org

Actions #1

Updated by pjessen over 2 years ago

  • Private changed from Yes to No
Actions #2

Updated by pjessen almost 2 years ago

  • Category changed from Mailing lists to Upstream
Actions #3

Updated by crameleon 9 months ago

Any recent occurrences with this? Has undergone several updates in the meanwhile.

Actions #4

Updated by pjessen 9 months ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

The condition is still present in the code, but whether it is still being raised, I don't know.
Note to self: next time, taken note of exactly where the error was logged.

Being unable to find any such messages any more, I'm going to close as resolved.

Actions

Also available in: Atom PDF