Dear Iwase,

First of all, I would like to thank you for your consideration.
It might bothers you, but let me explain the environment that I use then what I 
guess it is my problem.

I use windows 10  + virtualbox.
>>>
I configure virtual box as follow:
I select Linux type, version Ubuntu 64
then I set the  second adaptor (host- only Ethernet adapter\promiscuous mode: 
Allow All )
>>>
I tried mininet versions of 2.2.1 (32 bit), 2.2.1 (64 bit), 2.2.2 (64 bit), 
2.2.2 (32 bit) and 2.2.0
>>>
I use the next command to install OpenState-enabled softswitch and controller 
in only one shot!
bash -c "$(wget -O - http://openstate-sdn.org/install.sh)"
>>
and I also tried to install them separately form their Repositories :

OpenState softswitch https://github.com/OpenState-SDN/ofsoftswitch13

OpenState controller https://github.com/OpenState-SDN/ryu
>>>>>

Whatever, I think my problem it is in this lines:

from mininet.topo import Topo
File "build/bdist.linux-x86_64/egg/mininet/topo.py", line 14, in
File "build/bdist.linux-x86_64/egg/mininet/util.py", line 7, in
ImportError: cannot import name poll

when I use SSh to get in (build/bdist.linux-x86_64), I didn't find anything 
inside.
So I think I must firstly add the missing files then I could solve my solution.

I do not know how I can do that
please, If you have any advice, it would be appreciated 

I look forward to hearing you



-----Original Message-----
From: Iwase Yusuke [mailto:iwase.yusu...@gmail.com] 
Sent: Monday, April 10, 2017 3:44 AM
To: Soliman Awad Alshra´a Abdullah TU Ilmenau <abdullah.alsh...@tu-ilmenau.de>
Cc: ryu-devel@lists.sourceforge.net
Subject: Re: [Ryu-devel] ImportError: cannot import name poll

Hi,


On 2017年04月09日 21:22, Soliman Awad Alshra´a Abdullah TU Ilmenau wrote:
> 
>   Hi everyone,
> 
>   I am trying to launch https://github.com/OpenState-SDN/spider

SPIDER controller seems to be developed in the external project of Ryu-devel, 
So, I'm sorry if I don't know enough...


> 
> when I try to Launch SPIDER:
> 
> $ cd ~/spider/src
> 
> $ sudo ryu-manager SPIDER_ctrl_WEBAPP.py
> 
>  
> 
> I get
> 
> Traceback (most recent call last):
> File "/usr/local/bin/ryu-manager", line 9, in 
> load_entry_point('ryu==3.29', 'console_scripts', 'ryu-manager')() File 
> "/usr/local/lib/python2.7/dist-packages/ryu/cmd/manager.py", line 88, 
> in main
> app_mgr.load_apps(app_lists)
> File "/usr/local/lib/python2.7/dist-packages/ryu/base/app_manager.py", 
> line 401, in load_apps cls = self.load_app(app_cls_name) File 
> "/usr/local/lib/python2.7/dist-packages/ryu/base/app_manager.py", line 
> 378, in load_app mod = utils.import_module(name) File 
> "/usr/local/lib/python2.7/dist-packages/ryu/utils.py", line 91, in 
> import_module
> *import*(name)
> File "/home/mininet/spider/src/SPIDER_ctrl_WEBAPP.py", line 25, in 
> import SPIDER_ctrl File "/home/mininet/spider/src/SPIDER_ctrl.py", 
> line 30, in import SPIDER_parser File 
> "/home/mininet/spider/src/SPIDER_parser.py", line 33, in from 
> mininet.topo import Topo File 
> "build/bdist.linux-x86_64/egg/mininet/topo.py", line 14, in File 
> "build/bdist.linux-x86_64/egg/mininet/util.py", line 7, in

Hummm, ImportError seems to be raised at mininet (outside of Ryu).
Please confirm the version of your mininet matches for SPIDER controller.

Thanks,
Iwase


> ImportError: cannot import name poll
> 
> Plesae, how to handle with this situation
> 
> thanks in advance
> 
>  
> 
> 
> 
> ----------------------------------------------------------------------
> -------- 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
> 
------------------------------------------------------------------------------
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