[Zope] Help: Mailhost

Tim Hawes tim.hawes@ncmail.net
Mon, 18 Feb 2002 18:03:29 -0500


I keep getting this error with my mailhost. I have searched the maillist 
archive for solutions, have found people with similar problems but their 
solutions did not work for me. I am running Python 2.1.2 on Solaris 8 
box, I compiled myself. I am running Zope 2.4.3 (also self-compiled). 
There are no previous versions of Zope or python on the box, I have 
tried eliminating indentations in the mail header, and the mailhost is 
connecting to SMTP on another Sun box. I have tried starting sendmail in 
daemon mode on the local box, but get the same error. Please help.

Thank you.



Zope Error

                         Zope has encountered an error while publishing 
this resource.

                         Error Type: TypeError
                         Error Value: len() of unsized object



                         Troubleshooting Suggestions

                             The URL may be incorrect.
                             The parameters passed to this resource may 
be incorrect.
                             A resource that this resource relies on may 
be encountering an error.

                         For more detailed information about the error, 
please refer to the HTML source for this page.

                         If the error persists please contact the site 
maintainer. Thank you for your patience.



Traceback (innermost last):
  File /usr/local/zope/2.4.3/lib/python/ZPublisher/Publish.py, line 223, 
in publish_module
  File /usr/local/zope/2.4.3/lib/python/ZPublisher/Publish.py, line 187, 
in publish
  File /usr/local/zope/2.4.3/lib/python/Zope/__init__.py, line 226, in 
zpublisher_exception_hook
    (Object: whoswho)
  File /usr/local/zope/2.4.3/lib/python/ZPublisher/Publish.py, line 171, 
in publish
  File /usr/local/zope/2.4.3/lib/python/ZPublisher/mapply.py, line 160, 
in mapply
    (Object: sendpage)
  File /usr/local/zope/2.4.3/lib/python/ZPublisher/Publish.py, line 112, 
in call_object
    (Object: sendpage)
  File /usr/local/zope/2.4.3/lib/python/OFS/DTMLMethod.py, line 199, in 
__call__
    (Object: sendpage)
  File /usr/local/zope/2.4.3/lib/python/DocumentTemplate/DT_String.py, 
line 546, in __call__
    (Object: sendpage)
  File 
/usr/local/zope/2.4.3/lib/python/Products/MailHost/SendMailTag.py, line 
189, in render
    (Object: MailHost)
  File /usr/local/zope/2.4.3/lib/python/Products/MailHost/MailHost.py, 
line 231, in send
    (Object: MailHost)
  File /usr/local/zope/lib/python2.1/smtplib.py, line 479, in sendmail
  File /usr/local/zope/lib/python2.1/smtplib.py, line 361, in mail
  File /usr/local/zope/lib/python2.1/smtplib.py, line 122, in quoteaddr
  File /usr/local/zope/lib/python2.1/rfc822.py, line 475, in parseaddr
  File /usr/local/zope/lib/python2.1/rfc822.py, line 520, in getaddrlist
  File /usr/local/zope/lib/python2.1/rfc822.py, line 528, in getaddress
  File /usr/local/zope/lib/python2.1/rfc822.py, line 508, in gotonext
TypeError: (see above)