Your message dated Mon, 13 Jul 2026 11:33:59 +0000
with message-id <[email protected]>
and subject line Bug#1141791: fixed in pygments 2.20.0+dfsg-2
has caused the Debian Bug report #1141791,
regarding python-inline-snapshot: FTBFS: AttributeError: 'NoneType' object has 
no attribute 'replace'
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.)


-- 
1141791: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1141791
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:python-inline-snapshot
Version: 0.34.2-1
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202607/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:python-inline-snapshot, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
DEBUG   -  Reading: alternatives.md
DEBUG   -  Running `page_markdown` event from plugin 'autorefs'
DEBUG   -  Running `page_content` event from plugin 'autorefs'
DEBUG   -  Reading: categories.md
DEBUG   -  Running `page_markdown` event from plugin 'autorefs'
ERROR   -  Error reading page 'categories.md': 'NoneType' object has no 
attribute 'replace'
Traceback (most recent call last):
  File "<frozen runpy>", line 203, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/usr/lib/python3/dist-packages/mkdocs/__main__.py", line 370, in 
<module>
    cli()
    ~~~^^
  File "/usr/lib/python3/dist-packages/click/core.py", line 1161, in __call__
    return self.main(*args, **kwargs)
           ~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/click/core.py", line 1082, in main
    rv = self.invoke(ctx)
  File "/usr/lib/python3/dist-packages/click/core.py", line 1697, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
                           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/usr/lib/python3/dist-packages/click/core.py", line 1443, in invoke
    return ctx.invoke(self.callback, **ctx.params)
           ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/click/core.py", line 788, in invoke
    return __callback(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/mkdocs/__main__.py", line 288, in 
build_command
    build.build(cfg, dirty=not clean)
    ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/mkdocs/commands/build.py", line 310, in 
build
    _populate_page(file.page, config, files, dirty)
    ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/mkdocs/commands/build.py", line 167, in 
_populate_page
    page.render(config, files)
    ~~~~~~~~~~~^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/mkdocs/structure/pages.py", line 285, in 
render
    self.content = md.convert(self.markdown)
                   ~~~~~~~~~~^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/markdown/core.py", line 367, in convert
    newRoot = treeprocessor.run(root)
  File "/usr/lib/python3/dist-packages/pymdownx/highlight.py", line 527, in run
    code.highlight(
    ~~~~~~~~~~~~~~^
        self.code_unescape(block[0].text).rstrip('\n'),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<2 lines>...
        code_block_count=self.ext.pygments_code_block
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/lib/python3/dist-packages/pymdownx/highlight.py", line 400, in 
highlight
    formatter = html_formatter(
        cssclass=css_class,
    ...<13 lines>...
        anchorlinenos=self.anchor_linenums if not inline else False
    )
  File "/usr/lib/python3/dist-packages/pymdownx/highlight.py", line 179, in 
__init__
    HtmlFormatter.__init__(self, **options)
    ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/pygments/formatters/html.py", line 434, 
in __init__
    self.filename = html.escape(self._decodeifneeded(options.get('filename', 
'')))
                    
~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.14/html/__init__.py", line 19, in escape
    s = s.replace("&", "&amp;") # Must be done first!
        ^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'replace'
make[1]: *** [debian/rules:33: override_dh_auto_build] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:25: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit 
status 2
--------------------------------------------------------------------------------

--- End Message ---
--- Begin Message ---
Source: pygments
Source-Version: 2.20.0+dfsg-2
Done: Colin Watson <[email protected]>

We believe that the bug you reported is fixed in the latest version of
pygments, 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.
Colin Watson <[email protected]> (supplier of updated pygments 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: Mon, 13 Jul 2026 12:09:00 +0100
Source: pygments
Architecture: source
Version: 2.20.0+dfsg-2
Distribution: unstable
Urgency: medium
Maintainer: Piotr Ożarowski <[email protected]>
Changed-By: Colin Watson <[email protected]>
Closes: 1141791
Changes:
 pygments (2.20.0+dfsg-2) unstable; urgency=medium
 .
   * Team upload.
   * Handle None object before HTML escaping (closes: #1141791).
Checksums-Sha1:
 309e37059856b8d2b0f2c53b77d35e415633070d 2701 pygments_2.20.0+dfsg-2.dsc
 04e36acb50b974cbf0dc223e18d0d3f770c64896 12392 
pygments_2.20.0+dfsg-2.debian.tar.xz
 8a4a831c0f11c54279032c9498e3d57c60b00547 3520780 
pygments_2.20.0+dfsg-2.git.tar.xz
 f64e8b47a2f07de8d99d0ce24c7146279928f705 17532 
pygments_2.20.0+dfsg-2_source.buildinfo
Checksums-Sha256:
 d8c34a3b0c42aaff249eca5d624b78dd05c1af6ac5c9b896e9f25c9ecb15b348 2701 
pygments_2.20.0+dfsg-2.dsc
 f2aa4ac6138acd6ebe34f135c2965e1231946917df35c16c9217d6d1bc403339 12392 
pygments_2.20.0+dfsg-2.debian.tar.xz
 173a3dfcbbcbb375248e9b2511b9b90e0b9917d3917eeb367c95da3ddf547582 3520780 
pygments_2.20.0+dfsg-2.git.tar.xz
 096c5e106823d1ab377c060024adb193415d3b50ffb763717111477703598e95 17532 
pygments_2.20.0+dfsg-2_source.buildinfo
Files:
 260658c6369567dd765b68a07cad719d 2701 python optional 
pygments_2.20.0+dfsg-2.dsc
 4cc5a0c6b0d861e87deea4fec730e437 12392 python optional 
pygments_2.20.0+dfsg-2.debian.tar.xz
 92c0d0fc857a437d7545e929293447c7 3520780 python None 
pygments_2.20.0+dfsg-2.git.tar.xz
 9c120e8c8f280f737d6b37d7d8d96c2f 17532 python optional 
pygments_2.20.0+dfsg-2_source.buildinfo
Git-Tag-Info: tag=a43e5a211e8db7f3a2b33e7582bb184b533eecbb 
fp=ac0a4ff12611b6fccf01c111393587d97d86500b
Git-Tag-Tagger: Colin Watson <[email protected]>

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

iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmpUx9sACgkQYG0ITkaD
wHm0uRAArjPjXCuo9AYLbAMDN33x+/iF5EuYgkXSHHcpdWgdcZMPCejiWH/O7o5n
j3Y3FR8NIQyjKHMixQBzWclwkQxdDVgtk9RRz45NSTq2l7pdc0Suuu93ro2e91BK
JzXMPhVMilxK/vNOV+SaCcTVqmYEzUpVYoHaMwY+DT8KIHlne3YXSjOvjV3eISq4
bMsTRuD05cBjV1PXkszlV1El7OaGni9Dd5ZCEJCdRnCBXjLi6ZODPWfUghR5527z
NivZuM0cV5Z1zuza6E0B+o0fHzxGilZN335J6kpvPyF1SsCcpcWCn+pwt3p1gglQ
jJHbrFPVB+TEGg7jwHYoWoDrqUKQSnywTX8uPr6LPqzGyGQRv+oTUntjJIXngEVj
mAvI86lBZzVL8sIN0wi4bVJQW4orcZaECPbbJQ0hI04Tlsg9wQKc6g9I95psNxB8
czDIJh47hxopOEEJ9A1VT2/7iPStma07Ehd2qYn+N1uJ81FLOh+aRapmpRXZcBPe
OXwcRtYYx7O1E1Jq3D0ToWhm1HxxdI0vdVGaKPjrCYfL+go6XVCjQWC/x5ebnPSz
KDm0VAEKQxU1NuXp9lE1RoG1TljlBzG53cZp9cfr1YZo5pujiqEnDtAjoSh/ic/p
3MUoNY+Tmk9eeJKvmXDbqFHUoTbdeE+UidwZtk9+eOCEabh87Hk=
=10tW
-----END PGP SIGNATURE-----

Attachment: pgpRMvU14rKzo.pgp
Description: PGP signature


--- End Message ---

Reply via email to