[scoop] plucker-build doesn't like the arguments passed to it (WinNT)
Brought to you by:
jmason
From: Randy O. <ror...@bi...> - 2001-11-28 19:28:44
|
I've just downloaded sitescooper today, and I'm trying to get it working with plucker (which I've been using happily for quite some time). In the sitescooper directory: > perl sitescooper.pl -plucker -site site_samples\linux\debian_weekly_news.site Here's the output: ===== Reading configuration from "D:\Program Files\sitescooper-3.1.2\sitescooper.cf". Using site choices from "D:\Program Files\sitescooper-3.1.2\tmp\site_choices.txt ". Restricting to sites: site_samples\linux\debian_weekly_news.site Checking for availability of the "diff.exe" command... SITE START: now scooping site "site_samples\linux\debian_weekly_news.site". Reading: http://www.debian.org/News/weekly/current/issue/ 2001-Nov-28: Debian Weekly News: 1 stories downloaded (6.5 K uncompressed). Running: plucker-build -p"D:\Program Files\sitescooper-3.1.2\tmp\txt\20 01_11_28_Debian_Weekly_News" -s scoop Only options are allowed as arguments. Usage: D:\Program Files\Plucker\PyPlucker\Spider.py -c | -f <docname> [OPTIONAL S] -c, --update-cache: Write a traditional cache directory in the <plucker dir> -f <name prefix>, --doc-file=<name prefix> [... snippage ...] Note that you must specify either -f or -c. Error executing plucker-build. Error: 1 Press any key to continue... ===== I noticed that there wasn't a -f or -c option specified, so I poked around and found where the command is put together (Main.pm, convert_output(), line 2024) and added "-f test" before the -p option, and still got the same result. (The command echoed does include the "-f test" that I added, so my change was working.) The version of plucker-build.exe that I'm using is dated 14-08-01, size 77824 bytes, and should be from the current version (1.1.13) of Plucker. Any suggestions, or requests for further information? Also, while editing Main.pm I noticed (eventually) that there's a hard-coded Ctrl-M at line 1673, which confused my editor a bit (rather, my editor happily and silently removed it, which then confused perl). I changed that to \0x0d which seems to at least make perl happy, but I don't know anywhere near enough about perl to know if it will actually work in a regexp. (I've read chapter one and half of chapter two of the Llama book!) Thanks for any help! Randy Orrison |