Article View: news.software.nntp
Article #87736Re: New version of PyClean
From: Julien ÉLIE
Date: Sun, 04 Jun 2017 20:32
Date: Sun, 04 Jun 2017 20:32
43 lines
2779 bytes
2779 bytes
Hi Steve,
> To install the update, please download the Python filter from
> Github: https://github.com/crooks/PyClean
> Overwrite INN's
> bin/filter/filter_innd.py with pyclean.py. Configure as desired and
> then reload the filter.
Thanks for the update!
I've just downloaded the new version and am facing the following error
after reloading the filter.
Is there something to do besides updating filter_innd.py?
Traceback (most recent call last):
File "/home/news/bin/filter/filter_innd.py", line 220, in __init__
self.pyfilter = Filter()
File "/home/news/bin/filter/filter_innd.py", line 515, in __init__
threshold=config.getint('emp', 'lphn_threshold'),
File "/usr/lib/python2.7/ConfigParser.py", line 359, in getint
return self._get(section, int, option)
File "/usr/lib/python2.7/ConfigParser.py", line 356, in _get
return conv(self.get(section, option))
File "/usr/lib/python2.7/ConfigParser.py", line 340, in get
raise NoOptionError(option, section)
NoOptionError: No option 'lphn_threshold' in section: 'emp'
> * Avoid some false positives in binary filters
> The binary filters were matching files containing very long numbers,
> spanning multiple lines. They also matched against signature content.
> This change adds conditions to prevent these false positives. Thanks to
> Julian Élie for reporting this issue.
Greatly appreciated.
--
Julien ÉLIE
« Avez-vous remarqué qu'à table les mets que l'on vous sert vous
mettent les mots à la bouche ? » (Raymond Devos)
Technical Details
Message-ID:
<oh1qod$ld6$1@news.trigofacile.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.(19219).mbox.7z!not-for-mailReferences:
<slrnoj8gg9.6h1.steve@fleegle.mixmin.net>Show Full Headers
Complete Article Headers
Message-ID: <oh1qod$ld6$1@news.trigofacile.com> Subject: Re: New version of PyClean Date: Sun, 4 Jun 2017 22:32:13 +0200 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <slrnoj8gg9.6h1.steve@fleegle.mixmin.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.(19219).mbox.7z!not-for-mail Newsgroups: news.software.nntp Organization: TrigoFACILE -- http://www.trigofacile.com/ Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Sun, 4 Jun 2017 20:32:13 -0000 (UTC) Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="2a01cb0800a77500d45bfca6dbcc6a12.ipv6.abo.wanadoo.fr:2a01:cb08:a7:7500:d45b:fca6:dbcc:6a12"; logging-data="21926"; mail-complaints-to="abuse@trigofacile.com" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 In-Reply-To: <slrnoj8gg9.6h1.steve@fleegle.mixmin.net> X-Received-Body-CRC: 2390074845 X-Received-Bytes: 2792