[Zope] Help: Mailhost

Lennart Regebro lennart@regebro.nu
Tue, 19 Feb 2002 10:39:48 +0100


It's kinda like if one of the adresses you use are not string but an object.
Could that be the case?

Try two things:
1. Send us the code that use use to invoke MailHost.
2. Try the MailHostFix from http://www.zope.org/Members/regebro/ . It
rewrites a lot of MailHost, and so it may stop at another point, which also
could hint at where the problem is. Plus it fixes some bugs. :-)

----- Original Message -----
From: "Tim Hawes" <tim.hawes@ncmail.net>
To: <zope@zope.org>
Sent: Tuesday, February 19, 2002 12:03 AM
Subject: [Zope] Help: Mailhost


> 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)
>
>
>
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>
>