Comment 2 for bug 609867

Revision history for this message
Ray Foulkes (ray-foulkes) wrote :

AptUrl is not runnable for me. The reason is that it tries to import 2 modules one from AptUrl (.py that is) and one from AptUrl/gtk

They are to be found (at least on my copy of Ubuntu 9.04) in /usr/share/pyshared/. The current path is:
    '/home/ray',
    '/usr/lib/python2.6',
    '/usr/lib/python2.6/plat-linux2',
    '/usr/lib/python2.6/lib-tk',
    '/usr/lib/python2.6/lib-old',
    '/usr/lib/python2.6/lib-dynload',
    '/usr/lib/python2.6/dist-packages',
    '/usr/lib/python2.6/dist-packages/PIL',
    '/usr/lib/python2.6/dist-packages/gst-0.10',
    '/var/lib/python-support/python2.6',
    '/usr/lib/python2.6/dist-packages/gtk-2.0',
    '/var/lib/python-support/python2.6/gtk-2.0',
    '/usr/local/lib/python2.6/dist-packages',
which you might notice does not include /usr/share/pyshared/ hence neither module is found, hence AptUrl fails - though where the error message goes I have no idea. Nor do I know the correct place to include the relevant search path for python.

Thus, there is a little analysis of the problem, though not the solution.