-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Tom Brown wrote: >>>> Source compiled. > --------------------------- ACCESS VIOLATION SUMMARY > --------------------------- > LOG FILE = > "/var/log/sandbox/sandbox-gnome-base_-_gnome-desktop-2.20.1-27301.log" > > unlink: /usr/share/xml2po/docbook.pyc > unlink: /usr/share/xml2po/docbook.pyc > unlink: /usr/share/xml2po/docbook.pyc > unlink: /usr/share/xml2po/docbook.pyc > unlink: /usr/share/xml2po/docbook.pyc > unlink: /usr/share/xml2po/docbook.pyc > unlink: /usr/share/xml2po/docbook.pyc > unlink: /usr/share/xml2po/docbook.pyc > unlink: /usr/share/xml2po/docbook.pyc > unlink: /usr/share/xml2po/docbook.pyc > --------------------------------------------------------------------------------
After a python upgrade, most people run python-updater to recompile all the python bytecodes. That's supposed to solve the above problem. Alternatively, you can use a script like the one I've attached. Zac -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) iD4DBQFHWEdC/ejvha5XGaMRApMrAJjQhGgHPFFBMigd0itdhEJdtpvbAJ4v2D6N 680I8ppUyUjnra9i8Bpmwg== =Q7/B -----END PGP SIGNATURE-----
#!/usr/bin/env bash # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 usage() { echo "usage: ${0##*/} [directory]..." } hasq() { [[ " ${*:2} " == *" $1 "* ]] } if hasq --help $* || hasq -h $* ; then usage "$@" exit 0 fi for d in "$@" ; do if [ ! -d "${d}" ] ; then usage "$@" &>2 exit 1 fi find "${d}" -name "*.py[co]" | xargs -r rm -f for x in "" "-O" ; do python ${x} -c "import compileall; compileall.compile_dir('${d}', quiet=True)" done done
recompile-bytecodes.bash.sig
Description: Binary data