[Sugar-devel] Sugar on Debian

Sascha Silbe sascha-ml-ui-sugar-devel at silbe.org
Tue Jul 14 09:32:40 EDT 2009


On Tue, Jul 14, 2009 at 01:55:19PM +0200, Jonas Smedegaard wrote:

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

> before log
> Lagersegmentfejl (core dumped)

Strange, logger.start() doesn't seem to call any non-Python stuff. What 
happens if you
a) comment out the cleanup_logs()
b) issue the following inside a normal Python shell?

import sugar.logger
sugar.logger.start('shell')

After the last command you won't get a prompt since stderr gets 
redirected to the log file. Exiting the shell with Ctrl+d works fine, 
though.

CU Sascha

-- 
http://sascha.silbe.org/
http://www.infra-silbe.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 489 bytes
Desc: Digital signature
Url : http://lists.sugarlabs.org/archive/sugar-devel/attachments/20090714/8d9bd1fc/attachment.pgp 


More information about the Sugar-devel mailing list