Here is a traceback I got:
------
Error in the datapath 1 from ('10.109.242.118', 65457)
Traceback (most recent call last):
File "build/bdist.macosx-10.8-intel/egg/gevent/greenlet.py", line 390, in
run
result = self._run(*self.args, **self.kwargs)
File
"/Library/Python/2.7/site-packages/ryu-1.7-py2.7.egg/ryu/controller/controller.py",
line 308, in datapath_connection_factory
datapath.serve()
File
"/Library/Python/2.7/site-packages/ryu-1.7-py2.7.egg/ryu/controller/controller.py",
line 228, in serve
self._recv_loop()
File
"/Library/Python/2.7/site-packages/ryu-1.7-py2.7.egg/ryu/controller/controller.py",
line 97, in deactivate
method(self)
File
"/Library/Python/2.7/site-packages/ryu-1.7-py2.7.egg/ryu/controller/controller.py",
line 170, in _recv_loop
version, msg_type, msg_len, xid, buf)
File
"/Library/Python/2.7/site-packages/ryu-1.7-py2.7.egg/ryu/ofproto/ofproto_parser.py",
line 50, in msg
return msg_parser(datapath, version, msg_type, msg_len, xid, buf)
File
"/Library/Python/2.7/site-packages/ryu-1.7-py2.7.egg/ryu/ofproto/ofproto_v1_0_parser.py",
line 53, in msg_parser
return parser(datapath, version, msg_type, msg_len, xid, buf)
File
"/Library/Python/2.7/site-packages/ryu-1.7-py2.7.egg/ryu/ofproto/ofproto_v1_0_parser.py",
line 1769, in parser
datapath, version, msg_type, msg_len, xid, buf)
File
"/Library/Python/2.7/site-packages/ryu-1.7-py2.7.egg/ryu/ofproto/ofproto_v1_0_parser.py",
line 1860, in parser_stats
ofproto_v1_0.OFP_VENDOR_STATS_MSG_SIZE)
File
"/Library/Python/2.7/site-packages/ryu-1.7-py2.7.egg/ryu/ofproto/ofproto_v1_0_parser.py",
line 1911, in parser
datapath, version, msg_type, msg_len, xid, buf, offset)
File
"/Library/Python/2.7/site-packages/ryu-1.7-py2.7.egg/ryu/ofproto/ofproto_v1_0_parser.py",
line 1897, in parser_stats
msg.body = msg.parser_stats_body(msg.buf, msg.msg_len, offset)
File
"/Library/Python/2.7/site-packages/ryu-1.7-py2.7.egg/ryu/ofproto/ofproto_v1_0_parser.py",
line 1884, in parser_stats_body
entry = body_cls.parser(buf, offset)
File
"/Library/Python/2.7/site-packages/ryu-1.7-py2.7.egg/ryu/ofproto/ofproto_v1_0_parser.py",
line 1064, in parser
field = nx_match.MFField.parser(buf, offset)
File
"/Library/Python/2.7/site-packages/ryu-1.7-py2.7.egg/ryu/ofproto/nx_match.py",
line 415, in parser
field = cls_.field_parser(header, buf, offset)
File
"/Library/Python/2.7/site-packages/ryu-1.7-py2.7.egg/ryu/ofproto/nx_match.py",
line 433, in field_parser
offset + 4)
ValueError: too many values to unpack
> ------
The error is raised from:
(value,) = struct.unpack_from(cls.pack_str, buf, offset + 4)
where cls.pack_str is '8H' as you suggested.
--
Best regards,
Can Zhang
------------------------------------------------------------------------------
Own the Future-Intel® Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game
on Steam. $5K grand prize plus 10 genre and skill prizes.
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel