[sugar] Error running sugar on Ubuntu

Tomeu Vizoso tomeu
Mon Apr 23 04:00:42 EDT 2007


Hi Rafael, looks like you don't have sugar installed (you would have the
scripts sugar-emulator and sugar-shell in sugar-jhbuild/build/bin).

What happens if you execute:

cd sugar-jhbuild
./sugar-jhbuild shell
cd source/sugar
make install

?

Thanks,

Tomeu

On Sun, 2007-04-22 at 20:59 -0300, Rafael Barbolo Lopes wrote:
> 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... 
> _______________________________________________
> Sugar mailing list
> Sugar at laptop.org
> http://mailman.laptop.org/mailman/listinfo/sugar




More information about the Sugar-devel mailing list