Your message dated Thu, 02 Jan 2014 16:56:27 +0900 (JST)
with message-id <[email protected]>
and subject line Re: [DRE-maint] Bug#733887: bsfilter: I got error "undefined 
method `force_encoding'" when learned as spam
has caused the Debian Bug report #733887,
regarding bsfilter: I got error "undefined method `force_encoding'" when 
learned as spam
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
733887: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=733887
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: bsfilter
Version: 1:1.0.19-1
Severity: important

Dear Maintainer,

I typed "ls" (learn-spam) on Mew 6.5, I got following error:

Learned as spam: /usr/bin/bsfilter:1059: undefined method `force_encoding' for 
"[\260\241-\364\244]+":String (NoMethodError)

When "lm" (mark-spam), I got no error.

My .mew.el has copy of elisp from
/usr/share/doc/bsfilter/examples/mua/mew6.4/mew.el.

My system use "ruby" as Ruby 1.8.

$ ruby -v
ruby 1.8.7 (2012-02-08 patchlevel 358) [x86_64-linux]
$ LANG= update-alternatives --display ruby
ruby - manual mode
  link currently points to /usr/bin/ruby1.8
/usr/bin/ruby1.8 - priority 50
  slave erb: /usr/bin/erb1.8
  slave erb.1.gz: /usr/share/man/man1/erb1.8.1.gz
  slave irb: /usr/bin/irb1.8
  slave irb.1.gz: /usr/share/man/man1/irb1.8.1.gz
  slave rdoc: /usr/bin/rdoc1.8
  slave rdoc.1.gz: /usr/share/man/man1/rdoc1.8.1.gz
  slave ri: /usr/bin/ri1.8
  slave ri.1.gz: /usr/share/man/man1/ri1.8.1.gz
  slave ruby.1.gz: /usr/share/man/man1/ruby1.8.1.gz
  slave testrb: /usr/bin/testrb1.8
  slave testrb.1.gz: /usr/share/man/man1/testrb1.8.1.gz
/usr/bin/ruby1.9.1 - priority 51
  slave erb: /usr/bin/erb1.9.1
  slave erb.1.gz: /usr/share/man/man1/erb1.9.1.1.gz
  slave irb: /usr/bin/irb1.9.1
  slave irb.1.gz: /usr/share/man/man1/irb1.9.1.1.gz
  slave rdoc: /usr/bin/rdoc1.9.1
  slave rdoc.1.gz: /usr/share/man/man1/rdoc1.9.1.1.gz
  slave ri: /usr/bin/ri1.9.1
  slave ri.1.gz: /usr/share/man/man1/ri1.9.1.1.gz
  slave ruby.1.gz: /usr/share/man/man1/ruby1.9.1.1.gz
  slave testrb: /usr/bin/testrb1.9.1
  slave testrb.1.gz: /usr/share/man/man1/testrb1.9.1.1.gz
Current 'best' version is '/usr/bin/ruby1.9.1'.
$ 

Thank you.

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (1001, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.11-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages bsfilter depends on:
ii  ruby                          1:1.9.3
ii  ruby1.8 [ruby-interpreter]    1.8.7.358-9
ii  ruby1.9.1 [ruby-interpreter]  1.9.3.484-1

bsfilter recommends no packages.

Versions of packages bsfilter suggests:
ii  ruby-kakasi  2002.09.28-3
pn  ruby-qdbm    <none>

-- debconf-show failed

--- End Message ---
--- Begin Message ---
From: Christian Hofstaedtler <[email protected]>
Subject: Re: [DRE-maint] Bug#733887: bsfilter: I got error "undefined method 
`force_encoding'" when learned as spam
Date: Thu, 2 Jan 2014 00:12:03 +0100
>> Learned as spam: /usr/bin/bsfilter:1059: undefined method `force_encoding' 
>> for "[\260\241-\364\244]+":String (NoMethodError)

>> My system use "ruby" as Ruby 1.8.
> 
> This is indeed a backwards compatibility problem.
> Ruby 1.8 is no longer supported, please switch to 1.9 or 2.0.

I did'nt notice in the "Ruby-Version" field in control header.

I switch ruby1.9.1, then bsfilter work fine.
Thank you very much, you've been very helpful.

--- End Message ---
_______________________________________________
Pkg-ruby-extras-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers

Reply via email to