<?xml version="1.0" ?>
<rss version="2.0">
<channel>
<title>Tickets List - bsfilter on SourceForge.JP</title>
<link>http://en.sourceforge.jp/projects/bsfilter/ticket/?rss_count=100&amp;component%5B%5D=0&amp;component_mode%5B%5D=eq&amp;status%5B%5D=1</link>
<description>Tickets List of bsfilter Project

List of the following conditions.
 * &quot;Component&quot; Equal: (None)
 * &quot;Status&quot; Equal: Open

</description>
<language>ja-JP</language><pubDate>Mon, 10 Dec 2012 15:34:45 +0900</pubDate>
<lastBuildDate>Mon, 10 Dec 2012 15:34:45 +0900</lastBuildDate>
<item>
<title>undefined method `force_encoding' - bsfilter Ticket #30295 on SourceForge.JP</title>
<link>http://en.sourceforge.jp/ticket/browse.php?group_id=1011&amp;tid=30295</link>
<guid isPermLink="true">http://en.sourceforge.jp/ticket/browse.php?group_id=1011&amp;tid=30295#1011:30295:1355121285</guid>
<pubDate>Mon, 10 Dec 2012 15:34:45 +0900</pubDate>
<description>&lt;h2 class=&quot;summary&quot;&gt;undefined method `force_encoding'&lt;/h2&gt;&lt;div class=&quot;date&quot;&gt;&lt;p title=&quot;2012-12-10 15:34&quot;&gt;Open Date: 2012-12-10 15:34&lt;/p&gt;&lt;p title=&quot;2012-12-10 15:34&quot;&gt;Last Update: 2012-12-10 15:34&lt;/p&gt;&lt;/div&gt;&lt;table class=&quot;properties&quot;&gt;&lt;tr&gt;&lt;th id=&quot;h_reporter&quot;&gt;Reporter:&lt;/th&gt;&lt;td headers=&quot;h_reporter&quot;&gt;(Anonymous)&lt;/td&gt;&lt;th id=&quot;h_owner&quot;&gt;Owner:&lt;/th&gt;&lt;td headers=&quot;h_owner&quot;&gt;(None)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th id=&quot;h_priority&quot;&gt;Priority:&lt;/th&gt;&lt;td headers=&quot;h_priority&quot;&gt;5 - Medium&lt;/td&gt;&lt;th id=&quot;h_milestone&quot;&gt;MileStone:&lt;/th&gt;&lt;td headers=&quot;h_milestone&quot;&gt;(None)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th id=&quot;h_type&quot;&gt;Type:&lt;/th&gt;&lt;td headers=&quot;h_type&quot;&gt;&lt;a href=&quot;/ticket/types.php?group_id=1011#tickettype_3875&quot;&gt;Bugs&lt;/a&gt;&lt;/td&gt;&lt;th id=&quot;h_severity&quot;&gt;Severity:&lt;/th&gt;&lt;td headers=&quot;h_severity&quot;&gt;5 - Medium&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th id=&quot;h_component&quot;&gt;Component:&lt;/th&gt;&lt;td headers=&quot;h_component&quot;&gt;(None)&lt;/td&gt;&lt;th id=&quot;h_status&quot;&gt;Status:&lt;/th&gt;&lt;td headers=&quot;h_keywords&quot;&gt;Open&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th id=&quot;h_resolution&quot;&gt;Resolution&lt;/th&gt;&lt;td headers=&quot;h_resolution&quot;&gt;None&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;h3&gt;Details&lt;/h3&gt;&lt;div class=&quot;wiki-compact&quot;&gt;&lt;p&gt;~# /usr/local/bin/bsfilter -h
/usr/local/bin/bsfilter:1064: undefined method &lt;tt&gt;force_encoding' for &amp;quot;[\260\241-\364\244]+&amp;quot;:String (&lt;a href=&quot;http://en.sourceforge.jp/projects/bsfilter/wiki/NoMethodError&quot;&gt;NoMethodError&lt;/a&gt;)
となる
&lt;/tt&gt;&lt;/p&gt;&lt;p&gt;~# ruby -v
ruby 1.8.7 (2010-01-10 patchlevel 249) &lt;a href=&quot;http://en.sourceforge.jp/projects/bsfilter/wiki/i486-linux&quot;&gt;i486-linux&lt;/a&gt;
&lt;/p&gt;&lt;/div&gt;&lt;h3&gt;Last Update of this Ticket&lt;/h3&gt;&lt;h3&gt;2012-12-10 15:34 Update by: None&lt;/h3&gt;&lt;ul class=&quot;changes&quot;&gt;&lt;li&gt;New Ticket &quot;undefined method `force_encoding'&quot; created&lt;/li&gt;&lt;/ul&gt;</description>
</item>
<item>
<title>def usage: Exceeds column 80 - bsfilter Ticket #10986 on SourceForge.JP</title>
<link>http://en.sourceforge.jp/ticket/browse.php?group_id=1011&amp;tid=10986</link>
<guid isPermLink="true">http://en.sourceforge.jp/ticket/browse.php?group_id=1011&amp;tid=10986#1011:10986:1190187114</guid>
<pubDate>Wed, 19 Sep 2007 16:31:54 +0900</pubDate>
<description>&lt;h2 class=&quot;summary&quot;&gt;def usage: Exceeds column 80&lt;/h2&gt;&lt;div class=&quot;date&quot;&gt;&lt;p title=&quot;2007-09-19 16:31&quot;&gt;Open Date: 2007-09-19 16:31&lt;/p&gt;&lt;p title=&quot;2007-09-19 16:31&quot;&gt;Last Update: 2007-09-19 16:31&lt;/p&gt;&lt;/div&gt;&lt;table class=&quot;properties&quot;&gt;&lt;tr&gt;&lt;th id=&quot;h_reporter&quot;&gt;Reporter:&lt;/th&gt;&lt;td headers=&quot;h_reporter&quot;&gt;(Anonymous)&lt;/td&gt;&lt;th id=&quot;h_owner&quot;&gt;Owner:&lt;/th&gt;&lt;td headers=&quot;h_owner&quot;&gt;(None)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th id=&quot;h_priority&quot;&gt;Priority:&lt;/th&gt;&lt;td headers=&quot;h_priority&quot;&gt;5 - Medium&lt;/td&gt;&lt;th id=&quot;h_milestone&quot;&gt;MileStone:&lt;/th&gt;&lt;td headers=&quot;h_milestone&quot;&gt;(None)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th id=&quot;h_type&quot;&gt;Type:&lt;/th&gt;&lt;td headers=&quot;h_type&quot;&gt;&lt;a href=&quot;/ticket/types.php?group_id=1011#tickettype_3875&quot;&gt;Bugs&lt;/a&gt;&lt;/td&gt;&lt;th id=&quot;h_severity&quot;&gt;Severity:&lt;/th&gt;&lt;td headers=&quot;h_severity&quot;&gt;5 - Medium&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th id=&quot;h_component&quot;&gt;Component:&lt;/th&gt;&lt;td headers=&quot;h_component&quot;&gt;(None)&lt;/td&gt;&lt;th id=&quot;h_status&quot;&gt;Status:&lt;/th&gt;&lt;td headers=&quot;h_keywords&quot;&gt;Open&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th id=&quot;h_resolution&quot;&gt;Resolution&lt;/th&gt;&lt;td headers=&quot;h_resolution&quot;&gt;None&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;h3&gt;Details&lt;/h3&gt;There are very long lines in 'def usage' like below.&lt;br /&gt;
Please make all lines fit on 80 column for easy &lt;br /&gt;
reasing on tty.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION&lt;br /&gt;
        filter spam.&lt;br /&gt;
        If commands are specified, bsfilter is in &lt;br /&gt;
maintenance mode, otherwise it&lt;br /&gt;
 is in filtering mode.&lt;br /&gt;
        If bsfilter does not find spam in filtering &lt;br /&gt;
mode, exit status is 1.&lt;br /&gt;
        If bsfilter runs with --pipe option or finds &lt;br /&gt;
spam, exit status is 0.&lt;br /&gt;
&lt;h3&gt;Last Update of this Ticket&lt;/h3&gt;No History</description>
</item>
<item>
<title>QDBMからの正常な例外を捕獲していない - bsfilter Ticket #9398 on SourceForge.JP</title>
<link>http://en.sourceforge.jp/ticket/browse.php?group_id=1011&amp;tid=9398</link>
<guid isPermLink="true">http://en.sourceforge.jp/ticket/browse.php?group_id=1011&amp;tid=9398#1011:9398:1163000333</guid>
<pubDate>Thu, 09 Nov 2006 00:38:53 +0900</pubDate>
<description>&lt;h2 class=&quot;summary&quot;&gt;QDBMからの正常な例外を捕獲していない&lt;/h2&gt;&lt;div class=&quot;date&quot;&gt;&lt;p title=&quot;2006-11-09 00:38&quot;&gt;Open Date: 2006-11-09 00:38&lt;/p&gt;&lt;p title=&quot;2006-11-09 00:38&quot;&gt;Last Update: 2006-11-09 00:38&lt;/p&gt;&lt;/div&gt;&lt;table class=&quot;properties&quot;&gt;&lt;tr&gt;&lt;th id=&quot;h_reporter&quot;&gt;Reporter:&lt;/th&gt;&lt;td headers=&quot;h_reporter&quot;&gt;(Anonymous)&lt;/td&gt;&lt;th id=&quot;h_owner&quot;&gt;Owner:&lt;/th&gt;&lt;td headers=&quot;h_owner&quot;&gt;(None)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th id=&quot;h_priority&quot;&gt;Priority:&lt;/th&gt;&lt;td headers=&quot;h_priority&quot;&gt;5 - Medium&lt;/td&gt;&lt;th id=&quot;h_milestone&quot;&gt;MileStone:&lt;/th&gt;&lt;td headers=&quot;h_milestone&quot;&gt;(None)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th id=&quot;h_type&quot;&gt;Type:&lt;/th&gt;&lt;td headers=&quot;h_type&quot;&gt;&lt;a href=&quot;/ticket/types.php?group_id=1011#tickettype_3875&quot;&gt;Bugs&lt;/a&gt;&lt;/td&gt;&lt;th id=&quot;h_severity&quot;&gt;Severity:&lt;/th&gt;&lt;td headers=&quot;h_severity&quot;&gt;5 - Medium&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th id=&quot;h_component&quot;&gt;Component:&lt;/th&gt;&lt;td headers=&quot;h_component&quot;&gt;(None)&lt;/td&gt;&lt;th id=&quot;h_status&quot;&gt;Status:&lt;/th&gt;&lt;td headers=&quot;h_keywords&quot;&gt;Open&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th id=&quot;h_resolution&quot;&gt;Resolution&lt;/th&gt;&lt;td headers=&quot;h_resolution&quot;&gt;None&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;h3&gt;Details&lt;/h3&gt;FreeBSD-5-stableでbsfilter-1.0.15とruby18-qdbm-1.8.71の&lt;br /&gt;
組合わせで、&lt;br /&gt;
&lt;br /&gt;
  bsfilter --add-spam --sub-clean --update message&lt;br /&gt;
&lt;br /&gt;
をやると&lt;br /&gt;
&lt;br /&gt;
/usr/local/lib/ruby/site_ruby/1.8/depot.rb:184:in&lt;br /&gt;
`mod_out': no item found (DepotError_ENOITEM)&lt;br /&gt;
        from&lt;br /&gt;
