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 lifting detentions crashes Arnold #1451

Open
jmbredal opened this issue Feb 1, 2017 · 0 comments
Open

Error when lifting detentions crashes Arnold #1451

jmbredal opened this issue Feb 1, 2017 · 0 comments

Comments

@jmbredal
Copy link
Collaborator

jmbredal commented Feb 1, 2017

Should probably show a nice error-message to user instead.

Internal Server Error: /arnold/doenable/
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 111, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/usr/lib/python2.7/dist-packages/nav/web/arnold/views.py", line 334, in lift_detentions
    open_port(identity, account.login, 'Enabled from web')
  File "/usr/lib/python2.7/dist-packages/nav/arnold.py", line 392, in open_port
    change_port_vlan(identity, identity.fromvlan)
  File "/usr/lib/python2.7/dist-packages/nav/arnold.py", line 466, in change_port_vlan
    raise ChangePortVlanError(error)
ChangePortVlanError: An error occured when changing portvlan: SNMP Error: wrongValue (The set value is illegal or unsupported in some way)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant