Here is a script which demonstrates the problem.
If you try importing at position ONE it gives the 'Unable to share 
contexts' error.
If you try importing at either of the position TWOs, everything works fine.

from cocos.director import director
> import cocos.layer
> #import cocos.particle_systems #ONE
>
 

class Layer(cocos.layer.Layer):
>     def __init__(self):
>         super(Layer, self).__init__()
>         #import cocos.particle_systems #TWO
>
 

if __name__ == '__main__':
>     director.init()
>     #import cocos.particle_systems #TWO
>     director.run(cocos.scene.Scene(Layer()))

-- 
You received this message because you are subscribed to the Google Groups 
"cocos2d discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/cocos-discuss?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to