Hi,

I am experiencing an runtime exception with Ryu, when i entered this REST 
request:

curl http://0.0.0.0:8080/stats/flow/272744406898180

The log is as below:

(16470) accepted ('127.0.0.1', 46669)
Error in the datapath 0000f80f417cd604 from ('10.1.10.199', 56049)
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 295, in datapath_connection_factory
    datapath.serve()
  File "/usr/local/lib/python2.7/dist-packages/ryu/controller/controller.py", 
line 215, in serve
    self._recv_loop()
  File "/usr/local/lib/python2.7/dist-packages/ryu/controller/controller.py", 
line 93, in deactivate
    method(self)
  File "/usr/local/lib/python2.7/dist-packages/ryu/controller/controller.py", 
line 147, in _recv_loop
    version, msg_type, msg_len, xid, buf)
  File "/usr/local/lib/python2.7/dist-packages/ryu/ofproto/ofproto_parser.py", 
line 62, in msg
    version, msg_type, msg_len, xid, utils.bytearray_to_hex(buf))
  File "/usr/local/lib/python2.7/dist-packages/ryu/utils.py", line 103, in 
bytearray_to_hex
    return ' '.join(hex(ord(byte)) for byte in data)
  File "/usr/local/lib/python2.7/dist-packages/ryu/utils.py", line 103, in 
<genexpr>
    return ' '.join(hex(ord(byte)) for byte in data)
TypeError: ord() expected string of length 1, but int found


Any idea what is wrong or any advice how to fix it will be very appreciated.


Thanks,
Peter
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to