/usr/local/lib/ruby/site_ruby/1.8/depot.rb:184:in `delete'&lt;br /&gt;
        from /usr/local/bin/bsfilter:696:in `sub_scalar'&lt;br /&gt;
        from /usr/local/bin/bsfilter:1766:in&lt;br /&gt;
`update_probability'&lt;br /&gt;
        from /usr/local/bin/bsfilter:1759:in `each'&lt;br /&gt;
        from /usr/local/bin/bsfilter:1759:in&lt;br /&gt;
`update_probability'&lt;br /&gt;
        from /usr/local/bin/bsfilter:3348:in `run'&lt;br /&gt;
        from /usr/local/bin/bsfilter:3345:in `each'&lt;br /&gt;
        from /usr/local/bin/bsfilter:3345:in `run'&lt;br /&gt;
        from /usr/local/bin/bsfilter:3412&lt;br /&gt;
&lt;br /&gt;
となることがあります。&lt;br /&gt;
&lt;br /&gt;
これはclass TokenQDBMのなかでsub_scalarが&lt;br /&gt;
QDBMからくる例外DepotError_ENOITEMを&lt;br /&gt;
捕獲していないためではないかと思っているのですが&lt;br /&gt;
いかがでしょうか?&lt;br /&gt;
&lt;br /&gt;
つまり、valueyやadd_hashと同様にこの例外を捕獲する&lt;br /&gt;
必要があるのではないでしょうか?&lt;br /&gt;
&lt;br /&gt;
sub_hashにも同様の問題があるのではないかと思われます。&lt;h3&gt;Last Update of this Ticket&lt;/h3&gt;No History</description>
</item>
</channel>
</rss>
