help for using warc-tools in my application to extract records from warc files

81 views
Skip to first unread message

Ning

unread,
Nov 9, 2009, 10:09:44 AM11/9/09
to warc-tools
Hi All,

I'd like to incorporate warc-tools into my own programs to read
records from warc files.
Unfortunately, I'm only familiar with coding under windows
environment.
How can I use this tool within Visual Studio? Is it possible?
Just add the files under lib directory into my project?
Or I have to compile them with GCC then use it ?

Looking forward to your replies.

Thanks a lot!

Ning

unread,
Nov 10, 2009, 12:43:06 AM11/10/09
to warc-tools
Hi All,

I have successfully generated the python wrapper on Cygwin according
to the instructions.
However, the wrapper is only valid on Cygwin environment but fails
when I attempt use it by using windows cmd.

The error message is:
Traceback (most recent call last):
File "wgetbloc.py", line 33, in <module>
import warc
File "../../lib/private/plugin/python/warc.py", line 25, in <module>
_warc = swig_import_helper()
File "../../lib/private/plugin/python/warc.py", line 17, in
swig_import_helper

import _warc
ImportError: No module named _warc


Is it possible for me to incorporate this tool into my window running
program?
I can not change the whole system to run on Linux.

Thanks a lot.

Mark Middleton

unread,
Nov 17, 2009, 3:30:41 AM11/17/09
to warc-...@googlegroups.com
It looks like none of us have any experience developing in windows. Sorry, unable to help. You should read around some general windows-porting projects.

Mark
Reply all
Reply to author
Forward
0 new messages