Re: [kamaelia-list] Dynamic Graphline components?

2010-08-10 Thread Gloria W
On 08/10/2010 10:38 PM, Michael Sparks wrote: [giant snip] Many many thank yous. I understood everything you posted, and it is very close to what I had in mind to write, only cleaner :) It is great to be back here. I spent the afternoon reading code comments, and it felt like attending a well

Re: [kamaelia-list] Dynamic Graphline components?

2010-08-10 Thread Michael Sparks
[warning, this is a little on the long side, and really covers 3 - 4 major topics ] Hi Gloria, On Mon, Aug 9, 2010 at 4:32 AM, Gloria W wrote: > Hi Michael et al, > > I am pleased to say that I finally have a freelance contract where I can > make great use of Kamaelia. I am really happy about

[kamaelia-list] Re: threadedcomponent's main function not starting

2010-08-10 Thread Michael Sparks
On Aug 10, 11:11 pm, Joesan wrote: > We started working with kamaelia recently at work and we're having > trouble right now working with threadedcomponents. ... > The new component gets created just fine but for some reason > it seems it's main function is never actually called. At a random guess

Re: [kamaelia-list] threadedcomponent's main function not starting

2010-08-10 Thread Matt Hammond
Hi Joesan, Very difficult to make suggestions unless we can actually see a sample of the code in question. Please post a sample of your code - particularly of the threadedcomponent - if you can. Hazarding a guess: have you remembered to *not* use yield statements inside the main() method of the t

Re: [kamaelia-list] Nifty uses and features.

2010-08-10 Thread Matt Hammond
>> An unrelated question: What is the best way to set a timer inside of a >> component? I am using the threaded Timer, but it is problematic inside >> of >> the component, it only fires once and cannot be restarted without error. >> It >> looks like it's underlying thread handling is botching up th

[kamaelia-list] threadedcomponent's main function not starting

2010-08-10 Thread Joesan
We started working with kamaelia recently at work and we're having trouble right now working with threadedcomponents. We have several regular components which are added as child components to one big "master" component. We now need to add in a another component who will run it's main function in

Re: [kamaelia-list] Nifty uses and features.

2010-08-10 Thread Sylvain Hellegouarch
> > Matt, thank you, this is really great! I will respond in more detail once I > test this out. I am certain you've saved me huge amounts of time. > > An unrelated question: What is the best way to set a timer inside of a > component? I am using the threaded Timer, but it is problematic inside of

Re: [kamaelia-list] Nifty uses and features.

2010-08-10 Thread Gloria W
On 08/10/2010 12:13 PM, Matt Hammond wrote: I am having a similar epiphany now that I found the coordinating assistance tracker (under Axon). This is precisely what I need: a dynamic way to register and de-register available components that aren't linked to each other. This can also be used t

Re: [kamaelia-list] Nifty uses and features.

2010-08-10 Thread Matt Hammond
I am having a similar epiphany now that I found the coordinating assistance tracker (under Axon). This is precisely what I need: a dynamic way to register and de-register available components that aren't linked to each other. This can also be used to handle global data. Nifty! The document

[kamaelia-list] Nifty uses and features.

2010-08-10 Thread Gloria W
On 08/10/2010 08:59 AM, Jim Easterbrook wrote: On 09/08/10 08:24, Matt Hammond wrote: If what you are after doing is swapping out a single component and replacing it with a new one, then the Carousel component might help you: http://www.kamaelia.org/Components/pydoc/Kamaelia.Chassis.Carousel.h

Re: [kamaelia-list] Dynamic Graphline components?

2010-08-10 Thread Jim Easterbrook
On 09/08/10 08:24, Matt Hammond wrote: > > If what you are after doing is swapping out a single component and > replacing it with a new one, then the Carousel component might help you: > > http://www.kamaelia.org/Components/pydoc/Kamaelia.Chassis.Carousel.html > > When you create a carousel, you