Unbound python method, potentially scope issue?

I don't think this is a scoping issue. Are you sure you don't need to use: a = router. LocalNode(router.RandomVector(), '/topic/a_c') be = router.

LocalNode(router.RandomVector(), '/topic/b_c') i.e. Instantiate the RandomVector you pass to LocalNode? This recommendation is triggered by the Unboud method error message : an unbound method is one which is linked to a class and not to an instance / object.As your message complains about a.

OnConnect being an unbound method, it looks like you need to pass an instance and not a class.

1 This sounds like the right answer to me. It might help to explain a bit more about what an unbound method in Python is, though. – Jean-Paul Calderone Mar 6 '10 at 0:59.

I don't think this is a scoping issue. Instantiate the RandomVector you pass to LocalNode? This recommendation is triggered by the Unboud method error message : an unbound method is one which is linked to a class and not to an instance / object.

As your message complains about a. OnConnect being an unbound method, it looks like you need to pass an instance and not a class.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions