Re: Building Gnome-shell: No module named annotationparser



Hello,
I just tried doing the clean install of gnome-shell by following the
wiki guide but it also failed with the same error.
I deleted all of the folders inside and tried again but without success.
Jay


On Sun, Mar 1, 2009 at 8:32 PM, Colin Walters <walters verbum org> wrote:
  
Hi Ivan,

On Sat, Feb 28, 2009 at 10:54 PM, Ivan Stetsenko <stetzen rambler ru> wrote:

    
I'm trying to build gnome-shell, and I'm getting an error during compiling
of gir-repository:

Traceback (most recent call last):
 File "/home/stetzen/gnome-shell/install/bin/g-ir-scanner", line 44, in
<module>
  from giscanner.annotationparser import AnnotationParser,
InvalidAnnotationError
ImportError: No module named annotationparser
      
Is it possible that you didn't track the switch of
gobject-introspection from svn to git?  If that is the case you'll
need to move aside (or delete) both the gobject-introspection and
gir-repository directories in your source checkout.

If that's not the issue I'm unsure what could be the cause - the
annotationparser.py file has been listed in the Makefile.am since Jan
19.  Maybe try a full rebuild of gobject-introspection?
_______________________________________________
gnome-shell-list mailing list
gnome-shell-list gnome org
http://mail.gnome.org/mailman/listinfo/gnome-shell-list

    

Are you building it on ubuntu jaunty (well, it may affect other modern distributions as well)? In my case I've found that there is a number of packages related to gobject-introspection were installed (I'm not sure if I'm remembering them correctly, but I think it were libgirepository0 and gobject-introspection). After I've removed them, everything was fine. It looks like the build script checks the system path for these libraries first, and if they are installed system wide, it tries to use them, even if the version is too old.


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