I had downloaded ryu 3.6ova image, and do some necessary action according the 
direction on openflow tutorial.
include :
time sudo apt-get install python-eventlet python-routes python-webob 
python-paramiko
git pull
so i'm sure my ryu enviroment should be OK.
 
then i start the ryu controller
PYTHONPATH=. ./bin/ryu-manager ryu/app/simple_switch.py
and start mininet
sudo mn --topo single,3 --mac --switch ovsk --controller remote
till now , everything seems fine, and i can set up flows in ovs.
 
but when i want to use topology view, i met some problem,
i use the command 
PYTHONPATH=. ./bin/ryu run --observe-links ryu/app/gui_topology/gui_topology.py
but it seems not work well.
please see the dump info:
loading app ryu/app/gui_topology/gui_topology.py
Traceback (most recent call last):
  File "./bin/ryu", line 20, in <module>
    main()
  File "/home/ryu/ryu/ryu/cmd/ryu_base.py", line 75, in main
    subcmd.run(base_conf.subcommand_args)
  File "/home/ryu/ryu/ryu/cmd/ryu_base.py", line 58, in run
    self.entry(args=args, prog=prog)
  File "/home/ryu/ryu/ryu/cmd/manager.py", line 78, in main
    app_mgr.load_apps(app_lists)
  File "/home/ryu/ryu/ryu/base/app_manager.py", line 385, in load_apps
    cls = self.load_app(app_cls_name)
  File "/home/ryu/ryu/ryu/base/app_manager.py", line 361, in load_app
    mod = utils.import_module(name)
  File "/home/ryu/ryu/ryu/utils.py", line 86, in import_module
    __import__(name)
  File "/home/ryu/ryu/ryu/app/gui_topology/gui_topology.py", line 31, in 
<module>
    from webob.static import DirectoryApp
ImportError: No module named static
 
would you please tell me how to solve it, thanks a lot
 
 
 
------------------------------------------------------------------------------
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to