[PR #3470] [MERGED] Allow python3 in totem profile #4772

Closed
opened 2026-05-05 10:26:19 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netblue30/firejail/pull/3470
Author: @ghost
Created: 6/17/2020
Status: Merged
Merged: 6/18/2020
Merged by: @undefined

Base: masterHead: totem


📝 Commits (1)

  • 7a4d2a3 Allow python3 in totem profile

📊 Changes

1 file changed (+2 additions, -0 deletions)

View changed files

📝 etc/profile-m-z/totem.profile (+2 -0)

📄 Description

Totem crashes because it can't access python:

Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Python path configuration:
  PYTHONHOME = (not set)
  PYTHONPATH = (not set)
  program name = 'python3'
  isolated = 0
  environment = 1
  user site = 1
  import site = 1
  sys._base_executable = ''
  sys.base_prefix = '/usr'
  sys.base_exec_prefix = '/usr'
  sys.executable = ''
  sys.prefix = '/usr'
  sys.exec_prefix = '/usr'
  sys.path = [
    '/usr/lib/python38.zip',
    '/usr/lib/python3.8',
    '/usr/lib/lib-dynload',
  ]
Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding
Python runtime state: core initialized
ModuleNotFoundError: No module named 'encodings'

Current thread 0x00007f57df153980 (most recent call first):
<no Python frame>

Parent is shutting down, bye...

Totem works if python3 is enabled in the profile.

Details of my Totem version:

Name            : totem
Version         : 3.34.1-2
Description     : Movie player for the GNOME desktop based on GStreamer
Architecture    : x86_64
URL             : https://wiki.gnome.org/Apps/Videos
Licenses        : GPL2  custom
Groups          : gnome
Provides        : None
Depends On      : totem-plparser  iso-codes  libpeas  clutter-gtk  clutter-gst
                  grilo  gsettings-desktop-schemas  dconf  python-gobject
                  python-xdg  gnome-desktop  gst-plugins-base  gst-plugins-good
                  gst-plugins-bad
Optional Deps   : gst-plugins-ugly: Extra media codecs
                  gst-libav: Extra media codecs [installed]
                  grilo-plugins: Media discovery [installed]
                  python-dbus: MPRIS plugin [installed]
Required By     : None
Optional For    : None
Conflicts With  : totem-plugin
Replaces        : totem-plugin
Installed Size  : 6.88 MiB
Packager        : Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
Build Date      : Sun Mar 8 07:26:39 2020
Install Date    : Tue Mar 10 20:30:28 2020
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : Signature

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netblue30/firejail/pull/3470 **Author:** [@ghost](https://github.com/ghost) **Created:** 6/17/2020 **Status:** ✅ Merged **Merged:** 6/18/2020 **Merged by:** [@undefined](undefined) **Base:** `master` ← **Head:** `totem` --- ### 📝 Commits (1) - [`7a4d2a3`](https://github.com/netblue30/firejail/commit/7a4d2a38ca0b485e691ed3c098149a62dd666c43) Allow python3 in totem profile ### 📊 Changes **1 file changed** (+2 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `etc/profile-m-z/totem.profile` (+2 -0) </details> ### 📄 Description Totem crashes because it can't access python: ``` Could not find platform independent libraries <prefix> Could not find platform dependent libraries <exec_prefix> Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] Python path configuration: PYTHONHOME = (not set) PYTHONPATH = (not set) program name = 'python3' isolated = 0 environment = 1 user site = 1 import site = 1 sys._base_executable = '' sys.base_prefix = '/usr' sys.base_exec_prefix = '/usr' sys.executable = '' sys.prefix = '/usr' sys.exec_prefix = '/usr' sys.path = [ '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/lib-dynload', ] Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding Python runtime state: core initialized ModuleNotFoundError: No module named 'encodings' Current thread 0x00007f57df153980 (most recent call first): <no Python frame> Parent is shutting down, bye... ``` Totem works if python3 is enabled in the profile. Details of my Totem version: ``` Name : totem Version : 3.34.1-2 Description : Movie player for the GNOME desktop based on GStreamer Architecture : x86_64 URL : https://wiki.gnome.org/Apps/Videos Licenses : GPL2 custom Groups : gnome Provides : None Depends On : totem-plparser iso-codes libpeas clutter-gtk clutter-gst grilo gsettings-desktop-schemas dconf python-gobject python-xdg gnome-desktop gst-plugins-base gst-plugins-good gst-plugins-bad Optional Deps : gst-plugins-ugly: Extra media codecs gst-libav: Extra media codecs [installed] grilo-plugins: Media discovery [installed] python-dbus: MPRIS plugin [installed] Required By : None Optional For : None Conflicts With : totem-plugin Replaces : totem-plugin Installed Size : 6.88 MiB Packager : Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> Build Date : Sun Mar 8 07:26:39 2020 Install Date : Tue Mar 10 20:30:28 2020 Install Reason : Explicitly installed Install Script : No Validated By : Signature ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 10:26:19 -06:00
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#4772
No description provided.