[sugar] Error running sugar on Ubuntu

Rafael Barbolo Lopes barbolo
Sun Apr 22 19:59:12 EDT 2007


Hi!

I got this error:

 ./sugar-jhbuild run
 Traceback (most recent call last):
 File "./sugar-jhbuild", line 11, in ?
   main.main(sys.argv[1:])
 File "/home/barbolo/Desktop/sugar/sugar-jhbuild/main.py", line 104, in main
   jhbuild.commands.run(command, config, args)
 File "/home/barbolo/Desktop/sugar/sugar-jhbuild/build-scripts/jhbuild/jhbuild/commands/__init__.py",
line 74, in run
   return cmd.execute(config, args)
 File "/home/barbolo/Desktop/sugar/sugar-jhbuild/build-scripts/jhbuild/jhbuild/commands/base.py",
line 238, in execute
   os.execlp(args[0], *args)
 File "/usr/lib/python2.4/os.py", line 324, in execlp
   execvp(file, args)
 File "/usr/lib/python2.4/os.py", line 341, in execvp
   _execvpe(file, args)
 File "/usr/lib/python2.4/os.py", line 379, in _execvpe
   func(fullname, *argrest)
 OSError: [Errno 2] No such file or directory

So, I tried:

Edit the archive sugar-jhbuild/main.py:

Change line 101:

args.append('sugar-emulator')

for

args.append('/home/barbolo/Desktop/sugar/sugar-jhbuild/source/sugar/sugar-emulator')



Note that /home/barbolo/Desktop/sugar is where my sugar-jhbuild folder is
located!

However, after making this change I got a sugar window with the mouse cursor
as a X and the errors:

root at barbolo:~/Desktop/sugar/sugar-jhbuild# ./sugar-jhbuild run
Couldn't exec sugar-shell: No such file or directory
root at barbolo:~/Desktop/sugar/sugar-jhbuild# error opening security policy
file /usr/lib/xserver/SecurityPolicy
Extended Input Devices not yet supported. Impelement it at line 625 in
../../../../hw/kdrive/src/kinput.c
    xkb_keycodes             { include "xfree86+aliases(qwerty)" };
    xkb_types                { include "complete" };
    xkb_compatibility        { include "complete" };
    xkb_symbols              { include "pc(pc101)+us" };
    xkb_geometry             { include "pc(pc101)" };
Could not init font path element /usr/share/fonts/X11/TTF/, removing from
list!
Could not init font path element /usr/share/fonts/X11/OTF, removing from
list!
Could not init font path element /usr/share/fonts/X11/CID/, removing from
list!

Has anyone solved this problem?

Thx!

-- 
...Rafael...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.laptop.org/pipermail/sugar/attachments/20070422/5813a0c5/attachment.htm 



More information about the Sugar-devel mailing list