Re: Issue 27 in dpkt: Exception OverflowError

15 views
Skip to first unread message

dp...@googlecode.com

unread,
Sep 30, 2010, 1:35:57 PM9/30/10
to dp...@googlegroups.com

Comment #9 on issue 27 by stefan.johansson: Exception OverflowError
http://code.google.com/p/dpkt/issues/detail?id=27

I have the same problem on my Windows XP machine. Running in cygwin solves
the problem. I also added some debug prints in pcap.py and it looks like
the file read function does not return enough bytes.

dp...@googlecode.com

unread,
Oct 13, 2010, 4:33:06 PM10/13/10
to dp...@googlegroups.com

Comment #10 on issue 27 by stefan.johansson: Exception OverflowError
http://code.google.com/p/dpkt/issues/detail?id=27

Opening the file in binary mode solved my problem.

dp...@googlecode.com

unread,
Aug 26, 2011, 7:08:24 AM8/26/11
to dp...@googlegroups.com

Comment #11 on issue 27 by jyo....@gmail.com: Exception OverflowError
http://code.google.com/p/dpkt/issues/detail?id=27

yeah...just open file in mode = 'rb'

dp...@googlecode.com

unread,
Jan 21, 2014, 4:34:40 AM1/21/14
to dp...@googlegroups.com

Comment #12 on issue 27 by ami...@gmail.com: Exception OverflowError
http://code.google.com/p/dpkt/issues/detail?id=27

Worked for me too. Thanks!

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

dp...@googlecode.com

unread,
Apr 22, 2014, 3:28:35 AM4/22/14
to dp...@googlegroups.com

Comment #14 on issue 27 by zlh6...@gmail.com: Exception OverflowError
http://code.google.com/p/dpkt/issues/detail?id=27

open file in mode 'rb'
solved my problem too, Thanks!

dp...@googlecode.com

unread,
Dec 24, 2014, 9:58:18 PM12/24/14
to dp...@googlegroups.com
Updates:
Status: WontFix
Owner: kba...@in2void.com

Comment #15 on issue 27 by kba...@in2void.com: Exception OverflowError
https://code.google.com/p/dpkt/issues/detail?id=27

On Windows, pcap files should be opened in binary mode (rb). Closing the
issue.
Reply all
Reply to author
Forward
0 new messages