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

Error when deactivating the selection of links in internal view mode #23

Open
afourmy opened this issue Nov 8, 2017 · 0 comments
Open
Assignees
Labels

Comments

@afourmy
Copy link
Owner

afourmy commented Nov 8, 2017

In the internal view of a node (shelf/card inside a network device), deactivating the selection of link triggers the following error:

Traceback (most recent call last):
File "C:\Users\minto\Desktop\pyNMS\pyNMS\main_menus\selection_panel.py", line 33, in
checkbox.clicked.connect(lambda _, m=mode: self.change_selection(m))
File "C:\Users\minto\Desktop\pyNMS\pyNMS\miscellaneous\decorators.py", line 38, in wrapper
function(self, *args, **kwargs)
File "C:\Users\minto\Desktop\pyNMS\pyNMS\main_menus\selection_panel.py", line 44, in change_selection
}mode:
File "C:\Users\minto\Desktop\pyNMS\pyNMS\networks\graph.py", line 200, in all_links
yield from self.pn[type].values()
KeyError: 'plink'
Traceback (most recent call last):
File "C:\Users\minto\Desktop\pyNMS\pyNMS\main_menus\selection_panel.py", line 33, in
checkbox.clicked.connect(lambda _, m=mode: self.change_selection(m))
File "C:\Users\minto\Desktop\pyNMS\pyNMS\miscellaneous\decorators.py", line 38, in wrapper
function(self, *args, **kwargs)
File "C:\Users\minto\Desktop\pyNMS\pyNMS\main_menus\selection_panel.py", line 44, in change_selection
}mode:
File "C:\Users\minto\Desktop\pyNMS\pyNMS\networks\graph.py", line 200, in all_links
yield from self.pn[type].values()
KeyError: 'plink'

@afourmy afourmy added the bug label Nov 8, 2017
@afourmy afourmy self-assigned this Nov 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant