Hi Andrew,
I tried to install the latest pcap2har on another server of mine and I
get the following error.
This time I am using your pcap2har and not Libo's Fork.
Traceback (most recent call last):
File "./main.py", line 48, in <module>
session = httpsession.HttpSession(dispatcher)
File "/var/www/pcap2har/httpsession.py", line 131, in __init__
self.flows.append(http.Flow(flow))
File "/var/www/pcap2har/http/flow.py", line 23, in __init__
success, requests, responses = parse_streams(tcpflow.fwd,
tcpflow.rev)
File "/var/www/pcap2har/http/flow.py", line 116, in parse_streams
requests = gather_messages(Request, request_stream)
File "/var/www/pcap2har/http/flow.py", line 89, in gather_messages
msg = MessageClass(tcpdir, pointer)
File "/var/www/pcap2har/http/request.py", line 16, in __init__
http.Message.__init__(self, tcpdir, pointer, dpkt_http.Request)
File "/var/www/pcap2har/http/message.py", line 29, in __init__
self.ts_start = tcpdir.seq_final_arrival(self.seq_start)
File "/var/www/pcap2har/tcp/direction.py", line 159, in
seq_final_arrival
return self.final_arrival_data.find_le(seq_num)[1]
File "/var/www/pcap2har/sortedcollection.py", line 163, in find_le
raise ValueError('find_le: No items found')
ValueError: find_le: No items found
This is using your sample HTTP, I wonder what is missing, where do I
need to set my PYTHON PATH?
Thanks,
Dekel
On Mar 22, 4:27 am, Andrew Fleenor <
andrewf...@gmail.com> wrote:
> I think I fixed it. Check out the latest version.
>
> (By the way, main.py is the file you want to run)
>