Hello everyone,
    I met a strange thing today. I  downloaded Controller1.py and run the
cmd "ryu-manager --ofp-tcp-listen-port 6633 ofctl_rest.py Controller1.py"
was OK. However, after I modified the Controller.py and run the
cmd"ryu-manager --ofp-tcp-listen-port 6633 ofctl_rest.py Controller1.py"
again, it cannot run correctly. Here is the info.
loading app ofctl_rest.py
loading app Controller1.py
Traceback (most recent call last):
  File "/home/ryu/.local/bin/ryu-manager", line 11, in <module>
    sys.exit(main())
  File "/home/ryu/.local/lib/python2.7/site-packages/ryu/cmd/manager.py",
line 98, in main
    app_mgr.load_apps(app_lists)
  File
"/home/ryu/.local/lib/python2.7/site-packages/ryu/base/app_manager.py",
line 415, in load_apps
    cls = self.load_app(app_cls_name)
  File
"/home/ryu/.local/lib/python2.7/site-packages/ryu/base/app_manager.py",
line 392, in load_app
    mod = utils.import_module(name)
  File "/home/ryu/.local/lib/python2.7/site-packages/ryu/utils.py", line
104, in import_module
    return importlib.import_module(modname)
  File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
ImportError: No module named Controller1.py

I don't know why the Error happen, I just modify some algorithm.
I'm waitting for your answer and solution.
Thank you very much.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to