Bug 749490

Summary: [abrt] spambayes-1.1-0.3.a6.fc15: __init__.py:364:hashopen:DBNoSuchFileError: (2, 'No such file or directory')
Product: [Fedora] Fedora Reporter: Matthieu Pupat <redhat_bugzilla>
Component: spambayesAssignee: Christopher Meng <i>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: paul
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:b23f75fb54166cf4ef2130b3003938a593ba6291
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-18 13:38:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Matthieu Pupat 2011-10-27 08:21:20 UTC
abrt version: 2.0.3
architecture:   x86_64
cmdline:        /usr/bin/python /usr/bin/sb_mboxtrain.py -q -d /home/mail/matthieu/.hammie.db -n -r -s /home/mail/matthieu/Maildir/.MissedSpam
comment:        Ran spambayes in a configuration where hammie.db file provided in the arguments does not exist
component:      spambayes
executable:     /usr/bin/sb_mboxtrain.py
kernel:         2.6.40.6-0.fc15.x86_64
os_release:     Fedora release 15 (Lovelock)
package:        spambayes-1.1-0.3.a6.fc15
reason:         __init__.py:364:hashopen:DBNoSuchFileError: (2, 'No such file or directory')
time:           Fri Oct  7 12:30:01 2011
uid:            500
username:       matthieu

backtrace:
:__init__.py:364:hashopen:DBNoSuchFileError: (2, 'No such file or directory')
:
:Traceback (most recent call last):
:  File "/usr/bin/sb_mboxtrain.py", line 349, in <module>
:    main()
:  File "/usr/bin/sb_mboxtrain.py", line 328, in main
:    h = hammie.open(pck, usedb, "c")
:  File "/usr/lib/python2.7/site-packages/spambayes/hammie.py", line 272, in open
:    return Hammie(storage.open_storage(filename, useDB, mode), mode)
:  File "/usr/lib/python2.7/site-packages/spambayes/storage.py", line 998, in open_storage
:    return klass(data_source_name, mode)
:  File "/usr/lib/python2.7/site-packages/spambayes/storage.py", line 154, in __init__
:    self.load()
:  File "/usr/lib/python2.7/site-packages/spambayes/storage.py", line 180, in load
:    self.dbm = dbmstorage.open(self.db_name, self.mode)
:  File "/usr/lib/python2.7/site-packages/spambayes/dbmstorage.py", line 70, in open
:    return f(db_name, mode)
:  File "/usr/lib/python2.7/site-packages/spambayes/dbmstorage.py", line 40, in open_best
:    return f(*args)
:  File "/usr/lib/python2.7/site-packages/spambayes/dbmstorage.py", line 20, in open_dbhash
:    return bsddb.hashopen(*args)
:  File "/usr/lib64/python2.7/bsddb/__init__.py", line 364, in hashopen
:    d.open(file, db.DB_HASH, flags, mode)
:DBNoSuchFileError: (2, 'No such file or directory')
:
:Local variables in innermost frame:
:lorder: None
:e: <DBEnv object at 0x2161390>
:d: <DB object at 0x2090db0>
:flag: 'c'
:ffactor: None
:pgsize: None
:flags: 17
:mode: 438
:file: '/home/mail/matthieu/.hammie.db'
:cachesize: None
:nelem: None
:hflags: 0

Comment 1 Matthieu Pupat 2011-11-02 20:16:40 UTC
Package: spambayes-1.1-0.3.a6.fc15
Architecture: x86_64
OS Release: Fedora release 15 (Lovelock)

Comment
-----
Run spambayes with a non-existing folder as parameter

Comment 2 Matthieu Pupat 2011-11-22 15:07:49 UTC
Package: spambayes-1.1-0.3.a6.fc15
Architecture: x86_64
OS Release: Fedora release 15 (Lovelock)

Comment
-----
Ran
/usr/bin/sb_mboxtrain.py -q -d $MAIL_DIRECTORY/.hammie.db -n -r -s $MAIL_DIRECTORY/Maildir/.MissedSpam

where $MAIL_DIRECTORY was not existing because the disk where it is was missing from the system

Comment 3 Fedora End Of Life 2012-08-06 20:03:57 UTC
This message is a notice that Fedora 15 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 15. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained.  At this time, all open bugs with a Fedora 'version'
of '15' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this 
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen 
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we were unable to fix it before Fedora 15 reached end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" (top right of this page) and open it against that 
version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 4 Fedora End Of Life 2012-08-06 20:03:58 UTC
This message is a notice that Fedora 15 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 15. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained.  At this time, all open bugs with a Fedora 'version'
of '15' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this 
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen 
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we were unable to fix it before Fedora 15 reached end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" (top right of this page) and open it against that 
version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 5 Paul Howarth 2012-08-08 09:48:08 UTC
Still not fixed.

Comment 6 Matthieu Pupat 2012-09-03 09:42:45 UTC
*** Bug 755980 has been marked as a duplicate of this bug. ***

Comment 7 Matthieu Pupat 2012-09-04 20:20:46 UTC
Run spambayes pointing to non-existent .hammie.db file 

Package: spambayes-1.1-0.4.a6.fc17
OS Release: Fedora release 17 (Beefy Miracle)

Comment 8 Fedora End Of Life 2013-04-03 19:37:26 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle.
Changing version to '19'.

(As we did not run this process for some time, it could affect also pre-Fedora 19 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.)

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

Comment 9 Fedora Admin XMLRPC Client 2014-06-10 12:48:13 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 10 Fedora End Of Life 2015-01-09 21:53:35 UTC
This message is a notice that Fedora 19 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 19. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained. Approximately 4 (four) weeks from now this bug will
be closed as EOL if it remains open with a Fedora 'version' of '19'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 19 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 11 Fedora End Of Life 2015-02-18 13:38:18 UTC
Fedora 19 changed to end-of-life (EOL) status on 2015-01-06. Fedora 19 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.