[Zope] Re: PopMail Client

Spicklemire, Jerry Jerry.Spicklemire@IFLYATA.COM
Wed, 31 Jan 2001 11:49:45 -0500


David promptly replied:

Hi Jerry,

It's hard to diagnose from what you've sent me.  Can you send me the
full traceback (from the HTML source code of the error page)?  That will
make determining where the error occurred a lot easier.


So the very least I could do was respond with:

-------------------------------------
The first one:

Traceback (innermost last):
  File /l01/Zope-2.2.1-linux2-x86/lib/python/ZPublisher/Publish.py, line
222, in publish_module
  File /l01/Zope-2.2.1-linux2-x86/lib/python/ZPublisher/Publish.py, line
187, in publish
  File /l01/Zope-2.2.1-linux2-x86/lib/python/Zope/__init__.py, line 221, in
zpublisher_exception_hook
    (Object: POPMailAccountBase)
  File /l01/Zope-2.2.1-linux2-x86/lib/python/ZPublisher/Publish.py, line
171, in publish
  File /l01/Zope-2.2.1-linux2-x86/lib/python/ZPublisher/mapply.py, line 160,
in mapply
    (Object: index_html)
  File /l01/Zope-2.2.1-linux2-x86/lib/python/ZPublisher/Publish.py, line
112, in call_object
    (Object: index_html)
  File /l01/Zope-2.2.1-linux2-x86/lib/python/OFS/DTMLMethod.py, line 172, in
__call__
    (Object: index_html)
  File /l01/Zope-2.2.1-linux2-x86/lib/python/DocumentTemplate/DT_String.py,
line 528, in __call__
    (Object: index_html)
  File /l01/Zope-2.2.1-linux2-x86/lib/python/DocumentTemplate/DT_Util.py,
line 337, in eval
    (Object: ListMessages())
    (Info: ListMessages)
  File <string>, line 0, in ?
  File /l01/Zope/lib/python/Products/POPMailBase/POP.py, line 132, in
ListMessages
    (Object: POPMailAccountBase)
  File /l01/Zope/lib/python/Products/POPMailBase/POP.py, line 68, in
UpdateStatus
    (Object: POPMailAccountBase)
  File /l01/Zope/lib/python/Products/POPMailBase/POP.py, line 42, in Connect
    (Object: POPMailAccountBase)
  File /l01/Zope-2.2.1-linux2-x86/lib/python1.5/poplib.py, line 183, in
pass_
  File /l01/Zope-2.2.1-linux2-x86/lib/python1.5/poplib.py, line 146, in
_shortcmd
  File /l01/Zope-2.2.1-linux2-x86/lib/python1.5/poplib.py, line 125, in
_getresp
error_proto: (see above)


---------------
The second one:

Traceback (innermost last):
  File /l01/Zope-2.2.1-linux2-x86/lib/python/ZPublisher/Publish.py, line
222, in publish_module
  File /l01/Zope-2.2.1-linux2-x86/lib/python/ZPublisher/Publish.py, line
187, in publish
  File /l01/Zope-2.2.1-linux2-x86/lib/python/Zope/__init__.py, line 221, in
zpublisher_exception_hook
    (Object: POPMailAccountBase)
  File /l01/Zope-2.2.1-linux2-x86/lib/python/ZPublisher/Publish.py, line
171, in publish
  File /l01/Zope-2.2.1-linux2-x86/lib/python/ZPublisher/mapply.py, line 160,
in mapply
    (Object: index_html)
  File /l01/Zope-2.2.1-linux2-x86/lib/python/ZPublisher/Publish.py, line
112, in call_object
    (Object: index_html)
  File /l01/Zope-2.2.1-linux2-x86/lib/python/OFS/DTMLMethod.py, line 172, in
__call__
    (Object: index_html)
  File /l01/Zope-2.2.1-linux2-x86/lib/python/DocumentTemplate/DT_String.py,
line 528, in __call__
    (Object: index_html)
  File /l01/Zope-2.2.1-linux2-x86/lib/python/DocumentTemplate/DT_Util.py,
line 337, in eval
    (Object: ListMessages())
    (Info: ListMessages)
  File <string>, line 0, in ?
  File /l01/Zope/lib/python/Products/POPMailBase/POP.py, line 132, in
ListMessages
    (Object: POPMailAccountBase)
  File /l01/Zope/lib/python/Products/POPMailBase/POP.py, line 68, in
UpdateStatus
    (Object: POPMailAccountBase)
  File /l01/Zope/lib/python/Products/POPMailBase/POP.py, line 42, in Connect
    (Object: POPMailAccountBase)
  File /l01/Zope-2.2.1-linux2-x86/lib/python1.5/poplib.py, line 183, in
pass_
  File /l01/Zope-2.2.1-linux2-x86/lib/python1.5/poplib.py, line 146, in
_shortcmd
  File /l01/Zope-2.2.1-linux2-x86/lib/python1.5/poplib.py, line 125, in
_getresp
error_proto: (see above)


"Spicklemire, Jerry" wrote:
> 
> Hi David,
> 
> I'm looking at your Pop3 Client tool for Zope and have hit a snag.
> Is there any documentation about correct usage, or example (Zope) code?
> 
> I'm using Zope 2.2.1 on Redhat Linux, with PopMailBase .0.0.3,
> and PopMail .0.0.2
> 
> I have looked over POP.py, and have a glimmer of what to do to call
> these methods and functions. I have added a Pop Client Folder, and a
> client account object, but when I try to use the "View" tab in the
> Zope TTW GUI, I get the tracebacks, below.
> 
> The 'error_proto' is a reference to the first class listed in poplib.py,
> which simply 'pass(es)' when an Exception is used as a parameter. One
> thing I noticed is that poplib seems to treat error_proto as a function
> sometimes, which strikes me as odd. Some Pythonic stuff boggles my mind.
> Now you know as much (hopefully much more!) than I do.
> 
> Thanks for any help!
> Jerry S.
> 
> -------------------------------------
> First this shows up,
> 
> Zope Error
> Zope has encountered an error while publishing this resource.
> 
> Error Type: error_proto
> Error Value: -ERR Not implemented
> 
> -------------------------------------
> and then a few seconds later this one,
> 
> Zope Error
> Zope has encountered an error while publishing this resource.
> 
> Error Type: error_proto
> Error Value: -ERR Mailbox in use

-- 
David Shaw
Senior Software Developer
ZapMedia
678.420.2715