Bug#1033851: python-pyepsg: autopkgtest regression: xml.etree.ElementTree.ParseError: not well-formed (invalid token)

Paul Gevers elbrus at debian.org
Sun Apr 2 20:37:33 BST 2023


Source: python-pyepsg
Version: 0.4.0-1
Severity: serious
Control: tags -1 bookworm-ignore
User: debian-ci at lists.debian.org
Usertags: regression

Dear maintainer(s),

Your package has an autopkgtest, great. However, it fails since about 
August 2022. Can you please investigate the situation and fix it? I 
copied some of the output at the bottom of this report.

The release team has announced [1] that failing autopkgtest on amd64 and 
arm64 are considered RC in testing. [Release Team member hat on] Because 
we're currently in the hard freeze for bookworm, I have marked this bug 
as bookworm-ignore. Targeted fixes are still welcome.

More information about this bug and the reason for filing it can be 
found on 
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://lists.debian.org/debian-devel-announce/2019/07/msg00002.html

https://ci.debian.net/data/autopkgtest/testing/amd64/p/python-pyepsg/32471275/log.gz

=================================== FAILURES 
===================================
_______________________ [doctest] pyepsg.CRS.as_esri_wkt 
_______________________
129
130         Return the ESRI WKT string which corresponds to the CRS.
131
132         For example::
133
134             >>> print(get(27700).as_esri_wkt())  # doctest: +ELLIPSIS
UNEXPECTED EXCEPTION: ParseError('not well-formed (invalid token): line 
1, column 0')
Traceback (most recent call last):
   File "/usr/lib/python3.11/doctest.py", line 1351, in __run
     exec(compile(example.source, filename, "single",
   File "<doctest pyepsg.CRS.as_esri_wkt[0]>", line 1, in <module>
   File "/usr/lib/python3/dist-packages/pyepsg.py", line 288, in get
     root = ET.fromstring(xml)
            ^^^^^^^^^^^^^^^^^^
   File "/usr/lib/python3.11/xml/etree/ElementTree.py", line 1338, in XML
     parser.feed(text)
xml.etree.ElementTree.ParseError: not well-formed (invalid token): line 
1, column 0
/usr/lib/python3/dist-packages/pyepsg.py:134: UnexpectedException
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20230402/7c424f6f/attachment.sig>


More information about the debian-science-maintainers mailing list