-
Notifications
You must be signed in to change notification settings - Fork 120
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
gnng not working: 'generator' object has no attribute '__getitem__' #252
Labels
Comments
Looks like this is related to the new "TextFSM" support in Trigger 1.5.7. Oops. |
This issue is due the results bucket being filled with both the textfsm generator objects and raw data. We need the parse function to filter out these generator objects. Leave it with me! |
tcuthbert
added a commit
to tcuthbert/trigger
that referenced
this issue
Mar 6, 2016
Instead of yielding fallback results which causes return data to come back as a generator, append them to a list and return all results at the end of a run. This ensures all external calls to the results object function the same as before.
tcuthbert
added a commit
to tcuthbert/trigger
that referenced
this issue
Mar 9, 2016
* Moved TextFSM vendor mapping functionality into the NetDevices object. The NetDevices object now has an "os" attribute. * Added more tests including a test for the template parser.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text was updated successfully, but these errors were encountered: