Subject: Undocumented, non-obvious behaviour

From: Wouter Verhelst <[email-masked]>
Date: Wed, 07 Mar 2018 13:44:07 +0100

Package: fonttools
Version: 3.21.2-1
Severity: minor

Hi,

Running the "fonttools" command produces:

wouter@gangtai:~$ fonttools 
Traceback (most recent call last):
  File "/usr/bin/fonttools", line 11, in <module>
    load_entry_point('fonttools==3.21.2', 'console_scripts', 'fonttools')()
  File "/usr/lib/python3/dist-packages/fontTools/__main__.py", line 24, in main
    mod = 'fontTools.'+sys.argv[1]
IndexError: list index out of range

Running it with --help produces:

wouter@gangtai:~$ fonttools --help
Traceback (most recent call last):
  File "/usr/bin/fonttools", line 11, in <module>
    load_entry_point('fonttools==3.21.2', 'console_scripts', 'fonttools')()
  File "/usr/lib/python3/dist-packages/fontTools/__main__.py", line 29, in main
    runpy.run_module(mod, run_name='__main__')
  File "/usr/lib/python3.6/runpy.py", line 201, in run_module
    mod_name, mod_spec, code = _get_module_details(mod_name)
  File "/usr/lib/python3.6/runpy.py", line 136, in _get_module_details
    raise error("No module named %s" % mod_name)
ImportError: No module named fontTools.--help

Running 'man fonttools' produces "No manual entry for fonttools", and no
documentation seems to be packaged.

Please provide a minimal amount of documentation.

-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unreleased'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, m68k, arm64

Kernel: Linux 4.15.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=nl_BE.UTF-8, LC_CTYPE=nl_BE.UTF-8 (charmap=UTF-8), LANGUAGE=nl_BE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages fonttools depends on:
ii  python3            3.6.4-1
ii  python3-fonttools  3.21.2-1

fonttools recommends no packages.

fonttools suggests no packages.

-- no debconf information