Hi, On 2014年12月28日 01:20, Ahmed Shafik wrote: > Dear Team , > > I'm a student who is trying to work on RYU , I used pydev and pycharm > and I get these errors when writing the code > > > PyDev : Undefined variable from import: EventOFPSwitchFeatures > > PyCharm : Cannot find reference 'EventOFPPacketin' in 'ofp_event.py' > less... <#inspection/PyUnresolvedReferencesInspection>(Ctrl+F1 Alt+T) > This inspection detects names that should resolve but don't. Due to dynamic > dispatch and duck typing, this is possible in a limited but useful number of > cases. Top-level and class-level items are supported better than instance > items. > > > > These errors are very annoying to me and I couldn't find a proper way to > solve them , can you help me?! >
Variable of "Event*" are dynamically generated by ofp_event.py after startup of Ryu. https://github.com/osrg/ryu/blob/master/ryu/controller/ofp_event.py#L36 I think that error message of the PyCharm/PyDev may be ignored. Just for your information, please refer to the following page if you want to know how to use Ryu. http://osrg.github.io/ryu-book/en/html/ > > Best Regards > Ahmed Shafik > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming! The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net > > > > _______________________________________________ > Ryu-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ryu-devel > ------------------------------------------------------------------------------ Dive into the World of Parallel Programming! The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net _______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
