ryu.controller.dispatcher is deleted.

I have a very rough look at it.
Deleting line 122-128 of l2_switch_v1_3.py would make it work again.

thanks,

On Tue, Mar 26, 2013 at 02:17:24PM -0700, Shivaram Mysore wrote:
> Hello,
> 
> The Ryu learning switch app that we had written
> https://github.com/FlowForwarding/LINC-Switch/tree/master/scripts/ryu
> 
>  was working and now it is not.  What has changed?
> 
> ip-10-0-1-215:/usr/local/src/ryu #  pip install dispatcher
> Downloading/unpacking dispatcher
>   Downloading dispatcher-1.0.tar.gz
>   Running setup.py egg_info for package dispatcher
>     
> Installing collected packages: dispatcher
>   Running setup.py install for dispatcher
>     
> Successfully installed dispatcher
> Cleaning up...
> ip-10-0-1-215:/usr/local/src/ryu # bin/ryu-manager --verbose /usr/local/src/
> LINC-Switch/scripts/ryu/l2_switch_v1_3.py 
> loading app ryu/app/l2_switch_v1_3.py
> Traceback (most recent call last):
>   File "bin/ryu-manager", line 87, in <module>
>     main()
>   File "bin/ryu-manager", line 65, in main
>     app_mgr.load_apps(app_lists)
>   File "/usr/local/lib/python2.7/site-packages/ryu-1.7-py2.7.egg/ryu/base/
> app_manager.py", line 160, in load_apps
>     cls = self.load_app(app_cls_name)
>   File "/usr/local/lib/python2.7/site-packages/ryu-1.7-py2.7.egg/ryu/base/
> app_manager.py", line 142, in load_app
>     mod = utils.import_module(name)
>   File 
> "/usr/local/lib/python2.7/site-packages/ryu-1.7-py2.7.egg/ryu/utils.py",
> line 35, in import_module
>     __import__(name)
>   File "/usr/local/src/ryu/ryu/app/l2_switch_v1_3.py", line 9, in <module>
>     from ryu.controller.dispatcher import EventQueueCreate
> ImportError: No module named dispatcher
> ip-10-0-1-215:/usr/local/src/ryu # 
> 
> 
> Thanks
> 
> /Shivaram
> 

> ------------------------------------------------------------------------------
> Own the Future-Intel&reg; Level Up Game Demo Contest 2013
> Rise to greatness in Intel's independent game demo contest.
> Compete for recognition, cash, and the chance to get your game 
> on Steam. $5K grand prize plus 10 genre and skill prizes. 
> Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
> _______________________________________________
> Ryu-devel mailing list
> Ryu-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ryu-devel


-- 
yamahata

------------------------------------------------------------------------------
Own the Future-Intel&reg; Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to