jianxiangxiong / pcaphar

Automatically exported from code.google.com/p/pcaphar
0 stars 0 forks source link

Error exporting a pcap file to har file #24

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hello,

I want convert a pcap file in a har file using pcap2har project.

Running the following command:

"python ./main.py dns_requests.pcap dns_requests.har"

I am getting an error:

ImportError: No module named resource

I attach the details of the problem.

Please, can you provide possible solutions for this case.

Thanks in advance
Regards

Original issue reported on code.google.com by cfboav...@gmail.com on 18 Feb 2013 at 1:29

Attachments:

GoogleCodeExporter commented 9 years ago
If you are using pcapperf, and find a issue, please provide steps to reproduce 
it.

If you find issue about pcap2har, please find a bug report on 
https://github.com/andrewf/pcap2har

Thanks.

Original comment by ls...@google.com on 4 Mar 2013 at 6:20

GoogleCodeExporter commented 9 years ago
Are you using pcap2har in Windows? Python module "resource" is a Linux only 
module.

Original comment by xiongji...@gmail.com on 14 Nov 2014 at 2:57