[Sugar-devel] Sugar on Debian

Jonas Smedegaard dr at jones.dk
Tue Jul 14 07:55:19 EDT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On Tue, Jul 14, 2009 at 12:32:13PM +0200, Jonas Smedegaard wrote:
>On Tue, Jul 14, 2009 at 11:23:46AM +0200, Sascha Silbe wrote:
>>On Tue, Jul 14, 2009 at 10:54:43AM +0200, Jonas Smedegaard wrote:
>>>Using sugar-emulator, initial login fails. It is probably a gconf 
>>>problem.  Possibly only occurs when running a non-GNOME environment 
>>>as I do.

>> From what I know about the Orbit-based GConf it should start the
>>daemon automatically, so no explicit startup sequence required. Do
>>the logs in ~/.sugar/default/logs show anything unusual?
>
>shell.log contains a single entry saying (in danish, my language) that
>/home/jonas/.sugar/default/owner.key.pub does not exist.
>
>Xephyr just comes up with a black screen, and after the usual pile of
>warnings prints a couple of empty lines and then a segfault message
>(again in danish: Lagersegmentfejl).
>
>It is not Xephyr segfaulting, but something else - Xephyr stays open
>with a black screen.
>
>Uncommenting all in ~/.sugar/debug there is still only that single line
>in shell.log but a coredump is provided, coming (according to "file
>core") from /usr/bin/sugar-session.

Reached a bit closer now, reading the scripts closely and using 
"sugar-emulator x-terminal-emulator":

  1) sugar-session starts Xephyr and sugar

  2) sugar starts matchbox and sugar-session

  3) sugar-session complains about missing root window and segfaults

Adding flags around line 135 of sugar-session like this:

def main():                            
     cleanup_logs()                     
     print "before log"
     logger.start('shell')
     print "after log"

     intro.check_profile()

Gives the following on stdout when sugar-emulator is invoked from a 
terminal:

1247572112.4330659 STARTUP: Starting the shell
matchbox: keyboard does not appear to have a <alt> key.
matchbox: ignoring key shortcut <Alt>return=fullscreen

before log
Lagersegmentfejl (core dumped)


Commenting out logger.start() just causes segfault later...


Suggestions?


  - Jonas

- -- 
* Jonas Smedegaard - idealist og Internet-arkitekt
* Tlf.: +45 40843136  Website: http://dr.jones.dk/

  [x] quote me freely  [ ] ask before reusing  [ ] keep private
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iQIcBAEBCgAGBQJKXHInAAoJECx8MUbBoAEhtssP/3fKTQWiP3ReyDNZt7/RtGww
mqenLVcBC7TQDaA1LOdI6yAqGfFKm7zvLXtFg+InQF0MiusC7fQkIpK/cZSM8UHi
vt+S7tHTDqC3VXFZugGcmi61vmJZ3RHnVgp74UnPf3+nxFLsaA6HpjcOdrl9H48x
C4Glez9lbQJsn93stKCqL600VrJZrH5pR+e3OTxMf4N8oSq2nglmPiF8XNJ+LuA8
mtPxK7laKjQUiB5t6QMAzvQyouCT1JMCMyiFw6DIJOHl+FSkdRMUlQllC0oT2pE8
ueiaQRmyGheAmb70a+DMGWR0WZgglt8UxaWfWD5xxRsD/hTsrJboRw+e+wAws8T4
KFZJ5CiOa4GeMlXsth87EcwWbtBhmm4RQ4x1Wyt/imvfCn/bJP8A3cB9yDPTCjCp
jGDDh/DvG56ug4Y4n34tblnimaP8mdmSjCoL9bbXZFsEERJ6kYihir3Y642fJk8z
SPRcc5lEPSKLJzZIuEGsORCBm0wF6wsmIpMAdgO9F9ZW1lHGSdWTAttEvq1U/f3Y
jJ+e+UC0ez5j/top9WTSH7JwzXYRjSLBdnTcQDTBxQ94uXerrVckCCWL1iAkoLyr
aYDS1nzCYAVweP24Vl/f4y/DZ6Lo92QTfi1dp4X823cn7vmZxHIchNz1yRteYMb/
fY1wJicT+kABdXaZLKHA
=nRgE
-----END PGP SIGNATURE-----


More information about the Sugar-devel mailing list