Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1102751

Bug#1010821: pypdf2 breaks xml2rfc autopkgtest: lxml.etree.XMLSyntaxError: PCDATA invalid Char value 1

From Paul Gevers <elbrus@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#1010821: pypdf2 breaks xml2rfc autopkgtest: lxml.etree.XMLSyntaxError: PCDATA invalid Char value 1
Date 2022-05-10 22:00 +0200
Message-ID <ElEbv-eBGO-11@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Source: pypdf2, xml2rfc
Control: found -1 pypdf2/1.27.12-1
Control: found -1 xml2rfc/3.12.4-1
Severity: serious
Tags: sid bookworm
User: debian-ci@lists.debian.org
Usertags: breaks needs-update

Dear maintainer(s),

With a recent upload of pypdf2 the autopkgtest of xml2rfc fails in 
testing when that autopkgtest is run with the binary packages of pypdf2 
from unstable. It passes when run with only packages from testing. In 
tabular form:

                        pass            fail
pypdf2                 from testing    1.27.12-1
xml2rfc                from testing    3.12.4-1
all others             from testing    from testing

I copied some of the output at the bottom of this report.

Currently this regression is blocking the migration of pypdf2 to testing 
[1]. Due to the nature of this issue, I filed this bug report against 
both packages. Can you please investigate the situation and reassign the 
bug to the right package?

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

Paul

[1] https://qa.debian.org/excuses.php?package=pypdf2

https://ci.debian.net/data/autopkgtest/testing/amd64/x/xml2rfc/21504535/log.gz

======================================================================
ERROR: setUpClass (__main__.PdfWriterTests)
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/tmp/autopkgtest-lxc.mlxdmdjo/downtmp/build.EDj/src/xxx/test.py", line 
495, in setUpClass
     cls.elements_pdfxml = xmldoc(None, bytes=elements_pdfdoc)
   File "/usr/lib/python3/dist-packages/xml2rfc/walkpdf.py", line 97, in 
xmldoc
     return lxml.etree.fromstring(text)
   File "src/lxml/etree.pyx", line 3252, in lxml.etree.fromstring
   File "src/lxml/parser.pxi", line 1913, in lxml.etree._parseMemoryDocument
   File "src/lxml/parser.pxi", line 1793, in lxml.etree._parseDoc
   File "src/lxml/parser.pxi", line 1082, in 
lxml.etree._BaseParser._parseUnicodeDoc
   File "src/lxml/parser.pxi", line 615, in 
lxml.etree._ParserContext._handleParseResultDoc
   File "src/lxml/parser.pxi", line 725, in lxml.etree._handleParseResult
   File "src/lxml/parser.pxi", line 654, in lxml.etree._raiseParseError
   File "<string>", line 11931
lxml.etree.XMLSyntaxError: PCDATA invalid Char value 1, line 11931, column 5

----------------------------------------------------------------------
Ran 42 tests in 32.420s

FAILED (errors=1)
autopkgtest [04:57:54]: test run-pytest

Back to linux.debian.bugs.dist | Previous | Next | Find similar | Unroll thread


Thread

Bug#1010821: pypdf2 breaks xml2rfc autopkgtest: lxml.etree.XMLSyntaxError: PCDATA invalid Char value 1 Paul Gevers <elbrus@debian.org> - 2022-05-10 22:00 +0200

csiph-web