Possible cause is no super initialization of OrderedDict in class FrontierQ(OrderedDict). The error thrown is: 