[kamaelia-list] Re: Small mod to console example doesn't work?

2009-03-01 Thread Michael Sparks
On Sunday 01 March 2009 06:51:09 Gloria W wrote: Hi all, I am testing things, trying to get a small modification to this example working correctly: http://www.kamaelia.org/Home By this, I'm assuming you mean this: http://pastebin.com/m529b7499 I've simple added this line:

[kamaelia-list] Installation problem under Windows

2009-03-01 Thread Miles
Hi All - I had a bit of a problem installing Kamaelia 0.6.0 under Windows, and I thought I'd pass along my experience. I'm using Python 2.6.1 on Windows XP Service Pack 3. * Kamaelia appears to require setuptools to install. Setuptools doesn't have a Windows installer for 2.6, so I installed

[kamaelia-list] Re: Request small Code Review

2009-03-01 Thread Steve
Small update to reduce periodic drift in PeriodicTick class. Also removed an accidentally included producerFinished signal from the same class. http://pastebin.com/m351a87c9 --Steve On Feb 27, 9:45 am, I wrote: I've been having trouble with the SimpleServer getting in a bad state

[kamaelia-list] Re: Request small Code Review

2009-03-01 Thread Michael Sparks
On Sunday 01 March 2009 18:18:05 Steve wrote: Small update to reduce periodic drift in PeriodicTick class.  Also removed an accidentally included producerFinished signal from the same class. http://pastebin.com/m351a87c9 FYI, I've been reading through this making sure I understand what

[kamaelia-list] Re: Installation problem under Windows

2009-03-01 Thread Michael Sparks
Hi Miles, On Mar 1, 3:50 pm, Miles clar...@gmail.com wrote: Hi All - I had a bit of a problem installing Kamaelia 0.6.0 under Windows, and I thought I'd pass along my experience. Many thanks for this, it's really useful - I personally tend to only use Kamaelia on Linux or Mac OS X[1], so

[kamaelia-list] Submitting my own console writer for review.

2009-03-01 Thread Gloria W
Hi all, I copied snippets from existing console code in Console.py to try to make a functional remote console writer, to, say, prompt for a user name and info before letting anyone into a chat session, for example. Code is here: http://pastebin.com/m6f29ad06 And it seems to hang when I

[kamaelia-list] Re: Submitting my own console writer for review.

2009-03-01 Thread Steve
Gloria, I'm very new to Kamaelia, but I'm going to take a stab at this: 1) If you don't inherit from threadedcomponent then your component's main function needs to be a generator. Generators use yield statements to temporarily suspend execution and send a value back to the calling context.