Re: [Zope] len() of unsized object error

2000-11-20 Thread Dieter Maurer

Peter Bengtsson writes:
  If found this TypeError description in many places in the mailing list archive, but 
 no solution to my sendmail problem.

The problem was, that "dtml-sendmail" was incompatible with
a debugging tool from Shane (I forgot its name, but the list
archive will tell it to you).


Dieter

___
Zope maillist  -  [EMAIL PROTECTED]
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 )




[Zope] len() of unsized object error

2000-11-18 Thread Peter Bengtsson

If found this TypeError description in many places in the mailing list archive, but no 
solution to my sendmail problem.

Code:
dtml-sendmail mailhost="MailHost"
To: dtml-var email
From: dtml-var webmaster_email
Subject: Registration at dtml-var sitetitle

dtml-var attached_email

/dtml-sendmail

If I do this...:
dtml-sendmail mailhost="MailHost"
To: dtml-var email
From: dtml-var webmaster_email
Subject: Registration at dtml-var sitetitle

dtml-var attached_email

/dtml-sendmail

... it doesn't return any errors and looks fine.


Traceback (innermost last):
  File C:\Program\ZopeSite\lib\python\ZPublisher\Publish.py, line 222, in 
publish_module
  File C:\Program\ZopeSite\lib\python\ZPublisher\Publish.py, line 187, in publish
  File C:\Program\ZopeSite\lib\python\Zope\__init__.py, line 221, in 
zpublisher_exception_hook
(Object: Traversable)
  File C:\Program\ZopeSite\lib\python\ZPublisher\Publish.py, line 171, in publish
  File C:\Program\ZopeSite\lib\python\ZPublisher\mapply.py, line 160, in mapply
(Object: index_html)
  File C:\Program\ZopeSite\lib\python\ZPublisher\Publish.py, line 112, in call_object
(Object: index_html)
  File C:\Program\ZopeSite\lib\python\OFS\DTMLMethod.py, line 172, in __call__
(Object: index_html)
  File C:\Program\ZopeSite\lib\python\DocumentTemplate\DT_String.py, line 528, in 
__call__
(Object: index_html)
  File C:\Program\ZopeSite\lib\python\OFS\DTMLMethod.py, line 168, in __call__
(Object: manage_html)
  File C:\Program\ZopeSite\lib\python\DocumentTemplate\DT_String.py, line 528, in 
__call__
(Object: manage_html)
  File C:\Program\ZopeSite\lib\python\DocumentTemplate\DT_With.py, line 146, in render
(Object: PARENTS[0])
  File C:\Program\ZopeSite\lib\python\DocumentTemplate\DT_With.py, line 146, in render
(Object: dochtml)
  File C:\Program\ZopeSite\lib\python\OFS\DTMLMethod.py, line 168, in __call__
(Object: signup_dtml)
  File C:\Program\ZopeSite\lib\python\DocumentTemplate\DT_String.py, line 528, in 
__call__
(Object: signup_dtml)
  File C:\Program\ZopeSite\lib\python\DocumentTemplate\DT_With.py, line 146, in render
(Object: members)
  File C:\Program\ZopeSite\lib\python\DocumentTemplate\DT_Let.py, line 147, in render
(Object: madepassword="members.makepassword_pym(6)")
  File C:\Program\ZopeSite\lib\python\Products\MailHost\SendMailTag.py, line 188, in 
render
(Object: MailHost)
  File C:\Program\ZopeSite\lib\python\Products\MailHost\MailHost.py, line 220, in send
(Object: MailHost)
  File C:\Program\ZopeSite/bin/lib\smtplib.py, line 465, in sendmail
  File C:\Program\ZopeSite/bin/lib\smtplib.py, line 349, in mail
  File C:\Program\ZopeSite/bin/lib\smtplib.py, line 118, in quoteaddr
  File C:\Program\ZopeSite/bin/lib\rfc822.py, line 451, in parseaddr
  File C:\Program\ZopeSite/bin/lib\rfc822.py, line 496, in getaddrlist
  File C:\Program\ZopeSite/bin/lib\rfc822.py, line 504, in getaddress
  File C:\Program\ZopeSite/bin/lib\rfc822.py, line 484, in gotonext
TypeError: (see above)



___
Zope maillist  -  [EMAIL PROTECTED]
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 )