Bug 652113

Summary: [abrt] spambayes-1.0.4-10.fc14: __init__.py:364:hashopen:DBNoSuchFileError: (2, 'No such file or directory')
Product: [Fedora] Fedora Reporter: Stefan Gies <stefan998>
Component: spambayesAssignee: Thomas Janssen <thomasj>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 14CC: bugzilla, IAGolem, jmj.buckley, kontakt, martin.nyhus, paul, redhat_bugzilla, rthomas166, thomasj
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Unspecified   
Whiteboard: abrt_hash:fcea0b53
Fixed In Version: spambayes-1.1-0.2.a6.fc14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-02-09 20:20:55 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
File: backtrace none

Description Stefan Gies 2010-11-11 01:48:08 UTC
abrt version: 1.1.13
architecture: i686
component: spambayes
executable: /usr/bin/sb_filter.py
kernel: 2.6.35.6-48.fc14.i686
package: spambayes-1.0.4-10.fc14
reason: __init__.py:364:hashopen:DBNoSuchFileError: (2, 'No such file or directory')
release: Fedora release 14 (Laughlin)
time: 1289440068
uid: 500

backtrace
-----
__init__.py:364:hashopen:DBNoSuchFileError: (2, 'No such file or directory')

Traceback (most recent call last):
  File "/usr/bin/sb_filter.py", line 257, in <module>
    main()
  File "/usr/bin/sb_filter.py", line 248, in main
    action(msg)
  File "/usr/bin/sb_filter.py", line 179, in filter
    self.open('r')
  File "/usr/bin/sb_filter.py", line 163, in open
    self.h = hammie.open(self.dbname, self.usedb, self.mode)
  File "/usr/lib/python2.7/site-packages/spambayes/hammie.py", line 266, in open
    return Hammie(storage.open_storage(filename, useDB, mode))
  File "/usr/lib/python2.7/site-packages/spambayes/storage.py", line 707, in open_storage
    return klass(data_source_name, mode)
  File "/usr/lib/python2.7/site-packages/spambayes/storage.py", line 186, in __init__
    self.load()
  File "/usr/lib/python2.7/site-packages/spambayes/storage.py", line 211, in load
    self.dbm = dbmstorage.open(self.db_name, self.mode)
  File "/usr/lib/python2.7/site-packages/spambayes/dbmstorage.py", line 65, in open
    return f(db_name, mode)
  File "/usr/lib/python2.7/site-packages/spambayes/dbmstorage.py", line 38, 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/lib/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 0xb72d5c98>
d: <DB object at 0xb72cca20>
flag: 'r'
ffactor: None
pgsize: None
flags: 1040
mode: 438
file: '/home/stefan/.hammiedb'
cachesize: None
nelem: None
hflags: 0

How to reproduce
-----
1.Executing kdepim at startup of user-profile
2.
3.

Comment 1 Stefan Gies 2010-11-11 01:48:10 UTC
Created attachment 459600 [details]
File: backtrace

Comment 2 Stefan Gies 2010-11-12 08:35:47 UTC
Package: spambayes-1.0.4-10.fc14
Architecture: i686
OS Release: Fedora release 14 (Laughlin)


How to reproduce
-----
1.Executing kdepim at startup of user-profile
2.
3.

Comment 3 Stefan Gies 2010-11-20 13:40:26 UTC
Package: spambayes-1.0.4-10.fc14
Architecture: i686
OS Release: Fedora release 14 (Laughlin)


How to reproduce
-----
1.Executing akonadi and kdepim at startup of user-profile
2.
3.

Comment 4 malcores 2010-11-22 17:48:06 UTC
Package: spambayes-1.0.4-10.fc14
Architecture: x86_64
OS Release: Fedora release 14 (Laughlin)


Comment
-----
i just started a firefox

Comment 5 malcores 2010-11-22 23:53:21 UTC
Package: spambayes-1.0.4-10.fc14
Architecture: x86_64
OS Release: Fedora release 14 (Laughlin)


How to reproduce
-----
1. loaded new messages from the mailserver in kmail

Comment
-----
loaded new messages from the mailserver in kmail

Comment 6 Martin Nyhus 2010-12-02 12:28:36 UTC
Package: spambayes-1.0.4-10.fc14
Architecture: x86_64
OS Release: Fedora release 14 (Laughlin)


