[Zope] TypeError

Norman Khine khine@bmpublications.co.uk
Wed, 16 May 2001 12:01:57 +0100


Can someone please help me to figure out what's wrong, with this error
message

I have the following traceback

Zope Version  	Zope 2.3.2b2 (source release, python 1.5.2, linux2)
Python Version  	2.0 (#2, Jan 8 2001, 16:54:34) [GCC 2.95.2 19991024
(release)]
System Platform  	freebsd4

Site Error
An error was encountered while publishing this resource.

TypeError

Sorry, a site error occurred.

Traceback (innermost last):
  File /usr/home/khine/usr/local/Zope/lib/python/ZPublisher/Publish.py, line
223, in publish_module
  File /usr/home/khine/usr/local/Zope/lib/python/ZPublisher/Publish.py, line
187, in publish
  File /usr/home/khine/usr/local/Zope/lib/python/Zope/__init__.py, line 221,
in zpublisher_exception_hook
    (Object: CatalogAware)
  File /usr/home/khine/usr/local/Zope/lib/python/ZPublisher/Publish.py, line
171, in publish
  File /usr/home/khine/usr/local/Zope/lib/python/ZPublisher/mapply.py, line
160, in mapply
    (Object: buy)
  File /usr/home/khine/usr/local/Zope/lib/python/ZPublisher/Publish.py, line
112, in call_object
    (Object: buy)
  File /usr/home/khine/usr/local/Zope/lib/python/Products/Etailer/Cart.py,
line 282, in buy
    (Object: Traversable)
  File
/usr/home/khine/usr/local/Zope/lib/python/Products/Etailer/OrderManager.py,
line 115, in create_order
    (Object: RoleManager)
  File
/usr/home/khine/usr/local/Zope/lib/python/DocumentTemplate/DT_String.py,
line 538, in __call__
    (Object: <string>)
  File
/usr/home/khine/usr/local/Zope/lib/python/DocumentTemplate/DT_Util.py, line
334, in eval
    (Object: style().postOrder(_.None,_))
    (Info: _)
  File <string>, line 0, in ?
  File /usr/home/khine/usr/local/Zope/lib/python/OFS/DTMLMethod.py, line
182, in __call__
    (Object: postOrder)
  File
/usr/home/khine/usr/local/Zope/lib/python/DocumentTemplate/DT_String.py,
line 538, in __call__
    (Object: postOrder)
  File
/usr/home/khine/usr/local/Zope/lib/python/Products/MailHost/SendMailTag.py,
line 189, in render
    (Object: MailHost)
  File
/usr/home/khine/usr/local/Zope/lib/python/Products/MailHost/MailHost.py,
line 222, in send
    (Object: MailHost)
  File /usr/home/khine/usr/local/lib/python2.0/smtplib.py, line 473, in
sendmail
  File /usr/home/khine/usr/local/lib/python2.0/smtplib.py, line 355, in mail
  File /usr/home/khine/usr/local/lib/python2.0/smtplib.py, line 118, in
quoteaddr
  File /usr/home/khine/usr/local/lib/python2.0/rfc822.py, line 477, in
parseaddr
  File /usr/home/khine/usr/local/lib/python2.0/rfc822.py, line 522, in
getaddrlist
  File /usr/home/khine/usr/local/lib/python2.0/rfc822.py, line 530, in
getaddress
  File /usr/home/khine/usr/local/lib/python2.0/rfc822.py, line 510, in
gotonext
TypeError: len() of unsized object


The application this is from is ETailer and I have checked against zope
3.2.0 which works correctly.

Thanks for all your help

Regards

Norman