Hi,
I am working on LINC switch with ryu. The program l2_switch_v1_3.py most of
the time works for me and some times it is giving me the following error.
May I know the reason for that.

Error in the datapath 0000001143e49276 from ('155.98.39.112', 33333)
hub: uncaught exception: Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/ryu/lib/hub.py", line 48, in
_launch
    func(*args, **kwargs)
  File
"/usr/local/lib/python2.7/dist-packages/ryu/controller/controller.py", line
312, in datapath_connection_factory
    datapath.serve()
  File
"/usr/local/lib/python2.7/dist-packages/ryu/controller/controller.py", line
232, in serve
    self._recv_loop()
  File
"/usr/local/lib/python2.7/dist-packages/ryu/controller/controller.py", line
97, in deactivate
    method(self)
  File
"/usr/local/lib/python2.7/dist-packages/ryu/controller/controller.py", line
165, in _recv_loop
    version, msg_type, msg_len, xid, buf)
  File
"/usr/local/lib/python2.7/dist-packages/ryu/ofproto/ofproto_parser.py",
line 54, in msg
    return msg_parser(datapath, version, msg_type, msg_len, xid, buf)
  File
"/usr/local/lib/python2.7/dist-packages/ryu/ofproto/ofproto_v1_3_parser.py",
line 51, in msg_parser
    return parser(datapath, version, msg_type, msg_len, xid, buf)
  File
"/usr/local/lib/python2.7/dist-packages/ryu/ofproto/ofproto_v1_3_parser.py",
line 2009, in parser
    ofproto_v1_3.OFP_MATCH_SIZE)
  File
"/usr/local/lib/python2.7/dist-packages/ryu/ofproto/ofproto_v1_3_parser.py",
line 1133, in parser
    k, uv = ofproto_v1_3.oxm_to_user(n, value, mask)
  File "/usr/local/lib/python2.7/dist-packages/ryu/ofproto/oxm_fields.py",
line 165, in to_user
    value = t.to_user(v)
  File "/usr/local/lib/python2.7/dist-packages/ryu/ofproto/oxm_fields.py",
line 46, in to_user
    i = i * 256 + ord(c)
TypeError: ord() expected a character, but string of length 0 found


-- 
Thanks.

Gandhimathi Velusamy
Graduate Research Assistant
College of Technology
University of Houston
gvelus...@uh.edu
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to