Bug 530966 - sa-learn --[backup|restore|clean] don't work
Summary: sa-learn --[backup|restore|clean] don't work
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: spamassassin
Version: 12
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Warren Togami
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-10-26 10:25 UTC by Ales Zelinka
Modified: 2010-02-11 18:20 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
: 530968 (view as bug list)
Environment:
Last Closed: 2010-02-11 18:20:07 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
debug log of sa-lean --backup (10.72 KB, text/plain)
2009-10-26 10:26 UTC, Ales Zelinka
no flags Details

Description Ales Zelinka 2009-10-26 10:25:06 UTC
Description of problem:
I can mark ham/spam manually with sa-learn --[spam|ham] and dump the database with --dump, but running sa-lean --backup --restore or --clear ends with error:

 
# sa-learn --backup
Can't call method "backup_database" on an undefined value at /usr/bin/sa-learn line 295.

# sa-learn --restore some-file
Can't call method "restore_database" on an undefined value at /usr/bin/sa-learn line 316.

# sa-learn --clear
Can't call method "clear_database" on an undefined value at /usr/bin/sa-learn line 282.


Version-Release number of selected component (if applicable):
spamassassin-3.3.0-0.18.svn816416.fc12.x86_64

Comment 1 Ales Zelinka 2009-10-26 10:26:42 UTC
Created attachment 366084 [details]
debug log of sa-lean --backup

Comment 2 Warren Togami 2009-10-28 01:38:30 UTC
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6228
Upstream bug

Comment 3 Bug Zapper 2009-11-16 14:20:31 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 12 development cycle.
Changing version to '12'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 4 Warren Togami 2010-02-11 18:20:07 UTC
This was fixed in spamassassin-3.3.0.


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