Comment 1 for bug 1047515

Revision history for this message
Daniel Manrique (roadmr) wrote :

Steps to reproduce:

- Install checkbox 0.14.6 from the dev PPA on a Quantal box (should also happen on Precise as reported here)
- manually run /usr/share/checkbox/scripts/graphics_modes_info.

What happens here is that this script specifies using the python2 interpreter, however the checkbox modules (including checkbox.contrib and submodules) are installed to work with python3 only, so the python2 doesn't find them and results in this trace.

A quick workaround is to change the first line of the script to read:

#!/usr/bin/python3

This is also the correct fix for this bug. I'll propose a merge in a moment.