Your message dated Tue, 10 Mar 2026 17:33:47 +0000
with message-id <[email protected]>
and subject line Bug#1125771: fixed in opgpcard 0.3.0-2.1
has caused the Debian Bug report #1125771,
regarding opgpcard: lxml error at svg creation
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1125771: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1125771
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: opgpcard
Version: 0.3.0-2
Severity: important
X-Debbugs-Cc: [email protected]

Dear Maintainer,

Running opgpcard on unstable and testing leads to the attached lxml error.

I've reported the issue upstream and proposed a patch:
- https://github.com/juga0/opgpcard/issues/5
- https://github.com/juga0/opgpcard/pull/6

I believe the Debian package can fix this temporarily as the patch is trivial.

Also, opgpcard could use autopkgtests to prevent a breakage like this from
happening.

I'm willing to help implement these. Please let me know what you think.

Br,

Pieter


-- System Information:
Debian Release: forky/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.18.3+deb14-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=nl_BE.UTF-8, LC_CTYPE=nl_BE.UTF-8 (charmap=UTF-8), 
LANGUAGE=nl_BE:nl
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages opgpcard depends on:
ii  libjs-sphinxdoc  8.2.3-12
ii  python3          3.13.9-2
ii  python3-gpg      2.0.0-2+b1
ii  python3-lxml     6.0.2-1+b3
ii  python3-qrcode   8.2-1

opgpcard recommends no packages.

opgpcard suggests no packages.

-- no debconf information
Jan 13 21:18:37 opgpcard.opgpcard opgpcard[90734]: INFO - No arguments 
provided, searching for keys.
Jan 13 21:18:37 opgpcard.gpg_utils gpg_utils[90734]: INFO - Found private keys 
in your keyring.
Jan 13 21:18:37 opgpcard.gpg_utils gpg_utils[90734]: INFO - Using the first key 
found.
Jan 13 21:18:37 opgpcard.gpg_utils gpg_utils[90734]: INFO - Using attributes 
from the first UID {'mail': '[email protected]', 'fingerprint': 
'62EDE2D772D48680F99376A46D69C8F8529DB017', 'fname': 'Pieter', 'lname': 
'Lenaerts'}.
Jan 13 21:18:37 opgpcard.vcard_utils vcard_utils[90734]: INFO - VCard generated 
in output/opgpcard_PieterLenaerts.vcf.
Jan 13 21:18:37 opgpcard.opgpcard opgpcard[90734]: INFO - Generated base card 
in output/opgpcard_noqr_PieterLenaerts.svg
Traceback (most recent call last):
  File "/usr/bin/opgpcard", line 33, in <module>
    sys.exit(load_entry_point('opgpcard==0.3.0', 'console_scripts', 
'opgpcard')())
             
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3/dist-packages/opgpcard/cli.py", line 95, in main
    gen_opgpcard(args)
    ~~~~~~~~~~~~^^^^^^
  File "/usr/lib/python3/dist-packages/opgpcard/opgpcard.py", line 188, in 
gen_opgpcard
    qrsvg.gen_qr_svgimage(vcard, qr_path)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/opgpcard/qrsvg.py", line 38, in 
gen_qr_svgimage
    img = qr.make_image(fit=True)
  File "/usr/lib/python3/dist-packages/qrcode/main.py", line 369, in make_image
    im = image_factory(
        self.border,
    ...<3 lines>...
        **kwargs,
    )
  File "/usr/lib/python3/dist-packages/qrcode/image/svg.py", line 141, in 
__init__
    super().__init__(*args, **kwargs)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/qrcode/image/svg.py", line 25, in 
__init__
    super().__init__(*args, **kwargs)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/qrcode/image/base.py", line 139, in 
__init__
    super().__init__(*args, **kwargs)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/qrcode/image/base.py", line 30, in 
__init__
    self._img = self.new_image(**kwargs)
                ~~~~~~~~~~~~~~^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/qrcode/image/svg.py", line 59, in 
new_image
    return self._svg(**kwargs)
           ~~~~~~~~~^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/qrcode/image/svg.py", line 147, in _svg
    return super()._svg(viewBox=viewBox, **kwargs)
           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/qrcode/image/svg.py", line 92, in _svg
    svg = super()._svg(tag=tag, **kwargs)
  File "/usr/lib/python3/dist-packages/qrcode/image/svg.py", line 65, in _svg
    return ET.Element(
           ~~~~~~~~~~^
        tag,  # type: ignore
        ^^^^^^^^^^^^^^^^^^^^
    ...<3 lines>...
        **kwargs,
        ^^^^^^^^^
    )
    ^
  File "src/lxml/etree.pyx", line 3204, in lxml.etree.Element.__new__
  File "src/lxml/apihelpers.pxi", line 138, in lxml.etree._makeElement
  File "src/lxml/apihelpers.pxi", line 126, in lxml.etree._makeElement
  File "src/lxml/apihelpers.pxi", line 322, in lxml.etree._initNodeAttributes
  File "src/lxml/apihelpers.pxi", line 336, in lxml.etree._addAttributeToNode
  File "src/lxml/apihelpers.pxi", line 1536, in lxml.etree._utf8
