[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1101435: marked as done (/usr/bin/pyftsubset: ModuleNotFoundError: No module named 'zopfli' with --flavor=woff)



Your message dated Mon, 31 Mar 2025 19:49:13 +0000
with message-id <E1tzL8D-000z2f-6b@fasolo.debian.org>
and subject line Bug#1101435: fixed in fonttools 4.55.8-1
has caused the Debian Bug report #1101435,
regarding /usr/bin/pyftsubset: ModuleNotFoundError: No module named 'zopfli' with --flavor=woff
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 owner@bugs.debian.org
immediately.)


-- 
1101435: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1101435
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: fonttools
Version: 4.38.0-1
Severity: normal
File: /usr/bin/pyftsubset

Dear Maintainer,

$ pyftsubset RobotoSlab-Regular+tabdig.ttf     --flavor="woff"     --output-file="RobotoSlab-Regular+tabdigS.woff"       --unicodes="0123456789" --with-zopfli     --verbose 2>&1
Text: ''
Unicodes: [4886718345]
Glyphs: []
Gids: []
maxp pruned
cmap pruned
post pruned
GPOS pruned
GSUB pruned
name pruned
glyf pruned
Missing glyphs for requested Unicodes: ['U+123456789']
Added gid0 to subset
Closing glyph list over 'GSUB': 1 glyphs before
Glyph names: ['.notdef']
Glyph IDs:   [0]
Closed glyph list over 'GSUB': 1 glyphs after
Glyph names: ['.notdef']
Glyph IDs:   [0]
Closing glyph list over 'glyf': 1 glyphs before
Glyph names: ['.notdef']
Glyph IDs:   [0]
Closed glyph list over 'glyf': 1 glyphs after
Glyph names: ['.notdef']
Glyph IDs:   [0]
Retaining 1 glyphs
head subsetting not needed
hhea subsetting not needed
maxp subsetting not needed
OS/2 subsetting not needed
hmtx subsetted
cmap subsetted
fpgm subsetting not needed
prep subsetting not needed
cvt  subsetting not needed
loca subsetting not needed
post subsetted
gasp subsetting not needed
WARNING: FFTM NOT subset; don't know how to subset; dropped
GDEF subsetted
GPOS subsetted
GSUB subsetted
name subsetting not needed
glyf subsetted
head pruned
OS/2 Unicode ranges pruned: []
glyf pruned
GDEF pruned to empty; dropped
GPOS pruned
GSUB pruned
Traceback (most recent call last):
  File "/bin/pyftsubset", line 33, in <module>
    sys.exit(load_entry_point('fonttools==4.38.0', 'console_scripts', 'pyftsubset')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/fontTools/misc/loggingTools.py", line 372, in wrapper
    return func(*args, **kwds)
           ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/fontTools/subset/__init__.py", line 3243, in main
    save_font(font, outfile, options)
  File "/usr/lib/python3/dist-packages/fontTools/misc/loggingTools.py", line 372, in wrapper
    return func(*args, **kwds)
           ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/fontTools/subset/__init__.py", line 3093, in save_font
    font.save(outfile, reorderTables=options.canonical_order)
  File "/usr/lib/python3/dist-packages/fontTools/ttLib/ttFont.py", line 185, in save
    writer_reordersTables = self._save(tmp)
                            ^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/fontTools/ttLib/ttFont.py", line 225, in _save
    self._writeTable(tag, writer, done, tableCache)
  File "/usr/lib/python3/dist-packages/fontTools/ttLib/ttFont.py", line 654, in _writeTable
    self._writeTable(masterTable, writer, done, tableCache)
  File "/usr/lib/python3/dist-packages/fontTools/ttLib/ttFont.py", line 654, in _writeTable
    self._writeTable(masterTable, writer, done, tableCache)
  File "/usr/lib/python3/dist-packages/fontTools/ttLib/ttFont.py", line 666, in _writeTable
    writer[tag] = tabledata
    ~~~~~~^^^^^
  File "/usr/lib/python3/dist-packages/fontTools/ttLib/sfnt.py", line 265, in __setitem__
    entry.saveData(self.file, data)
  File "/usr/lib/python3/dist-packages/fontTools/ttLib/sfnt.py", line 487, in saveData
    data = self.encodeData(data)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/fontTools/ttLib/sfnt.py", line 532, in encodeData
    compressedData = compress(data, self.zlibCompressionLevel)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/fontTools/ttLib/sfnt.py", line 188, in compress
    from zopfli.zlib import compress
ModuleNotFoundError: No module named 'zopfli'

WOFF2 works.

apt install pulled in fonttools libboost-dev liblbfgsb0 libopenblas-dev libopenblas-pthread-dev libopenblas0 libopenblas0-pthread libpython3-all-dev libpython3-dev libpython3.11-dev libxsimd-dev python3-all-dev python3-appdirs python3-attr python3-beniget python3-brotli python3-decorator python3-dev python3-fonttools python3-fs python3-gast python3-lz4 python3-mpmath python3-numpy python3-ply python3-pythran python3-scipy python3-sympy python3-ufolib2 python3.11-dev unicode-data

Best,

-- System Information:
Debian Release: 12.9
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable-debug'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.1.0-27-amd64 (SMP w/24 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_FIRMWARE_WORKAROUND, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages fonttools depends on:
ii  python3            3.11.2-1+b1
ii  python3-fonttools  4.38.0-1+b1

fonttools recommends no packages.

fonttools suggests no packages.

-- no debconf information

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: fonttools
Source-Version: 4.55.8-1
Done: Boyuan Yang <byang@debian.org>

We believe that the bug you reported is fixed in the latest version of
fonttools, 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 1101435@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Boyuan Yang <byang@debian.org> (supplier of updated fonttools 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 ftpmaster@ftp-master.debian.org)


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

Format: 1.8
Date: Mon, 31 Mar 2025 15:24:19 -0400
Source: fonttools
Architecture: source
Version: 4.55.8-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Fonts Task Force <debian-fonts@lists.debian.org>
Changed-By: Boyuan Yang <byang@debian.org>
Closes: 1101435
Changes:
 fonttools (4.55.8-1) unstable; urgency=medium
 .
   * Team upload.
   * New upstream release.
   * debian/control: Bump Standards-Version to 4.7.2.
   * debian/control: Add missing ${sphinxdoc:Built-Using} to the
     doc package.
   * debian/control: Add build-dep and binary dependency to
     python3-zopfli. (Closes: #1101435)
Checksums-Sha1:
 12d9c9f22134cab3540ee43ab4e829797b9631cd 3278 fonttools_4.55.8-1.dsc
 85a2ea8e8c2154d7a429b063c3b53e011fffac8d 3897975 fonttools_4.55.8.orig.tar.gz
 f32901e56e876943e224f7f446f72e524a4afa26 12904 fonttools_4.55.8-1.debian.tar.xz
 45fbdfb88daba9abb28bbe5b2215b2a01e6318a3 12023 fonttools_4.55.8-1_amd64.buildinfo
Checksums-Sha256:
 3284c9446eb65c57f5d1613a08074ee974d60dabb3dfcd38fbc64ce71d342a4b 3278 fonttools_4.55.8-1.dsc
 1fd1ca263ec5de41bca4c490e30ce614364910a8374ea971132f7c6f7ee3f7db 3897975 fonttools_4.55.8.orig.tar.gz
 ddb5b1dde1f28a5bd6b1ffa0d996be990043308f8d54eb7308e743c07e99e29d 12904 fonttools_4.55.8-1.debian.tar.xz
 ce70d4ea8b333d0b9d4478593442dba155a7ae53f98345b6c21cd5a0d9dbd6f4 12023 fonttools_4.55.8-1_amd64.buildinfo
Files:
 ea96f0b29030cb7941e056955f76e87f 3278 devel optional fonttools_4.55.8-1.dsc
 19bfd4445201b8d870ce31fdcb8ad855 3897975 devel optional fonttools_4.55.8.orig.tar.gz
 47b3f516c864f7507b906314c40aa3b0 12904 devel optional fonttools_4.55.8-1.debian.tar.xz
 65cbead1c4ab12274c55d193525a4831 12023 devel optional fonttools_4.55.8-1_amd64.buildinfo

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

iQIzBAEBCgAdFiEEfncpR22H1vEdkazLwpPntGGCWs4FAmfq7VgACgkQwpPntGGC
Ws6l/w/+LFF6Ks0BBjyVE5SYYZp8aEO07LKDoOsrJ0eKkDv/D2jPYC+70VR/lhMH
eXpeYlujhmQ9eIjvZd6tf9OT0IVEHKhn9GVPcr2fAiVBc9AIPeS6krHx28cN+PMP
xxeIMqkhzj2shNSSR/nVcSUqfos/3O9tdFof5lA8h1aZswb/wqLSYefMwjDDHR2K
MqFgZlTb+fbeh0m/t2jzrYruPGJD2Nubrz1XXbHGQo/WVbqGI1YBbpIRSIwzipbe
wR0okeWIOOWNU4MdXqNYjSgbn8rFA4P1WM+2vIxuey7e9w9M8wvp2y3wPFPMHezV
8qqiAXBm+5MbkserkHw9RIFQuvp3gwYAtiM96xr5DCMEeMlZkoN2mt6/mbM1Z5u1
fG3HQ3Z8JsiJaU/QmbDrT2ZoZirGyRPqGjEKFOWInqp7sZOtNVZGEdAfsozSzzNX
xGWaQrbkQZ0soVAaDACNtSjnLsjaT+lgmkj2PYhtbkIhxq3Ox/5Jnl7Dplhh0Esm
Ft/5Exe4XG6zMJs3bYsl6r2rxq1f77wLgBJcvGWzaiaJg3n9m5UDSB16QY3K4PdM
iC2Ib1oTL7l8IsGl9DuHbSKcYEMuqKh/jP17EKLKi1ZoOWwWNNbD6bD7p6YbTD4w
2tVuGkU+7SsN4HfKPvGQO4mhCgku18TKBvj4eRSuGBvYKrL2+m0=
=vEyc
-----END PGP SIGNATURE-----

Attachment: pgp4fjJRaoJWp.pgp
Description: PGP signature


--- End Message ---

Reply to: