Re: Building Gnome-shell: No module named annotationparser



On Sat, 2009-03-14 at 19:55 +0100, Milan Bouchet-Valat wrote:
> I've just ran into that problem after updating to Jaunty, and I've
> finally found the cause of the problem. In install/bin/g-ir-scanner,
> there's:
> 
> [path=the right place...]
> path = os.path.join(basedir, libdir,
>                     'python%d.%d' % sys.version_info[:2],
>                     'site-packages')
> sys.path.insert(0, path)
> 
> The 'site-packages' is not working with Python 2.6, which is using
> 'dist-packages' instead. Just change the string an you're done.

Not actually a Python 2.6 change but an Ubuntu change (there is no
valid reason for deviating from upstream here in my opinion. But just my
opinion...)

> Now the problem is more complex if you want to support both versions.
> Johan, if you hear me... :-)

I guess we forgot to follow up here after we tracked it down on IRC;
there's a patch sitting at:

 http://bugzilla.gnome.org/show_bug.cgi?id=574501

Sorry that you ended up doing duplicate investigation. Glad you figured
it out :-)

- Owen




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]