Bug 530966

Summary: sa-learn --[backup|restore|clean] don't work
Product: [Fedora] Fedora Reporter: Ales Zelinka <azelinka>
Component: spamassassinAssignee: Warren Togami <wtogami>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: kevin, wtogami
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 530968 (view as bug list) Environment:
Last Closed: 2010-02-11 18:20:07 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
debug log of sa-lean --backup none

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.