(This time I have read the release notes :-P )
Fresh install of NAV 4.8.2. I choose a port on a gsw and get something like this:
NoReverseMatch at /ipdevinfo/ma-gsw7.infra.uit.no/interface=1994406/
Reverse for 'report-topology-candidates-port' with arguments '(u'ma-gsw7.infra.uit.no', u'Gi1/9')' and keyword arguments '{}' not found. 1 pattern(s) tried: ['report/topology_candidates\?from_device=(?P<sysname> [^/&]+)&from_interface=(?P<ifname>[^/&]+)$']
Request Method: GET Request URL: https://nav.uit.no/ipdevinfo/ma-gsw7.infra.uit.no/interface=19944 06/ Django Version: 1.7.1 Exception Type: NoReverseMatch Exception Value:
Reverse for 'report-topology-candidates-port' with arguments '(u'ma-gsw7.infra.uit.no', u'Gi1/9')' and keyword arguments '{}' not found. 1 pattern(s) tried: ['report/topology_candidates\?from_device=(?P<sysname> [^/&]+)&from_interface=(?P<ifname>[^/&]+)$']
Exception Location: /usr/local/lib/python2.7/site-packages/django/core/urlreso lvers.py in _reverse_with_prefix, line 468 Python Executable: Python Version: 2.7.14 Python Path:
['/usr/local/lib/python2.7/site-packages/shortuuid-0.4.2-py2.7.egg', '/usr/local/lib/python2.7/site-packages/django_hstore-1.2.5-py2.7.egg', '/usr/local/lib/python2.7/site-packages/crispy_forms_foundation-0.2.3-py2.7.eg g', '/usr/local/lib/python2.7/site-packages/django_crispy_forms-1.3.2-py2.7.egg', '/usr/local/lib/python27.zip', '/usr/local/lib/python2.7', '/usr/local/lib/python2.7/plat-freebsd10', '/usr/local/lib/python2.7/lib-tk', '/usr/local/lib/python2.7/lib-old', '/usr/local/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/site-packages', '/usr/local/lib/python2.7/site-packages/gtk-2.0', '/usr/local/lib/python2.7/site-packages', '/usr/local/nav/etc/python']
Server time: Tue, 19 Dec 2017 13:10:36 +0100
What am I missing?
--Ingeborg
This is a bug in NAV 4.8.x. Pending a release of 4.8.3 with a fix for this bug you could apply this patch manually: https://github.com/UNINETT/nav/commit/3d6fc588b328c4c7caeb225828033e106e0b1e...
Best regards
Sigmund Augdal
On 19. des. 2017 13:15, Ingeborg Hellemo wrote:
(This time I have read the release notes :-P )
Fresh install of NAV 4.8.2. I choose a port on a gsw and get something like this:
NoReverseMatch at /ipdevinfo/ma-gsw7.infra.uit.no/interface=1994406/
Reverse for 'report-topology-candidates-port' with arguments '(u'ma-gsw7.infra.uit.no', u'Gi1/9')' and keyword arguments '{}' not found. 1 pattern(s) tried: ['report/topology_candidates\?from_device=(?P<sysname> [^/&]+)&from_interface=(?P<ifname>[^/&]+)$']
Request Method: GET Request URL: https://nav.uit.no/ipdevinfo/ma-gsw7.infra.uit.no/interface=19944 06/ Django Version: 1.7.1 Exception Type: NoReverseMatch Exception Value:
Reverse for 'report-topology-candidates-port' with arguments '(u'ma-gsw7.infra.uit.no', u'Gi1/9')' and keyword arguments '{}' not found. 1 pattern(s) tried: ['report/topology_candidates\?from_device=(?P<sysname> [^/&]+)&from_interface=(?P<ifname>[^/&]+)$']
Exception Location: /usr/local/lib/python2.7/site-packages/django/core/urlreso lvers.py in _reverse_with_prefix, line 468 Python Executable: Python Version: 2.7.14 Python Path:
['/usr/local/lib/python2.7/site-packages/shortuuid-0.4.2-py2.7.egg', '/usr/local/lib/python2.7/site-packages/django_hstore-1.2.5-py2.7.egg', '/usr/local/lib/python2.7/site-packages/crispy_forms_foundation-0.2.3-py2.7.eg g', '/usr/local/lib/python2.7/site-packages/django_crispy_forms-1.3.2-py2.7.egg', '/usr/local/lib/python27.zip', '/usr/local/lib/python2.7', '/usr/local/lib/python2.7/plat-freebsd10', '/usr/local/lib/python2.7/lib-tk', '/usr/local/lib/python2.7/lib-old', '/usr/local/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/site-packages', '/usr/local/lib/python2.7/site-packages/gtk-2.0', '/usr/local/lib/python2.7/site-packages', '/usr/local/nav/etc/python']
Server time: Tue, 19 Dec 2017 13:10:36 +0100
What am I missing?
--Ingeborg