2011/3/8 Henti Smith <he...@geekware.co.za>
> > effectively. but the solution is I think to found how/to what changed
> > delegateTo() with Pyro4 ; I'm looking,
> > should provide a real fix soon..
> > greg.
>
>
> No problem. I'm happy to assist where I can.
>
> H
>
yes thanks for that :)
Can you please try with following change :
in file daemon.py :
-class Interface(object):
+class Interface(Pyro.core.ObjBase):
""" Interface for pyro communications """
def __init__(self, app):
""" 'app´ is to be set to the owner of this interface. """
- self.pyro_obj = Pyro.core.ObjBase()
- self.pyro_obj.delegateTo(self)
+ super(Pyro.core.ObjBase, self).__init__()
(
found "solution" from: http://www.razorvine.net/python/Pyro/Migration :
2. Pyro.core.ObjBase is gone, just use any class directly as a Pyro object.
Pyro injects a few magic attributes in your object though. Their names start
with _pyro for easy identification.
)
Regards,
Greg.
>
>
> ------------------------------------------------------------------------------
> What You Don't Know About Data Connectivity CAN Hurt You
> This paper provides an overview of data connectivity, details
> its effect on application quality, and explores various alternative
> solutions. http://p.sf.net/sfu/progress-d2d
> _______________________________________________
> Shinken-devel mailing list
> Shinken-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/shinken-devel
>
------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
_______________________________________________
Shinken-devel mailing list
Shinken-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shinken-devel