Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 314735 - mail-filter/spambayes-1.1_alpha6: requires dev-python/lockfile
Summary: mail-filter/spambayes-1.1_alpha6: requires dev-python/lockfile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Thomas Raschbacher
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-11 19:43 UTC by David Bitseff
Modified: 2010-04-15 03:50 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Bitseff 2010-04-11 19:43:11 UTC
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.
Comment 1 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-04-15 03:50:47 UTC
Fixed.