Error loading Topology

77 views
Skip to first unread message

dinesha.r...@gmail.com

unread,
Sep 5, 2013, 11:16:34 PM9/5/13
to auton...@googlegroups.com
Hi,

I'm trying to setup ANK on my Mac OSX(10.8) for the first time, already have Python 2.7 installed and AutoNetKit(5.17). Tried loading one of the sample topologies(simple.graphml) attached and keep getting the following error. Also tried creating a new topology in yEd and loading without success, is there anything else that needs to be configured/activated prior to this step?
Thanks, Dinesha 

ANK output trace:

$ autonetkit -f simple.graphml 
INFO AutoNetkit 0.5.17
INFO Unable to connect to visualisation server http://127.0.0.1:8000/publish
INFO Unable to connect to visualisation server http://127.0.0.1:8000/publish
INFO Allocating v4 Infrastructure IPs
INFO Allocating v4 Primary Host loopback IPs
INFO Routing disabled, not configuring OSPF
INFO Routing disabled, not configuring EIGRP
INFO Routing disabled, not configuring EIGRP
INFO Routing disabled, not configuring BGP
INFO Unable to connect to visualisation server http://127.0.0.1:8000/publish
INFO All IPv4 tests passed.
INFO All validation tests passed.
INFO Compile for netkit on localhost
INFO Compiling Netkit for localhost
INFO Unable to connect to visualisation server http://127.0.0.1:8000/publish
INFO Rendering Network
Traceback (most recent call last):
  File "/usr/local/bin/autonetkit", line 9, in <module>
    load_entry_point('autonetkit==0.5.17', 'console_scripts', 'autonetkit')()
  File "/usr/local/lib/python2.7/site-packages/autonetkit/console_script.py", line 410, in console_entry
    main(args)
  File "/usr/local/lib/python2.7/site-packages/autonetkit/console_script.py", line 201, in main
    manage_network(input_string, timestamp, build_options=build_options, grid = options.grid)
  File "/usr/local/lib/python2.7/site-packages/autonetkit/console_script.py", line 70, in manage_network
    render.render(nidb)
  File "/usr/local/lib/python2.7/site-packages/autonetkit/render.py", line 192, in render
    render_single(nidb, folder_cache)
  File "/usr/local/lib/python2.7/site-packages/autonetkit/render.py", line 203, in render_single
    render_node(node, folder_cache)
  File "/usr/local/lib/python2.7/site-packages/autonetkit/render.py", line 144, in render_node
    date = date,
  File "/usr/local/lib/python2.7/site-packages/mako/template.py", line 443, in render
    return runtime._render(self, self.callable_, args, data)
  File "/usr/local/lib/python2.7/site-packages/mako/runtime.py", line 783, in _render
    **_kwargs_for_callable(callable_, data))
  File "/usr/local/lib/python2.7/site-packages/mako/runtime.py", line 815, in _render_context
    _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
  File "/usr/local/lib/python2.7/site-packages/mako/runtime.py", line 841, in _exec_template
    callable_(context, *args, **kwargs)
  File "_usr_local_lib_python2_7_site_packages_autonetkit_templates_quagga_etc_zebra_zebra_conf_mako", line 33, in render_body
TypeError: 'NoneType' object is not iterable
simple.graphml

Simon Knight

unread,
Sep 5, 2013, 11:57:34 PM9/5/13
to auton...@googlegroups.com
Hi Dinesha,

This was an issue with ANK. I've fixed it up. If you try
sudo pip install autonetkit --update

then it should grab autonetkit-0.5.21

thanks
Simon
> --
> You received this message because you are subscribed to the Google Groups
> "AutoNetkit" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to autonetkit+...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.

dinesha.r...@gmail.com

unread,
Sep 6, 2013, 2:43:13 AM9/6/13
to auton...@googlegroups.com
Thanks Simon, its working now.

Simon Knight

unread,
Sep 6, 2013, 7:22:13 AM9/6/13
to auton...@googlegroups.com
Great :)

- Simon

Sent from a mobile device.
Reply all
Reply to author
Forward
0 new messages