| Summary: | mail-filter/spambayes-1.1_alpha6: requires dev-python/lockfile | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | David Bitseff <dbitsef> |
| Component: | Current packages | Assignee: | Thomas Raschbacher <lordvan> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | python |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
Fixed. |
Spambayes 1.1_alpha6 will not run properly without dev-python/lockfile installed. Reproducible: Always Steps to Reproduce: 1. Install spambayes-1.1_alpha6 2. Run /usr/bin/sb_mboxtrain.py --help 3. Notice the python import error. Actual Results: >/usr/bin/sb_mboxtrain.py --help Attempted to set [Storage] persistent_use_database with invalid value True (<type 'str'>) Traceback (most recent call last): File "/usr/bin/sb_mboxtrain.py-2.6", line 47, in <module> from spambayes import hammie, storage, mboxutils File "/usr/lib64/python2.6/site-packages/spambayes/hammie.py", line 6, in <module> from spambayes import storage File "/usr/lib64/python2.6/site-packages/spambayes/storage.py", line 62, in <module> from spambayes import classifier File "/usr/lib64/python2.6/site-packages/spambayes/classifier.py", line 60, in <module> from spambayes.safepickle import pickle_read, pickle_write File "/usr/lib64/python2.6/site-packages/spambayes/safepickle.py", line 7, in <module> import lockfile ImportError: No module named lockfile Expected Results: The help/options info is displayed. Adding dev-python/lockfile to RDEPEND in the ebuild and reinstalling solved the problem.