TypeError: Argument must be bytes or unicode, got 'bool'

--- End Message ---
--- Begin Message ---
Source: opgpcard
Source-Version: 0.3.0-2.1
Done: Pieter Lenaerts <[email protected]>

We believe that the bug you reported is fixed in the latest version of
opgpcard, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Pieter Lenaerts <[email protected]> (supplier of updated opgpcard package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 08 Mar 2026 10:05:15 +0100
Source: opgpcard
Built-For-Profiles: noudeb
Architecture: source
Version: 0.3.0-2.1
Distribution: unstable
Urgency: medium
Maintainer: ju xor <[email protected]>
Changed-By: Pieter Lenaerts <[email protected]>
Closes: 1125771
Changes:
 opgpcard (0.3.0-2.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Add lxml error patch. Closes: #1125771
Checksums-Sha1:
 933fe9bdf826ad01da9c2261e821ecf46165883f 1943 opgpcard_0.3.0-2.1.dsc
 c851bfdd04a7611e18d02fc5c377da5bbb8f0c55 3244 opgpcard_0.3.0-2.1.debian.tar.xz
 8828d8073d8131fc73b0fb3bfb8a6a73cec28570 17387 
opgpcard_0.3.0-2.1_source.buildinfo
Checksums-Sha256:
 f69d46909bc2951cd3b8bf31d9b23a98e7fa063fb19f7694d8bc07d5c2371237 1943 
opgpcard_0.3.0-2.1.dsc
 9dd66d8c30889528d5605dd0eec429f968e7bb40d326ff5c342d8c0964d68e48 3244 
opgpcard_0.3.0-2.1.debian.tar.xz
 aa437e7622dc87550ed2714113d8247cacb9c0dd5788c54c219d6d3a3a624dbb 17387 
opgpcard_0.3.0-2.1_source.buildinfo
Files:
 7c3a7ae1fb4153b67358c670c80a010f 1943 misc optional opgpcard_0.3.0-2.1.dsc
 3a863910859861dfb1921396a4343a1e 3244 misc optional 
opgpcard_0.3.0-2.1.debian.tar.xz
 15ab95889a6b852e844797ba644c3c27 17387 misc optional 
opgpcard_0.3.0-2.1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEd8lhnEnWos3N8v+qQoMEoXSNzHoFAmmwT7QACgkQQoMEoXSN
zHqB/A/9H4kKixQYNqnzaLgoYS4pqFdr/56YQTmstN23457WXsZasn3bijL76fkp
xtbVWiEO5ySNUNJpJEdtk8iz85cR+CcJx6F5un4PEbM+0ijL5g6F81HLMs44gZnx
BotRlpPa0+YLuLxVW2eYeRitS6o+fFO5bS+6rw+w6HvgBIBvPU7ws/krw5y86pfG
eUnE6p2QZwEZgKL9qggW4mJM4zKCJNA6lLM01jPjo5EUyv+kW4k5Sf4E5jfZpLUv
hDTj6o/r7EKbN17s54jUiguN+JE8bfAEfSxjtoQgVjm165sRMnHVXREI9qQm5HJo
zwHwWosLWZjvGJsWvLwmqBxsXuIQpsfbmmOHf09aIUi9XRpovE8kP2eaOYeezAvT
wHPaqPvusIjrBGOgZVJFOlrZn9dTpZU/cGgJzFbTqnADuiXOIYVf5OK39cx2Ztm/
SNP3AZOwT30LLsHMHxCPlGpu/h/2NeFWP3GLDsxTVY/fU5sEWpvANTFNacNvTN7s
/yc/7kLAdHLIW2gGDywtYhiCqik6ICS+mqAy2CqP34LeuIe2Zz34v8xx1pD9Eiqk
7b8Gvdn8v9aHGjuKjOI7SLYvT8ZmMWRC8QbKVds6oKm0pYW/jemFZ5pk8ToVC6ev
4Par+m3feK6X7/4U6XN+OXDeZuJagXtdVddJhDDzZzl6bFqBF3Q=
=rmfN
-----END PGP SIGNATURE-----

Attachment: pgp27n924_Ess.pgp
Description: PGP signature


--- End Message ---

Reply via email to