How to reproduce
-----
The crash happened as Kmail was filtering email (using spambayes)

Comment 7 Mohammed Arafa 2010-12-04 03:34:20 UTC
Package: spambayes-1.0.4-10.fc14
Architecture: x86_64
OS Release: Fedora release 14 (Laughlin)


How to reproduce
-----
1.
2.
3.
ran kmail

Comment
-----
run kmail

Comment 8 Stefan Gies 2010-12-08 22:17:35 UTC
Package: spambayes-1.0.4-10.fc14
Architecture: i686
OS Release: Fedora release 14 (Laughlin)


How to reproduce
-----
1.Executing akonadi and kdepim
2.
3.

Comment 9 Fedora Update System 2010-12-09 08:50:26 UTC
spambayes-1.1-0.1.a6.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/spambayes-1.1-0.1.a6.fc14

Comment 10 Fedora Update System 2010-12-09 21:58:12 UTC
spambayes-1.1-0.1.a6.fc14 has been pushed to the Fedora 14 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update spambayes'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/spambayes-1.1-0.1.a6.fc14

Comment 11 Mohammed Arafa 2010-12-10 02:58:48 UTC
hmm ran today's testing update 
abrt logged a new bug for this at #661942

Comment 12 Stefan Gies 2010-12-19 20:51:30 UTC
Package: spambayes-1.0.4-10.fc14
Architecture: i686
OS Release: Fedora release 14 (Laughlin)


How to reproduce
-----
1.Executing akonadi and kdepim
2.
3.

Comment 13 Joe Buckley 2010-12-21 05:48:11 UTC
Package: spambayes-1.0.4-10.fc14
Architecture: x86_64
OS Release: Fedora release 14 (Laughlin)


How to reproduce
-----
1. Unknown. I was configuring kmail
2.
3.

Comment 14 Stefan Gies 2010-12-28 09:58:12 UTC
Package: spambayes-1.0.4-10.fc14
Architecture: i686
OS Release: Fedora release 14 (Laughlin)


How to reproduce
-----
1.executing kdepim and aconadi
2.
3.

Comment 15 Stefan Gies 2010-12-29 06:03:45 UTC
Package: spambayes-1.0.4-10.fc14
Architecture: i686
OS Release: Fedora release 14 (Laughlin)


How to reproduce
-----
1.Executing kdepim
2.
3.

Comment 16 Bill Mauer 2011-01-08 13:44:58 UTC
Package: spambayes-1.0.4-10.fc14
Architecture: i686
OS Release: Fedora release 14 (Laughlin)


How to reproduce
-----
1.Startup Kmail
2.
3.

Comment 17 Stefan Gies 2011-01-18 03:00:05 UTC
Package: spambayes-1.0.4-10.fc14
Architecture: i686
OS Release: Fedora release 14 (Laughlin)


How to reproduce
-----
1.Executing kdepim and akonadi
2.
3.

Comment 18 Fedora Update System 2011-02-01 20:53:05 UTC
spambayes-1.1-0.2.a6.fc14 has been pushed to the Fedora 14 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update spambayes'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/spambayes-1.1-0.2.a6.fc14

Comment 19 Fedora Update System 2011-02-09 20:20:45 UTC
spambayes-1.1-0.2.a6.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 20 Matthieu Pupat 2011-04-03 00:23:12 UTC
This crash (or similar) just happend again with spambayes-1.1-0.2.a6.fc14


Called fetchmail with options

defaults protocol imap tracepolls mda "/usr/bin/procmail -d username" fetchlimit 20

which in turn called spambayes with options

/usr/bin/sb_filter.py -d /home/mail/$LOGNAME/.hammie.db

Comment 21 Paul Howarth 2011-04-03 09:10:00 UTC
It's possible that this crash is related to the update from spambayes 1.0 to 1.1; if you have an old hammie database (created using 1.0), it may be worth getting rid of it and let it create a new one and start training again.

Comment 22 Matthieu Pupat 2011-04-03 13:32:56 UTC
It just crashed again this morning befor I had the chance to read your message. I will remove the db and let you know.

Comment 23 Matthieu Pupat 2011-04-03 18:05:00 UTC
This still happens with a fresh db.