Code Monkey home page Code Monkey logo

ios-xe-ops's People

Contributors

cober2019 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ios-xe-ops's Issues

jinja2.exceptions.UndefinedError

Hi,
Raising above issue when for first time try to adding a device.

jinja2.exceptions.UndefinedError

jinja2.exceptions.UndefinedError: 'str object' has no attribute 'items'
Traceback (most recent call last)

File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 2464, in __call__

return self.wsgi_app(environ, start_response)

File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 2450, in wsgi_app

response = self.handle_exception(e)

File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1867, in handle_exception

reraise(exc_type, exc_value, tb)

File "/usr/local/lib/python3.8/dist-packages/flask/_compat.py", line 39, in reraise

raise value

File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 2447, in wsgi_app

response = self.full_dispatch_request()

File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1952, in full_dispatch_request

rv = self.handle_user_exception(e)

File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1821, in handle_user_exception

reraise(exc_type, exc_value, tb)

File "/usr/local/lib/python3.8/dist-packages/flask/_compat.py", line 39, in reraise

raise value

File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1950, in full_dispatch_request

rv = self.dispatch_request()

File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1936, in dispatch_request

return self.view_functions[rule.endpoint](**req.view_args)

File "/RoutingGUI/app/base/routes.py", line 126, in get_routing

return render_template('routing.html', interfaces=get_interfaces[0],

File "/usr/local/lib/python3.8/dist-packages/flask/templating.py", line 137, in render_template

return _render(

File "/usr/local/lib/python3.8/dist-packages/flask/templating.py", line 120, in _render

rv = template.render(context)

File "/usr/local/lib/python3.8/dist-packages/jinja2/environment.py", line 1090, in render

self.environment.handle_exception()

File "/usr/local/lib/python3.8/dist-packages/jinja2/environment.py", line 832, in handle_exception

reraise(*rewrite_traceback_stack(source=source))

File "/usr/local/lib/python3.8/dist-packages/jinja2/_compat.py", line 28, in reraise

raise value.with_traceback(tb)

File "/RoutingGUI/app/home/templates/routing.html", line 1, in top-level template code

{% extends 'layouts/base.html' %}

File "/RoutingGUI/app/base/templates/layouts/base.html", line 48, in top-level template code

{% block content %}{% endblock content %}

File "/RoutingGUI/app/home/templates/routing.html", line 218, in block "content"

{% for k, v in ospf.items() %}

jinja2.exceptions.UndefinedError: 'str object' has no attribute 'items'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.