[GH-ISSUE #1986] fontforge profile broken #1337

Closed
opened 2026-05-05 07:53:33 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @cyrinux on GitHub (Jun 10, 2018).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1986

Hi,

I can't start fontforg, seems something is missing :)

❯ fontforge                                             
Reading profile /etc/firejail/fontforge.profile
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-devel.inc
Reading profile /etc/firejail/disable-interpreters.inc
Reading profile /etc/firejail/disable-passwdmgr.inc
Reading profile /etc/firejail/disable-programs.inc
Parent pid 24363, child pid 24364
Warning: /sbin directory link was not blacklisted
Warning: /usr/sbin directory link was not blacklisted
Child process initialized in 285.53 ms
Copyright (c) 2000-2014 by George Williams. See AUTHORS for Contributors.
 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
 with many parts BSD <http://fontforge.org/license.html>. Please read LICENSE.
 Based on sources from 23:10 UTC  5-Aug-2017-ML-D.
 Based on source from git with hash: 
no xdefs_filename!
TESTING: getPixmapDir:/usr/share/fontforge/pixmaps
TESTING: getShareDir:/usr/share/fontforge
TESTING: GResourceProgramDir:/usr/bin
trying default theme:/usr/share/fontforge/pixmaps/resources
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Fatal Python error: Py_Initialize: Unable to get the locale encoding
ModuleNotFoundError: No module named 'encodings'

Current thread 0x00006b0af4a2ddc0 (most recent call first):

Parent is shutting down, bye...
Originally created by @cyrinux on GitHub (Jun 10, 2018). Original GitHub issue: https://github.com/netblue30/firejail/issues/1986 Hi, I can't start fontforg, seems something is missing :) ``` ❯ fontforge Reading profile /etc/firejail/fontforge.profile Reading profile /etc/firejail/disable-common.inc Reading profile /etc/firejail/disable-devel.inc Reading profile /etc/firejail/disable-interpreters.inc Reading profile /etc/firejail/disable-passwdmgr.inc Reading profile /etc/firejail/disable-programs.inc Parent pid 24363, child pid 24364 Warning: /sbin directory link was not blacklisted Warning: /usr/sbin directory link was not blacklisted Child process initialized in 285.53 ms Copyright (c) 2000-2014 by George Williams. See AUTHORS for Contributors. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> with many parts BSD <http://fontforge.org/license.html>. Please read LICENSE. Based on sources from 23:10 UTC 5-Aug-2017-ML-D. Based on source from git with hash: no xdefs_filename! TESTING: getPixmapDir:/usr/share/fontforge/pixmaps TESTING: getShareDir:/usr/share/fontforge TESTING: GResourceProgramDir:/usr/bin trying default theme:/usr/share/fontforge/pixmaps/resources Could not find platform independent libraries <prefix> Could not find platform dependent libraries <exec_prefix> Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] Fatal Python error: Py_Initialize: Unable to get the locale encoding ModuleNotFoundError: No module named 'encodings' Current thread 0x00006b0af4a2ddc0 (most recent call first): Parent is shutting down, bye... ```
Author
Owner

@smitsohu commented on GitHub (Jun 10, 2018):

Thanks for reporting it. Should be fixed in master, can you please try this profile and confirm it works?

<!-- gh-comment-id:396075959 --> @smitsohu commented on GitHub (Jun 10, 2018): Thanks for reporting it. Should be fixed in master, can you please try this [profile](https://raw.githubusercontent.com/netblue30/firejail/ba56967b7dcc141d083f6ced4a7b04bf6b84255a/etc/fontforge.profile) and confirm it works?
Author
Owner

@cyrinux commented on GitHub (Jun 11, 2018):

@smitsohu it is working thanks :)

<!-- gh-comment-id:396140399 --> @cyrinux commented on GitHub (Jun 11, 2018): @smitsohu it is working thanks :)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#1337
No description provided.