Forums: users (Thread #7667)

updateがうまくいかない (2005-05-15 13:31 by Anonymous #14175)

bsfilter release 1.0.7 revision 1.68を使用しております。
windows98のMS-DOSプロンプトにてspamとcleanの学習を行ってから
bsfilter --update
を実行したところ、以下のようなエラーが出てしまいます。
bsfilter:688:in `flock': Invalid argument - c:\bsfilter/C.clean.sdbm.lock (Errno
::EINVAL)
from bsfilter:688:in `open'
from bsfilter:3080:in `run'
from bsfilter:3079:in `each'
from bsfilter:3079:in `run'
from bsfilter:3145

(c:\bsfilterはBSFILTERHOMEディレクトリです)

それに起因しているのかは不明ですが、pop proxyとしても動作してくれません。
設定をしてメイラから受信しようとすると、
メイルサーバに接続しログインまではいくのですが、ファイル受信時に
pop exception caught pop.example.com 110 10110
"Invalid argument - c:/bsfilter/ja.prob.sdbm.lock"
といったエラーを出してしまいます。


素人の質問で申し訳ございませんが、なにか改善点をお教え願えたら、と思います。
よろしくお願いいたします。

Reply to #14175×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

RE: updateがうまくいかない (2005-05-15 16:14 by nabeken #14181)

tar.gz内の.exeを使用してますでしょうか?
それとも生のscriptを、別にインストールしたrubyインタープリタから使用してますでしょうか?

http://nabeken.tdiary.net/20050514.html#p01
のflock出来ないバグに当たっている気がしますが、
同梱の.exeは対処済みのつもりでいます。
Reply to #14175

Reply to #14181×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

RE: updateがうまくいかない (2005-05-20 01:35 by nabeken #14275)

Windows9X系の制限のようです。
revision 1.69で対応したつもりですが、チェックはしてません。
http://nabeken.tdiary.net/20050517.html#p02
Reply to #14181

Reply to #14275×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

RE: updateがうまくいかない (2005-05-15 19:42 by Anonymous #14188)

bsfilter.exeを使用しました。
ついでにCYGWINでRuby1.8.2を入れてscriptを動かしてみましたが、こちらも同様のエラーが吐き出されてしまいます。
Reply to #14175

Reply to #14188×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

RE: updateがうまくいかない (2005-05-15 23:54 by nabeken #14193)

Windows XPですが、cygwin, mswin32とも、こちらでは問題なく動いています。

bash-2.05b$ /usr/bin/ruby -v
ruby 1.8.2 (2004-12-25) [i386-cygwin]
bash-2.05b$ /usr/bin/ruby bsfilter --update
bash-2.05b$ c:/ruby/bin/ruby -v
ruby 1.8.2 (2005-02-01) [i386-mswin32]
bash-2.05b$ c:/ruby/bin/ruby bsfilter --update

1.0.6に入っている.exeではどうでしょうか?
Reply to #14188

Reply to #14193×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

RE: updateがうまくいかない (2005-05-16 08:40 by Anonymous #14194)

C:\bsfilter>bsfilter --revision
bsfilter release 1.0.6 revision 1.67

C:\bsfilter>bsfilter --update
bsfilter:686:in `flock': Invalid argument - c:\bsfilter/C.clean.sdbm.lock (Errno
::EINVAL)
from bsfilter:686:in `open'
from bsfilter:3001:in `run'
from bsfilter:3000:in `each'
from bsfilter:3000:in `run'
from bsfilter:3066

同様にエラーが吐き出されてしまいます.

Windows2000で試したところ,何の問題もなく動きました.
OSの問題かもしれません.もう少し調査してみます.

どうも失礼しました.
Reply to #14193

Reply to #14194×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

RE: updateがうまくいかない (2005-05-17 00:32 by nabeken #14219)

rubyかbsfilterのバグだと思われるのですが、使えるWindows98がないため、確認できません。すみません。
1.8.2特有の問題ではないのですね。
Reply to #14194

Reply to #14219×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login