Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow python3 in totem profile #3470

Merged
merged 1 commit into from
Jun 18, 2020
Merged

Allow python3 in totem profile #3470

merged 1 commit into from
Jun 18, 2020

Conversation

chrpinedo
Copy link
Contributor

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

Copy link
Collaborator

@glitsj16 glitsj16 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See cosmetic remark about adding a comment for python support.

@chrpinedo
Copy link
Contributor Author

See cosmetic remark about adding a comment for python support.

done.

Copy link
Collaborator

@glitsj16 glitsj16 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unblocking the requested changes so we can merge.

@glitsj16 glitsj16 merged commit feabde3 into netblue30:master Jun 18, 2020
@matu3ba matu3ba mentioned this pull request Oct 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants