Unable to create hammie.db. All sb_*.py give same error

johaBBa <[email protected]>
Newsgroups gmane.mail.spam.spambayes.general
Message-ID <[email protected]>
I'm moving my email server from a x86 system to a x86_64 system with 
better specs. I installed latest spambayes from source with no errors. 
When I try to create the initial hammie.db, I get the traceback below. All /usr/bin/sb_*.py scripts give the same error on the x86_64 system. I 
removed the ~/.hammie.db on my old x86 system; creating a new db on 
that system still works. Both x86 and x86_64 systems are fully updated. On the old x86 system I used spambayes-1.1a4. I installed spambayes-1.1a4 in the x86_64 system and I get the same error below.

Any assistance getting spambayes working on the x86_64 system would be greatly appreciated.



OS: CentOS 5.5 x86_64

Version: spambayes-1.1a6

Python: 2.4.3 (#1, Nov 11 2010, 13:30:19) 

Traceback



[user@host ~]$ /usr/bin/sb_filter.py -d /home/user/.hammie.db -n

Traceback (most recent call last):

  File "/usr/bin/sb_filter.py", line 83, in ?

    from spambayes import hammie, Options, mboxutils, storage

  File "/usr/lib/python2.4/site-packages/spambayes-1.1a6-py2.4.egg/spambayes/hammie.py", line 6, in ?

    from spambayes import storage

  File "/usr/lib/python2.4/site-packages/spambayes-1.1a6-py2.4.egg/spambayes/storage.py", line 62, in ?

    from spambayes import classifier

  File "/usr/lib/python2.4/site-packages/spambayes-1.1a6-py2.4.egg/spambayes/classifier.py", line 60, in ?

    from spambayes.safepickle import pickle_read, pickle_write

  File "/usr/lib/python2.4/site-packages/spambayes-1.1a6-py2.4.egg/spambayes/safepickle.py", line 7, in ?

    import lockfile

  File "build/bdist.linux-x86_64/egg/lockfile/__init__.py", line 279, in ?

  File "/usr/lib/python2.4/site-packages/lockfile-0.9.1-py2.4.egg/lockfile/linklockfile.py", line 6

    from . import (LockBase, LockFailed, NotLocked, NotMyLock, LockTimeout,

         ^

SyntaxError: invalid syntax

_______________________________________________
[email protected]
http://mail.python.org/mailman/listinfo/spambayes
Info/Unsubscribe: http://mail.python.org/mailman/listinfo/spambayes
Check the FAQ before asking: http://spambayes.sf.net/faq.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.