|
Sorry all for that, I have found the reason why
that was happening.
Just had to remove the 'CRYPT_KEY =' out of my
crypt_key file, so the file only had the key in it. All working.
Except I now have another problem. I can send
through e-mail and get it put onto the greylist, and get confirmed email put in
the pending-email (holding pen).
However, when I try to put an entry in .tmda/filter
file, eg:
from-cdb ~/.tmda/blacklist.cdb bounce
I keep getting the following error in my
logfile.debug:
Uncaught Python 2.1.3 exception (Thu Jan 30
07:41:09 2003
UTC):
--------------------------------------------------------------- Traceback (most recent call last): File "/usr/bin/tmda-filter", line 50, in ? execfile(os.path.join(execdir, 'tmda-rfilter')) File "/usr/bin/tmda-rfilter", line 717, in ? main() File "/usr/bin/tmda-rfilter", line 658, in main message_size) File "./TMDA/FilterParser.py", line 530, in firstmatch File "./TMDA/FilterParser.py", line 405, in __search_cdb ImportError: No module named cdb Its saying there is no module named cdb, but I do
have python-cdb installed.
I have tried running command line python,
eg:
>>> import cdb
and runs ok.
something like:
>>> import cdb2
obviously returns the "ImportError: No module named
cdb2" because cdb2 is false.
I'm not very knowledgeable when it comes to python,
but of what I can see, its a problem with either namespace, paths, or something
similar, as in the logfile.debug, its saying ./TMDA/FilterParser.py is trying to
"import cdb" but it can't.
Any suggestions?
Thanks in advance for your help.
Cheers.
Mike
|
- TypeError: Non-hexadecimal digit found Mike Usmar
- Re: TypeError: Non-hexadecimal digit found Mike Usmar
- Re: TypeError: Non-hexadecimal digit found Jason R. Mastaler
- Re: TypeError: Non-hexadecimal digit found Mike Usmar
