|
I'm trying to use tmda-cgi,
however, the first page after the login page comes back with this ImportError
message stating that the module email.Utils, that Defaults.py wants to import,
can't be found. This file does not exist on my system, and isn't in the
.68 tar ball. My admin originally installed tmda from the .68 tar ball
according to the Linux RPM instructions, and everything else is working
great.
Has this problem been
encountered before, and is there a solution?
Thanks,
Dave
ImportError
Python 2.2: /usr/bin/python2 Wed Jan 29 13:09:28 2003 A problem occurred in a Python script. Here is the
sequence of function calls leading up to the error, in the order they
occurred.
/usr/share/doc/tmda-0.68/contrib/cgi/tmda-cgi.py
56 57 # Get any persistent variables 58 PVars = Session.Session(Form) 59 60 def main(): PVars undefined, Session = <module 'Session' from 'Session.pyc'>, Session.Session = <class Session.Session>, Form = FieldStorage(None, None, [MiniFieldStorage('user...('cmd', 'list'), MiniFieldStorage('debug', '0')]) ? in
__init__(self=<Session.Session instance>,
Form=FieldStorage(None, None, [MiniFieldStorage('user...('cmd', 'list'),
MiniFieldStorage('debug', '0')]))
/usr/lib/python2.2/site-packages/TMDA/Defaults.py
104 105 106 import Util 107 import Version 108 Util undefined /usr/lib/python2.2/site-packages/TMDA/Util.py
24 25 import cPickle 26 import email.Utils 27 import fileinput 28 import fnmatch email undefined ImportError: No module named email.Utils
__doc__ = "Import can't find module, or can't find name in module." __getitem__ = <bound method ImportError.__getitem__ of <exceptions.ImportError instance at 0x8210484>> __init__ = <bound method ImportError.__init__ of <exceptions.ImportError instance at 0x8210484>> __module__ = 'exceptions' __str__ = <bound method ImportError.__str__ of <exceptions.ImportError instance at 0x8210484>> args = ('No module named email.Utils',) |
BEGIN:VCARD VERSION:2.1 N:Grimberg;David;J;Mr. FN:David J Grimberg ORG:Pacific Lutheran University;Computing & Telecommunications TITLE:Systems Analyst TEL;WORK;VOICE:(253) 535-7546 TEL;WORK;FAX:(253) 536-5099 ADR;WORK;ENCODING=QUOTED-PRINTABLE:;Computer Center;Pacific Lutheran University=0D=0AComputing & Telecommunicat= ions;Tacoma;WA;98447;United States of America LABEL;WORK;ENCODING=QUOTED-PRINTABLE:Computer Center=0D=0APacific Lutheran University=0D=0AComputing & Telecommun= ications=0D=0ATacoma, WA 98447=0D=0AUnited States of America X-WAB-GENDER:2 URL:http://www.plu.edu/ ROLE:Systems Analyst KEY;X509;ENCODING=BASE64: MIIDMjCCApugAwIBAgIDBy1mMA0GCSqGSIb3DQEBBAUAMIGSMQswCQYDVQQGEwJaQTEVMBMG A1UECBMMV2VzdGVybiBDYXBlMRIwEAYDVQQHEwlDYXBlIFRvd24xDzANBgNVBAoTBlRoYXd0 ZTEdMBsGA1UECxMUQ2VydGlmaWNhdGUgU2VydmljZXMxKDAmBgNVBAMTH1BlcnNvbmFsIEZy ZWVtYWlsIFJTQSAyMDAwLjguMzAwHhcNMDIwNDA4MTczNDE4WhcNMDMwNDA4MTczNDE4WjCB tDEfMB0GA1UEAxMWVGhhd3RlIEZyZWVtYWlsIE1lbWJlcjEfMB0GCSqGSIb3DQEJARYQZ3Jp bWJlZGpAcGx1LmVkdTEmMCQGCSqGSIb3DQEJARYXZC5ncmltYmVyZ0Bjb21wdXRlci5vcmcx JDAiBgkqhkiG9w0BCQEWFXNzZW50aW5lbEBiaWdmb290LmNvbTEiMCAGCSqGSIb3DQEJARYT c3NlbnRpbmVsQHlhaG9vLmNvbTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA00eSUZv4 LnGqMpi2DY4tCpfrHyjSNRyGlGy5YsSJwN1d9JyIQFP+rJ9WfBhpOnmSISH35lyDbs4GEtxh Ai+A4+m4Kk9UWE3p3v/w73a6gGJlUZhNBvWVYaHMyYU7N3fJtvrEi5GHPRcySn5GVFt60YWn KaQL9/anc5uU5CF4XtsCAwEAAaNyMHAwYAYDVR0RBFkwV4EQZ3JpbWJlZGpAcGx1LmVkdYEX ZC5ncmltYmVyZ0Bjb21wdXRlci5vcmeBFXNzZW50aW5lbEBiaWdmb290LmNvbYETc3NlbnRp bmVsQHlhaG9vLmNvbTAMBgNVHRMBAf8EAjAAMA0GCSqGSIb3DQEBBAUAA4GBAG5MJoC0Ma0O faoB1joYcmOjENswAEH2d1bocWmnSiDNSZwBZ9rhY7A91hJQRTk4O8fdCmweabScndpPZmkE /U0YZMvEVYfmp+W8sYER/wXZ7COxlp3zi1NLLn07Mwf60doyHQGZVgzgQTpTTl1lNvKuG0vB kkdLfcvKVOzXMNNJ
EMAIL;PREF;INTERNET:[EMAIL PROTECTED] REV:20010405T212229Z END:VCARD
