I think that in https://bugs.launchpad.net/ubuntu you can get more answers that in the bugzilla.. Maybe, fill another bug on that? ---------------------------------------------------------------------------------------------------------------------------
Date: Thu, 29 Nov 2012 13:25:56 +0000 From: [email protected] To: [email protected] CC: [email protected] Subject: Re: [Sugar-devel] sugar-build run error I tracked it down and opened a bug about it https://bugzilla.gnome.org/show_bug.cgi?id=689272 I'm not holding my breath for a fix though... it's a tricky issue, I'm not even sure there is a good fix for it. For us the best fix would probably be to start adding some pieces of 13.04 support, to not build pygobject and friends there. If you are willing to try the attached patch (apply the patch, make clean, make, make run) and it works, I can add the bits to sugar-build. On 29 November 2012 09:50, Daniel Narvaez <[email protected]> wrote: > This is tricky... For some reason it's trying to load overrides from > the system path, you have a newer version there and it fails. Normally > python wouldn't do that but I think pygobject is playing some tricks. > > I need to look into this further. As a work around you can either > remove the package containing > /usr/lib/python2.7/dist-packages/gi/overrides/GObject.py or I think > "touch > /home/alan/Documentos/GIT/sugar-build/install/lib/python2.7/site-packages/gi/overrides/GObject.py" > should work too. > > On 29 November 2012 01:12, Alan Jhonn Aguiar Schwyn <[email protected]> > wrote: >> >> I have this strange error when try tu run: >> >> Traceback (most recent call last): >> File >> "/home/alan/Documentos/GIT/sugar-build/install/libexec/sugar-runner/get-screen-dpi", >> line 3, in <module> >> from gi.repository import Gtk >> File >> "/home/alan/Documentos/GIT/sugar-build/install/lib/python2.7/site-packages/gi/importer.py", >> line 76, in load_module >> dynamic_module._load() >> File >> "/home/alan/Documentos/GIT/sugar-build/install/lib/python2.7/site-packages/gi/module.py", >> line 244, in _load >> overrides_modules = __import__('gi.overrides', >> fromlist=[self._namespace]) >> File >> "/home/alan/Documentos/GIT/sugar-build/install/lib/python2.7/site-packages/gi/overrides/Gtk.py", >> line 23, in <module> >> from gi.repository import GObject >> File >> "/home/alan/Documentos/GIT/sugar-build/install/lib/python2.7/site-packages/gi/importer.py", >> line 76, in load_module >> dynamic_module._load() >> File >> "/home/alan/Documentos/GIT/sugar-build/install/lib/python2.7/site-packages/gi/module.py", >> line 244, in _load >> overrides_modules = __import__('gi.overrides', >> fromlist=[self._namespace]) >> File "/usr/lib/python2.7/dist-packages/gi/overrides/GObject.py", line 35, >> in <module> >> GObjectModule = gi.module.get_introspection_module('GObject') >> AttributeError: 'module' object has no attribute 'get_introspection_module' >> >> Ideas? > > > > -- > Daniel Narvaez -- Daniel Narvaez _______________________________________________ Sugar-devel mailing list [email protected] http://lists.sugarlabs.org/listinfo/sugar-devel
_______________________________________________ Sugar-devel mailing list [email protected] http://lists.sugarlabs.org/listinfo/sugar-devel

