Re: calling base class method fetches no results

2015-05-09 Thread david jhon
03:59 AM, david jhon wrote: > >> Hi, I am sorry for sending in five attachments, I cloned the code from >> here >> <https://bitbucket.org/msharif/hedera/src>: Let me explain it here: >> >> > Please don't top-post. Your earlier problem description, whic

Re: calling base class method fetches no results

2015-05-09 Thread david jhon
_GFF_path(GFF_route,flow['match']) def launch(topo = None, routing = None, bw = None ): #print topo if not topo: raise Exception ("Please specify the topology") else: t = buildTopo(topo) r = getRouting(routing, t) if bw == None: bw = 10.0 #M

calling base class method fetches no results

2015-05-08 Thread david jhon
Hello everyone, I am new to python and trying to run an example code from mininet tests. Basically, I am trying to call a method in Hcontroller.py from base class Routing defined in DCRouting.py which runs and fetches all the required results in install_reactive_path() method, but it returns None

Re: Exception in thread Thread-4:

2015-05-05 Thread david jhon
Hi Chris, Thanks a lot for such a comprehensive reply, I got it fixed now. Thanks again :) On Tue, May 5, 2015 at 2:52 PM, Chris Angelico wrote: > On Tue, May 5, 2015 at 7:23 PM, david jhon wrote: > > from threading import Timer, Lock > > > > class miTestClass(Eve

Exception in thread Thread-4:

2015-05-05 Thread david jhon
Hello everyone, I am initializing lock and threading related variables in __init__() method of the class as follows: from threading import Timer, Lock class miTestClass(EventMixin): def __init__(self, t, r, bw): self.statMonitorLock = Lock() #to lock the multi access threads