[Grok-dev] Context Constantly Reinitializing/Switching?

Kenneth Miller xkenneth at gmail.com
Sun Jun 22 14:34:07 EDT 2008


So I've noticed some funny behaviour with my grok app. I'm trying to  
share an object between a view (and it's viewlets) and a KSSActions  
object.

Now in my views update() method I put a statement to print the context  
object. Here's a little snippet: (each Line represents a refresh)

<buildoutbuilder.grokapp.app.BuildoutBuilder object at 0x20d1870>
<buildoutbuilder.grokapp.app.BuildoutBuilder object at 0x20d1870>
<buildoutbuilder.grokapp.app.BuildoutBuilder object at 0x25a98b0>
<buildoutbuilder.grokapp.app.BuildoutBuilder object at 0x20d1870>
<buildoutbuilder.grokapp.app.BuildoutBuilder object at 0x20d1870>
<buildoutbuilder.grokapp.app.BuildoutBuilder object at 0x20d1870>
<buildoutbuilder.grokapp.app.BuildoutBuilder object at 0x20d1870>
<buildoutbuilder.grokapp.app.BuildoutBuilder object at 0x20d1870>
<buildoutbuilder.grokapp.app.BuildoutBuilder object at 0x20d1870>
<buildoutbuilder.grokapp.app.BuildoutBuilder object at 0x20d1870>
<buildoutbuilder.grokapp.app.BuildoutBuilder object at 0x20d1870>
<buildoutbuilder.grokapp.app.BuildoutBuilder object at 0x20d1870>
<buildoutbuilder.grokapp.app.BuildoutBuilder object at 0x25a98b0>
<buildoutbuilder.grokapp.app.BuildoutBuilder object at 0x25a98b0>
<buildoutbuilder.grokapp.app.BuildoutBuilder object at 0x25a98b0>
<buildoutbuilder.grokapp.app.BuildoutBuilder object at 0x20d1870>
<buildoutbuilder.grokapp.app.BuildoutBuilder object at 0x25a98b0>
<buildoutbuilder.grokapp.app.BuildoutBuilder object at 0x25a98b0>
<buildoutbuilder.grokapp.app.BuildoutBuilder object at 0x25a98b0>
<buildoutbuilder.grokapp.app.BuildoutBuilder object at 0x25a98b0>
<buildoutbuilder.grokapp.app.BuildoutBuilder object at 0x25a98b0>
<buildoutbuilder.grokapp.app.BuildoutBuilder object at 0x20d1870>
<buildoutbuilder.grokapp.app.BuildoutBuilder object at 0x20d1870>
<buildoutbuilder.grokapp.app.BuildoutBuilder object at 0x20d1870>
<buildoutbuilder.grokapp.app.BuildoutBuilder object at 0x20d1870>
<buildoutbuilder.grokapp.app.BuildoutBuilder object at 0x25a98b0>
<buildoutbuilder.grokapp.app.BuildoutBuilder object at 0x20d1870>
<buildoutbuilder.grokapp.app.BuildoutBuilder object at 0x20d1870>
<buildoutbuilder.grokapp.app.BuildoutBuilder object at 0x20d1870>
<buildoutbuilder.grokapp.app.BuildoutBuilder object at 0x20d1870>
<buildoutbuilder.grokapp.app.BuildoutBuilder object at 0x25a98b0>

The context object is always of the same type, but sometimes it's  
different objects. It's not reinitializing my app each time, because  
the objects aren't random, but it seems to switch between a few. Any  
ideas?

Regards,
Ken


More information about the Grok-dev mailing list