Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ValueError: Could not parse 'ipv6 router ospf 6' #44

Closed
mzi77 opened this issue Jul 24, 2015 · 2 comments
Closed

ValueError: Could not parse 'ipv6 router ospf 6' #44

mzi77 opened this issue Jul 24, 2015 · 2 comments

Comments

@mzi77
Copy link

mzi77 commented Jul 24, 2015

Hi,

ciscoconfparse-1.2.37-py2.7.egg

can't parse

ipv6 router ospf 6

in IOS configuration.

@mzi77
Copy link
Author

mzi77 commented Jul 24, 2015

Error output
Traceback (most recent call last):
File "./hsrp_check.py", line 31, in
parse = CiscoConfParse(full_path, factory=True)
File "/usr/lib/python2.7/site-packages/ciscoconfparse-1.2.37-py2.7.egg/ciscoconfparse/ciscoconfparse.py", line 186, in init
CiscoConfParse=self)
File "/usr/lib/python2.7/site-packages/ciscoconfparse-1.2.37-py2.7.egg/ciscoconfparse/ciscoconfparse.py", line 2212, in init
self._list = self._bootstrap_obj_init(data)
File "/usr/lib/python2.7/site-packages/ciscoconfparse-1.2.37-py2.7.egg/ciscoconfparse/ciscoconfparse.py", line 2436, in _bootstrap_obj_init
syntax='ios')
File "/usr/lib/python2.7/site-packages/ciscoconfparse-1.2.37-py2.7.egg/ciscoconfparse/ciscoconfparse.py", line 2985, in ConfigLineFactory
comment_delimiter=comment_delimiter) # instance of the proper subclass
File "/usr/lib/python2.7/site-packages/ciscoconfparse-1.2.37-py2.7.egg/ciscoconfparse/models_cisco.py", line 1570, in init
raise ValueError("Could not parse '{0}'".format(self.text))
ValueError: Could not parse 'ipv6 router ospf 6'

@mpenning
Copy link
Owner

mpenning commented May 1, 2016

Hello, I fixed this in version 1.2.40 on pypi... please update your installation and test again.

@mpenning mpenning closed this as completed May 1, 2016
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 14, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants