ip_extended_interarea referenced before assignment
See original GitHub issueGetting error hear when trying to learn isis on fresh install:
`Issue while building the feature
Traceback (most recent call last):
File “src/genie/cli/commands/learn.py”, line 343, in genie.cli.commands.learn.LearnCommand._retrieve_ops
File “/usr/local/lib/python3.6/site-packages/genie/libs/ops/isis/iosxr/isis.py”, line 752, in learn
self.make(final_call=True)
File “/usr/local/lib64/python3.6/site-packages/genie/ops/base/base.py”, line 101, in make
self.maker.make(*args, **kwargs)
File “src/genie/ops/base/maker.py”, line 312, in genie.ops.base.maker.Maker.make
File “src/genie/ops/base/maker.py”, line 418, in genie.ops.base.maker.Maker._call_parser
File “src/genie/metaparser/_metaparser.py”, line 271, in genie.metaparser._metaparser.MetaParser.parse
File “/usr/local/lib/python3.6/site-packages/genie/libs/parser/iosxr/show_isis.py”, line 3937, in cli
.setdefault(ip_extended_interarea, {})
UnboundLocalError: local variable ‘ip_extended_interarea’ referenced before assignment`
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top GitHub Comments
Hi, Could you provide the device’s sample output to check? Thanks
Hi,
The parser fix is released. Please upgrade genie.libs.parser to the latest v20.6
Thanks