[Zope] Worldpilot IMAP Bl00z

Tres Seaver tseaver@palladion.com
Tue, 29 Feb 2000 20:59:23 -0600


Ryan Hughes wrote:
> 
> "A.J. Rossini" wrote:
> >
> > (zope list removed from followup)
> > >>>>> "TS" == Tres Seaver <tseaver@palladion.com> writes:
> >
> >     TS> I have installed WP 1.01 on a fresh Zope 2.1.3.  On the same
> >     TS> RH 6.1 box, I am running the stock imapd, which I can connect
> >     TS> to from Netscape's Messenger.
> >
> >     TS> The files/directories under /var/spool/worldpilot are owned by
> >     TS> nobody.zope (I start Zope as root).
> >
> >     TS> When I log in, the browser spins after displaying the WP
> >     TS> headers.  top on the server shows the Zope python process
> >     TS> (running as nobody) and an imapd process (running as me)
> >     TS> sucking all the CPU, but nothing happens.
> >
> >     TS> If I click on one of the links in the header, I can see the
> >     TS> calendar, to-do list, etc., but the mail pane shows a Zope
> >     TS> error, with "readonly -- INBOX" at the foot of the traceback.
> >
> >     TS> What am I doing wrong?  --
> >
> > Tres (and worldpilot) -
> >
> > Did this ever get solved, or a hint of a solution?  I'm seeing this
> > identical situation, Python 1.52, patched imaplib.py(?), Zope 2.1.4,
> > and worldpilot 1.0.1, i.e. 1.00.3,  WU-imap (version not known).
> >
> > The scenario is Zope on an Debian/Intel box, WU-imap on a Slowaris 2.7
> > (ultrasparc) box.
> >
> > On debian, it's www-data.www-data (ownership, and Zope is running as
> > www-data), so /var/spool/worldpilot is set accordingly...
> >
> > I don't get the INBOX at all (but my home directory is 1.5Gb, might
> > take a while to look for folders?  I'm not imap-familiar, but noted a
> > comment to that effect on the list); I've got an apparent "freeze-up"
> > at this point.  This is after waiting 5 minutes...
> >
> > I can get to the calendars, etc...
> >
> > Any thoughts?
> 
> Please check if the patched imaplib.py is really the one being imported?
> 
> The other issue is that if you're using UW IMAP it will probably list
> your
> whole INBOX which is apparently your home directory. This could take a
> while especially if you home directory is large.
> 
> I'mm trying to get together the facts of using WorldPilot with UW IMAP
> to make a FAQ, since we ourselves have no experience with UW IMAP.
> 
> Please check your worldpilot with an account that has a small home
> directory
> and let me know if the size is the problem.
> If your Zope process still cranks forever, then it's an imaplib.py
> issue.
> Up to now patching it solved the problem (as far as our experience
> concerns).

WU IMAP on a RH 6.x box is *bizarre*.,

Ok, I kicked this off before dinner, having added some debugging output to
imaplib.py.  When I came back, there was a TON of it dumped across the console
at which I was running Zope, but no mail.  Basically, it had walked down through
all the .gnome/* directories, sucking up bitmaps, retular files, subdirectories,
everything (ICK!).

Maybe we need to add a property to the WorldPilot object which lets you
configure the folder passed to the initial list() call (e.g., to be something
like "~/Mail").  This parameter would default to the empty string, so that the
Cyrus clients would continue to operate as before.  I'll see if I can't come up
with some kind of patch.

Tres.
-- 
=========================================================
Tres Seaver         tseaver@palladion.com    713-523-6582
Palladion Software  http://www.palladion.com