GNOME Bugzilla – Bug 694480
build failure: ../tools/make_schema.py caribou.settings.CaribouSettings
Last modified: 2013-02-28 10:20:41 UTC
I'm trying my first installation of version 0.4.0. I'm on a slackware box, but have all of gnome installed in a subtree of /opt. I've got various python 2.x and 3.3.0 installed. They all fail. Here's the latest traceback (using python2.7): GEN org.gnome.Caribou.Antler.service ../tools/make_schema.py caribou.settings.CaribouSettings Traceback (most recent call last):
+ Trace 231553
maker.create_schemas()
self._create_schema(self.settings, doc, schema)
self._create_schema(s, doc, schemalist)
getattr(setting.gvariant, "print")(False)),
make[3]: *** [org.gnome.caribou.gschema.xml.in] Error 1 Using python3.3 I get: ../tools/make_schema.py caribou.settings.CaribouSettings File "../tools/make_schema.py", line 72 print "usage: %s <schema id>" % sys.argv[0] ^ SyntaxError: invalid syntax I tried running autogen.sh (actually gnome-autogen.sh) as suggested in bug 678973, but that didn't help
For python 2.x, I guess you could either try newer caribou releases (>= 0.4.4) or pygobject-3 (>= 3.3.3). See bug 683256. For python 3, it seems some patches in bug 690962 still need to be merged. I'll work on them soon.
Created attachment 237583 [details] [review] Fix errors when building with python 3 -- Port some fixes from bug 690962.
Attachment 237583 [details] pushed as c19a148 - Fix errors when building with python 3