[Sugar-devel] error in ./sugar-jhbuild update
Simon Schampijer
simon at schampijer.de
Fri Feb 10 05:48:44 EST 2012
On 02/10/2012 06:39 AM, Kalpa Welivitigoda wrote:
> Hi,
>
> I was trying to build sugar base system as instruction at here [1] and
> I got this error message,
>
> ./sugar-jhbuild update
> Cloning upstream jhbuild
> Cloning into jhbuild...
> remote: Counting objects: 30895, done.
> remote: Compressing objects: 100% (8597/8597), done.
> remote: Total 30895 (delta 23961), reused 28682 (delta 22191)
> Receiving objects: 100% (30895/30895), 6.00 MiB | 118 KiB/s, done.
> Resolving deltas: 100% (23961/23961), done.
> Warning: unknown distro version, automatic fallback to rawhide.
Sidenote: maybe we should define configs for the Fedora releases...
> Traceback (most recent call last):
> File "./sugar-jhbuild", line 62, in<module>
> sys.exit(main.main(base_dir, sys.argv[1:]))
> File "/home/kalpa/sugar-devel/sugar-jhbuild/sjhbuild/main.py", line
> 111, in main
> rc = jhbuild.commands.run(command, config, args, help=lambda:
> jhbuild.main.print_help(parser))
> File "/home/kalpa/.local/lib/python2.7/site-packages/jhbuild/commands/__init__.py",
> line 123, in run
> return cmd.execute(config, args, help)
> File "/home/kalpa/.local/lib/python2.7/site-packages/jhbuild/commands/__init__.py",
> line 52, in execute
> return self.run(config, options, args, help)
> File "/home/kalpa/.local/lib/python2.7/site-packages/jhbuild/commands/base.py",
> line 63, in run
> module_set = jhbuild.moduleset.load(config)
> File "/home/kalpa/.local/lib/python2.7/site-packages/jhbuild/moduleset.py",
> line 316, in load
> ms.modules.update(_parse_module_set(config, uri).modules)
> File "/home/kalpa/.local/lib/python2.7/site-packages/jhbuild/moduleset.py",
> line 412, in _parse_module_set
> inc_moduleset = _parse_module_set(config, inc_uri)
> File "/home/kalpa/.local/lib/python2.7/site-packages/jhbuild/moduleset.py",
> line 427, in _parse_module_set
> repositories, default_repo)
> File "/home/kalpa/.local/lib/python2.7/site-packages/jhbuild/modtypes/__init__.py",
> line 58, in parse_xml_node
> return parser(node, config, uri, repositories, default_repo)
> File "/home/kalpa/sugar-devel/sugar-jhbuild/sjhbuild/bundlemodule.py",
> line 50, in parse_bundle
> instance = BundleModule.parse_from_xml(node, config, uri,
> repositories, default_repo)
> AttributeError: type object 'BundleModule' has no attribute 'parse_from_xml'
>
> How can I get this fixed?
Hmm, this error is very strange, 'parse_from_xml' is defined in jhbuild.
jhbuild/jhbuild/modtypes/__init__.py:424: def parse_from_xml(cls,
node, config, uri, repositories, default_repo):
> When I try ./sugar-jhbuild depscheck I get the following output,
>
> Warning: unknown distro version, automatic fallback to rawhide.
> Missing packages:
> gnome-python2-evince
Yeah, like Peter said, no worries about that. Same here for me with a
running jhbuild.
> I tried to install gnome-python2-evince through yum and it complains
> that there is no package with that name.
> My system is F16 with GNOME3
I am here on F16 as well. Just did a fresh checkout and all worked fine
for me.
Regards,
Simon
More information about the Sugar-devel
mailing list