when i upgrade from 1.9 to 2.2, I cant use swithes.py
I have delelte /usr/local/lib/python2.7/dist-packages/ryu
/usr/local/lib/python2.7/dist-packages/ryu-1.8-egg-info
/usr/local/lib/python2.7/dist-packages/ryu-1.9-egg-info

then reinstall ryu 2.2 from the source ,then I get the following error

How can I resolve it ?
Thanks

ryu-manager --verbose --observe-links ryu/topology/switches.py
loading app ryu/topology/switches.py
Traceback (most recent call last):
  File "/usr/local/bin/ryu-manager", line 90, in <module>
    main()
  File "/usr/local/bin/ryu-manager", line 68, in main
    app_mgr.load_apps(app_lists)
  File "/usr/local/lib/python2.7/dist-packages/ryu/base/app_manager.py",
line 171, in load_apps
    cls = self.load_app(app_cls_name)
  File "/usr/local/lib/python2.7/dist-packages/ryu/base/app_manager.py",
line 153, in load_app
    mod = utils.import_module(name)
  File "/usr/local/lib/python2.7/dist-packages/ryu/utils.py", line 50, in
import_module
    __import__(name)
  File "/home/holyn/ryu/ryu/topology/switches.py", line 52, in <module>
    help='link discovery: explicitly drop lldp packet in')
  File "/usr/local/lib/python2.7/dist-packages/oslo/config/cfg.py", line
1125, in __inner
    return f(self, *args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/oslo/config/cfg.py", line
1279, in register_cli_opts
    self.register_cli_opt(opt, group, clear_cache=False)
  File "/usr/local/lib/python2.7/dist-packages/oslo/config/cfg.py", line
1125, in __inner
    return f(self, *args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/oslo/config/cfg.py", line
1271, in register_cli_opt
    raise ArgsAlreadyParsedError("cannot register CLI option")
oslo.config.cfg.ArgsAlreadyParsedError: arguments already parsed: cannot
register CLI option
------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to