E TypeError: PatternRuleEngine.scan_symbol() got an unexpected keyword argument 'sector'