You already have the line export SUGAR_LOGGER_LEVEL=debug uncommented in .sugar/debug, right?
Gonzalo On Wed, Sep 19, 2012 at 5:41 PM, Martin Langhoff <martin.langh...@gmail.com>wrote: > On Wed, Sep 19, 2012 at 4:15 PM, Martin Langhoff > <martin.langh...@gmail.com> wrote: > > I'm debugging odd situations w Sugar datastore, and I wonder whether > > there is any tricks to debugging python programs that are run under > > dbus. > > > > I can see the sugar-datastore PID growing steadily while I test, which > > means that it's dying and respawning plenty, likely from unhandled > > exceptions... > > Adding to /usr/bin/datastore-service > > # debugging > logerr=open(os.path.join(log_dir, 'datastore.err'), 'w') > sys.stderr=logerr > > does not help in the least. The file is created, but nothing is ever > written there. > > Any hints? > > > > m > -- > martin.langh...@gmail.com > mar...@laptop.org -- Software Architect - OLPC > - ask interesting questions > - don't get distracted with shiny stuff - working code first > - http://wiki.laptop.org/go/User:Martinlanghoff > _______________________________________________ > Sugar-devel mailing list > Sugar-devel@lists.sugarlabs.org > http://lists.sugarlabs.org/listinfo/sugar-devel >
_______________________________________________ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel