[Sugar-devel] [Zero-install-devel] 0depend feature request
alsroot at member.fsf.org
Wed Nov 25 10:56:29 EST 2009
On Wed, Nov 25, 2009 at 10:27:57AM +0000, Thomas Leonard wrote:
> 2009/11/24 Aleksey Lim <alsroot at member.fsf.org>:
> > I've just tried simple example with simple feed in system w/o
> > any 0install remains and it fails for the first time but runs ok for 2nd.
> > I missed something in example code or its a unpredictable behaviour
> > (since  cailms for missed ROX-Lib dependensy but
> > solve_and_download_impls() should make all downloads)?
> >  http://pastebin.be/22131
> >  http://pastebin.be/22132
> >  http://pastebin.be/22133
> An async task needs to be a Python generator, which means it needs to
> include a "yield" statement somewhere (even if it's never called).
> Normally key confirmation has to be async because it has to wait for
> the key information to arrive and it has to wait for the user to
> I'll update handler.py so that it doesn't need to be async, but
> meanwhile just putting yield at the end will fix the problem.
thanks, I added yield to confirm_import_feed() and it works fine
More information about the Sugar-devel