Bug 906144 - bsfilter not available in Fedora / claws-mail-plugins-bsfilter traceback
Summary: bsfilter not available in Fedora / claws-mail-plugins-bsfilter traceback
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: claws-mail-plugins
Version: 18
Hardware: All
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Andreas Bierfert
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:fc6555cd4467d35e08401cf3901...
Depends On: 906453
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-31 00:32 UTC by Janek
Modified: 2013-05-22 18:03 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-05-22 18:03:55 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (814 bytes, text/plain)
2013-01-31 00:32 UTC, Janek
no flags Details
File: core_backtrace (416 bytes, text/plain)
2013-01-31 00:32 UTC, Janek
no flags Details
File: environ (1.91 KB, text/plain)
2013-01-31 00:32 UTC, Janek
no flags Details

Description Janek 2013-01-31 00:32:30 UTC
Description of problem:
I run claws-mail with bsfilter plugin with command sb_filter.py

Version-Release number of selected component:
spambayes-1.1-0.5.a6.fc18

Additional info:
cmdline:        /usr/bin/python /usr/bin/sb_filter.py --homedir /home/janek/.claws-mail /home/janek/.claws-mail/tempfolder/processing/1
dso_list:       python-libs-2.7.3-13.fc18.i686
executable:     /usr/bin/sb_filter.py
kernel:         3.7.4-204.fc18.i686
uid:            1000

Truncated backtrace:
getopt.py:169:long_has_args:GetoptError: option --homedir not recognized

Traceback (most recent call last):
  File "/usr/bin/sb_filter.py", line 277, in <module>
    main()
  File "/usr/bin/sb_filter.py", line 216, in main
    ['help', 'version', 'examples', 'option='])
  File "/usr/lib/python2.7/getopt.py", line 88, in getopt
    opts, args = do_longs(opts, args[0][2:], longopts, args[1:])
  File "/usr/lib/python2.7/getopt.py", line 152, in do_longs
    has_arg, opt = long_has_args(opt, longopts)
  File "/usr/lib/python2.7/getopt.py", line 169, in long_has_args
    raise GetoptError('option --%s not recognized' % opt, opt)
GetoptError: option --homedir not recognized

Local variables in innermost frame:
possibilities: []
opt: 'homedir'
longopts: ['help', 'version', 'examples', 'option=']
o: 'option='

Comment 1 Janek 2013-01-31 00:32:33 UTC
Created attachment 690674 [details]
File: backtrace

Comment 2 Janek 2013-01-31 00:32:35 UTC
Created attachment 690675 [details]
File: core_backtrace

Comment 3 Janek 2013-01-31 00:32:37 UTC
Created attachment 690676 [details]
File: environ

Comment 4 Paul Howarth 2013-01-31 08:49:42 UTC
The claws-mail-plugin-bsfilter is intended to work with the "bsfilter" tool (http://en.sourceforge.jp/projects/bsfilter/), not "spambayes". The "bsfilter" tool is not as far as I can tell included in Fedora yet; I think it should be, and that claws-mail-plugin-bsfilter should require it. Otherwise the plugin is pretty useless.

Comment 5 Michael Schwendt 2013-01-31 11:05:20 UTC
Indeed.

The plug-in description says "You will need Bsfilter installed locally", so reconfiguring it and pointing it at a different script is also a user mistake. Claws Mail intercepts a traceback when trying to run the missing "bsfilter".

[...]

This is an opportunity for somebody to contribute a bsfilter package to Fedora:
http://lists.fedoraproject.org/pipermail/devel/2013-January/177694.html

Comment 6 Michael Schwendt 2013-03-07 20:04:47 UTC
So, meanwhile, bsfilter packages are available in updates-testing for F18 and F17 (and Rawhide, of course):
https://admin.fedoraproject.org/updates/search/bsfilter


Note You need to log in before you can comment on or make changes to this bug.