[Sugar-devel] sugar-build run error

Alan Jhonn Aguiar Schwyn alanjas at hotmail.com
Thu Nov 29 16:22:47 EST 2012


Yes..

> Date: Thu, 29 Nov 2012 10:50:26 +0100
> From: dwnarvaez at gmail.com
> To: alanjas at hotmail.com
> CC: sugar-devel at lists.sugarlabs.org
> Subject: Re: [Sugar-devel] sugar-build run error
> 
> 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 <alanjas at hotmail.com> 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
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20121129/1d30c8b1/attachment.html>


More information about the Sugar-devel mailing list