[Python-modules-team] Bug#901993: python-qtawesome: autopkgtest failure with fonts-font-awesome 5

Graham Inggs ginggs at debian.org
Thu Jun 21 07:13:41 BST 2018


Source: python-qtawesome
Version: 0.4.4+ds1-1
User: debian-ci at lists.debian.org
Usertags: needs-update

Hi Maintainer

Since the upload of fonts-font-awesome 5.0.10-1 to unstable on
2018-05-12, python-qtawesome's autopkgtests have been failing [1] with
the following error:

Testing with python3.6:
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-debci'
Traceback (most recent call last):
  File "example.py", line 110, in <module>
    main()
  File "example.py", line 105, in main
    _ = AwesomeExample()
  File "example.py", line 20, in __init__
    fa_icon = qta.icon('fa.flag')
  File "/usr/lib/python3/dist-packages/qtawesome/__init__.py", line 125, in icon
    return _instance().icon(*names, **kwargs)
  File "/usr/lib/python3/dist-packages/qtawesome/__init__.py", line
36, in _instance
    ('ei', 'elusiveicons-webfont.ttf', 'elusiveicons-webfont-charmap.json')
  File "/usr/lib/python3/dist-packages/qtawesome/iconic_font.py", line
180, in __init__
    self.load_font(*fargs)
  File "/usr/lib/python3/dist-packages/qtawesome/iconic_font.py", line
223, in load_font
    os.path.join(directory, ttf_filename)))
qtawesome.iconic_font.FontError: Font at
'/usr/lib/python3/dist-packages/qtawesome/fonts/fontawesome-webfont.ttf'
appears to be empty. If you are on Windows 10, please read
https://support.microsoft.com/en-us/kb/3053676 to know how to prevent
Windows from blocking the fonts that come with QtAwesome.
autopkgtest [17:05:08]: test command2: -----------------------]
autopkgtest [17:05:08]: test command2:  - - - - - - - - - - results -
- - - - - - - - -
command2             FAIL non-zero exit status 1

The autopkgtests actually started failing earlier on 2018-03-08 due to
output on stderr, which also needs to be fixed:

command1             FAIL stderr: QStandardPaths: XDG_RUNTIME_DIR not
set, defaulting to '/tmp/runtime-debci'
command2             FAIL stderr: QStandardPaths: XDG_RUNTIME_DIR not
set, defaulting to '/tmp/runtime-debci'

Regards
Graham

[1] https://ci.debian.net/packages/p/python-qtawesome/unstable/amd64/



More information about the Python-modules-team mailing list