[Filterproxy-devel] Re: filterproxy bugs
Brought to you by:
mcelrath
From: Bob M. <mce...@dr...> - 2002-07-11 18:56:58
|
klas jarnefelt [bl...@dj...] wrote: > so i installed filterproxy and all dependencies from debian sid, tried > it out on a few pages and it seemed to be working. then i tried adding > some filtering rules for ultimatemetal.com, but they wouldn't work. > using the "edit filtering for this page" bookmark only showed garbage > for source, and checking the process list i had a defunct filterproxy > session that wouldn't die until i killed the other one. (note that > filtering other pages than um.com still worked while the process was > defunct) Defunct processes are normal. They are not a problem. They are reaped the next time filterproxy sees any activity. (i.e. you load another page) I initially had written filterproxy to reap these processes immediately, but due to the non-re-entrancy of signal handlers in linux and perl, this could cause crashes. So it's defunct processes or crashes. ;) The 'edit filtering' bookmark seems to work fine for me on this site. (for the URL http://www.ultimatemetal.com/forum/) I'm using FilterProxy 0.30. If you get garbage, it may be because the Compress module isn't enabled. Chances are ultimatemetal.com is sending gzipped pages, and if Compress isn't enabled then FP can't decompress them. This also means that the pages won't be filtered! This is a common problem. I've updated some of the docs to make this more clear. > so i went back to reading your page, found some info about modules from > cpan and figured installing those might solve my problem, but after > installing a load of modules and their dependencies filterproxy wouldn't > start at all: >=20 > Can't locate object method "new" via package "HTML::Mason::Parser" > (perhaps you forgot to load "HTML::Mason::Parser"?) at > /usr/sbin/FilterProxy line 196. Ack! They've made Mason incompatible with filterproxy! Well the simple solution is to fall back to the older version. Hopefully the debian dependencies are correct and the debian package libhtml-mason-perl will work. If not, report a bug against debian. The package maintainer is ch...@de.... > so i added use HTML::Mason::Parser; right after use HTML::Mason; and get > this instead: >=20 > Starting FilterProxy: The Parser module is no longer a part of > HTML::Mason. Please see the Lexer and Compiler modules, its > replacements. >=20 > i hope this is useful. i'd really like to get it working again - > filterproxy is the only software i've found so far that does what i > want. In the next version I'll update FP to work with the new Mason. Thanks for pointing this out. Cheers, -- Bob Bob McElrath (rsm...@st...)=20 Univ. of Wisconsin at Madison, Department of Physics |