Thank you for the solution. Regards, Ishita Dasgupta
On Wed, Nov 20, 2019, 10:30 AM knet solutions <knetsolutio...@gmail.com> wrote: > Do, > > pip uninstall tinyrpc > pip install tinyrpc==0.8 > > > It will work. > > On Fri, Nov 15, 2019, 9:35 PM Ishita Dasgupta <ishita.dasgu...@gmail.com> > wrote: > >> Hi, >> >> I have been running a given ryu application without any issue until this >> week with the following configuration: >> *python 2.7, ryu 4.34 and other prerequisites including tinyrpc, >> oslo.config and six is also installed as per instructions on Getting >> started page (with latest upgrades).* >> *OS: Ubuntu 14.04.1 LTS (GNU/Linux 3.13.0-33-generic x86_64)* >> >> Absolutely no changes have been made to the RYU app in the past few >> weeks. However, starting this week *I have been receiving the following >> error *with running my app or *even with the simple l2 app as shown in >> RYU docs * >> >>> >>> root@sdn:/users/ishitadg/ryu# ryu-manager l2.py >>> Traceback (most recent call last): >>> File "/usr/local/bin/ryu-manager", line 9, in <module> >>> load_entry_point('ryu==4.34', 'console_scripts', 'ryu-manager')() >>> File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line >>> 561, in load_entry_point >>> File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line >>> 2631, in load_entry_point >>> File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line >>> 2291, in load >>> File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line >>> 2297, in resolve >>> File "/usr/local/lib/python2.7/dist-packages/ryu/cmd/manager.py", line >>> 33, in <module> >>> from ryu.app import wsgi >>> File "/usr/local/lib/python2.7/dist-packages/ryu/app/wsgi.py", line >>> 23, in <module> >>> from tinyrpc.server import RPCServer >>> File "/usr/local/lib/python2.7/dist-packages/tinyrpc/__init__.py", >>> line 4, in <module> >>> from .protocols import * >>> File >>> "/usr/local/lib/python2.7/dist-packages/tinyrpc/protocols/__init__.py", >>> line 15 >>> def __init__(self) -> None: >>> ^ >>> SyntaxError: invalid syntax >> >> >> Does anybody know if any upgrades could be causing this or has any idea >> why this might be happening? >> Any help would be appreciated. Please let me know if more information is >> needed from my end. >> >> Regards, >> Ishita Dasgupta >> _______________________________________________ >> Ryu-devel mailing list >> Ryu-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/ryu-devel >> >
_______________________________________________ Ryu-devel mailing list Ryu-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ryu-devel