I use Gentoo. I installed it by changing the ebuild from 1.1.4 to 1.1..8 and running "emerge tmda". Gentoo pulls the source tarball and compiles it to install on the system. I'll rebuild it with a log and post a URL to it (http://blue-labs.org/tmda-emerge.log). It gets installed to /usr/*
I don't see the mime subdir, I am going to assume it didn't get installed as per the 1.1.4 ebuild to 1.1.8. [...] # The Python TMDA module insinto "/usr/lib/python${pv}/site-packages/TMDA" doins TMDA/*.py* insinto "/usr/lib/python${pv}/site-packages/TMDA/pythonlib/email" doins TMDA/pythonlib/email/*.py* [...] After doing this I realized that the Queue dir wasn't installed either. Now that I've added both of those directories to the ebuild, tmda is again processing emails properly as best I can tell. Now on to the cgi :D thank you, -david Jason R. Mastaler wrote: > TMDA includes its own email package under TMDA/pythonlib/email so that > it uses the same exact email code no matter if the TMDA user is > running Python 2.3, 2.4, or 2.5. This overrides the email package > that comes with Python. > > I'm confused as to why this is happening to you. Can you explain in > detail how you installed TMDA 1.1.8, whether from source, building your > own RPM, the location you installed it, whether you made any symlinks, > etc. > > Also make sure that your TMDA installation directory contains the full > email package. There should be a 'pythonlib' subdirectory that > contains 'email', and also a 'mime' subdirectory underneath that. > Post the contents of "ls -lR /usr/lib/python2.4/site-packages/TMDA/" > if in doubt. > > David Ford <[EMAIL PROTECTED]> writes: > > >> 'lo >> >> I'm getting an error w/ the new tmda stuff. My system is gentoo and >> stock python installation. Any suggestions? docs.python.org suggests >> the following for the message handling. >> >> from http://docs.python.org/lib/node162.html, >> >> [...] >> from email.mime.text import MIMEText >> from email.mime.image import MIMEImage >> from email.mime.multipart import MIMEMultipart >> [...] >> >> and so on in different flavors which appears to be a different form than is >> used in tmda. >> >> you get the idea :) >> >> >> David >> p.s. i'm not a python person so i could be off the mark >> >> >>> Uncaught Python 2.4.3 Exception (Thu Oct 19 20:33:44 2006): >>> ----------------------------------------------------------- >>> Traceback (most recent call last): >>> File "/usr/bin/tmda-filter", line 53, in ? >>> execfile(os.path.join(execdir, 'tmda-rfilter')) >>> File "/usr/bin/tmda-rfilter", line 166, in ? >>> from TMDA import Defaults >>> File "/usr/lib/python2.4/site-packages/TMDA/Defaults.py", line 116, in ? >>> import Util >>> File "/usr/lib/python2.4/site-packages/TMDA/Util.py", line 27, in ? >>> import email >>> File >>> "/usr/lib/python2.4/site-packages/TMDA/pythonlib/email/__init__.py", >>> line 118, i >>> n ? >>> import email.mime >>> ImportError: No module named mime >>> Traceback (most recent call last): >>> File "/usr/bin/tmda-filter", line 67, in ? >>> from TMDA.Defaults import LOGFILE_DEBUG >>> File "/usr/lib/python2.4/site-packages/TMDA/Defaults.py", line 116, in ? >>> import Util >>> File "/usr/lib/python2.4/site-packages/TMDA/Util.py", line 27, in ? >>> import email >>> File >>> "/usr/lib/python2.4/site-packages/TMDA/pythonlib/email/__init__.py", >>> line 118, i >>> n ? >>> import email.mime >>> ImportError: No module named mime >>> > > _____________________________________________ > tmda-users mailing list (tmda-users@tmda.net) > http://tmda.net/lists/listinfo/tmda-users > > _____________________________________________ tmda-users mailing list (tmda-users@tmda.net) http://tmda.net/lists/listinfo/tmda-users