Hi,
Caleb Herbert <[email protected]> skribis:
> I installed Kodi on a foreign distro and it crashed.
[...]
> get_config_vars
> _init_posix(_CONFIG_VARS)
> File "/usr/lib/python2.7/sysconfig.py", line 408, in
> _init_posix
> from _sysconfigdata import build_time_vars
> File "/usr/lib/python2.7/_sysconfigdata.py", line 6, in
> <module>
> from _sysconfigdata_nd import *
> ImportError: No module named _sysconfigdata_nd
> /gnu/store/b8dkrbr79rj8cygw65f1gwwwig1fdwwg-profile/bin/kodi:
> line 175: 24196 Segmentation fault
> "$LIBDIR/${bin_name}/${bin_name}.bin" $SAVED_ARGS
> Crash report available
> at /home/cal/kodi_crashlog-20171114_180625.log
That looks a lot like what happens with Scribus
<https://bugs.gnu.org/25035>, for which a solution is being discussed at
<https://bugs.gnu.org/29292>.
Can you try something like:
guix package -i python@2
export PATH=$HOME/.guix-profile/bin:$PATH
kodi
?
This should force kodi to run ‘python’ from Guix rather than from the
host distro.
HTH,
Ludo’.