Ask Your Question
0

How to build sugar on fedora 16

asked 2012-02-15 12:31:15 -0500

callkalpa gravatar image

Hi,

I am trying to build sugar as instruction here. When I issue "./sugar-jhbuild update" I get the following error. My system is fedora 16 (64 bit).

./sugar-jhbuild update
Updating sugar-jhbuild...
Already up-to-date.
Updating upstream jhbuild...
Already up-to-date.
Warning: unknown distro version, automatic fallback to rawhide.
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-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-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'

This works fine in another machine with fedora 16 (64 bit). I'm unable to figure the error.

The files and folder structure is here

Any help is highly appreciated.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2012-02-16 00:10:10 -0500

callkalpa gravatar image

I just removed /home/kalpa/.local/lib/python2.7/site-packages/jhbuild and how it all works fine :-)

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2012-02-15 12:31:15 -0500

Seen: 183 times

Last updated: Feb 16 '12