Wind River Support Network

HomeDefectsLINCD-8795
Fixed

LINCD-8795 : Fails to call python function wx.Font.AddPrivateFont()

Created: Apr 9, 2022    Updated: May 25, 2022
Resolved Date: May 22, 2022
Found In Version: 10.22.17.0
Fix Version: 10.22.21.0
Severity: Standard
Applicable for: Wind River Linux CD
Component/s: Userspace

Description

It fails to call python function wx.Font.AddPrivateFont():

$ pythobn3
>>> import wx
>>> wx.Font.AddPrivateFont('a.ttf')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NotImplementedError
>>>

Steps to Reproduce

1) setup.sh 
--machine intel-x86-64 --dl-layers --template feature/xfce

2) source environment-setup-x86_64-wrlinuxsdk-linux && source oe-init-build-env

3) cat >> conf/local.conf <<EOF
IMAGE_INSTALL:append = " python3-wxgtk4"
EOF

4) bitbake wrlinux-image-std

5) boot the target 

6) run command per problem description
Live chat
Online