[Zope] help urgently needed...

Jens Vagelpohl tommymi@concentric.net
Sun, 18 Jul 1999 16:03:30 -0400


hi michel,

thanks a bundle for answering. here is the complete "help_menu" DTML method
which implements the tree:

<SPAN CLASS="tree">
<!--#tree help branches_expr="objectValues(['Folder', 'DTML Document'])"
nowrap=1 sort=id-->
<!--#if expr="meta_type == 'Folder'"-->
<!--#if tree-item-expanded--><IMG SRC="<!--#var
SCRIPT_NAME-->/HelpSys/hs_obook" ALIGN="TOP" BORDER="0" width=16 height=16>
<!--#else--><IMG SRC="<!--#var SCRIPT_NAME-->/HelpSys/hs_cbook" ALIGN="TOP"
BORDER="0" width=16 height=16><!--#/if-->
<!--#var title_or_id-->
<!--#else-->
<IMG SRC="<!--#var SCRIPT_NAME-->/HelpSys/hs_dnode" ALIGN="TOP" BORDER="0"
width=16 height=16>
<A HREF="<!--#var "help.absolute_url()"-->/<!--#var tree-item-url-->?<!--#if
tree-s-->tree-s=<!--#var tree-s--><!--#/if-->
<!--#if tree-e-->&tree-e=<!--#var tree-e--><!--#/if--><!--#if
tree-c-->&tree-c=<!--#var tree-c--><!--#/if-->">
<!--#var title_or_id--></a><!--#/if-->
 <!--#/tree-->
</SPAN>

if it is indeed some netscape error i am surprised no one else has mentioned
it. most people on the list seem to be using it.

Jens Vagelpohl

> -----Original Message-----
> From: michel@digicool.com [mailto:michel@digicool.com]
> Sent: Sunday, July 18, 1999 15:47
> To: Jens Vagelpohl
> Cc: Zope@Zope. Org
> Subject: Re: [Zope] help urgently needed...
>
>
> Jens Vagelpohl <tommymi@concentric.net> writes:
>
> > hi zope experts...
> >
> > i sent a message to the mailing list a few days ago about netscape and a
> > <!--#tree--> that refuse to work with each other.
> unfortunately, i haven't
> > gotten any reply yet :( i need to get this solved before the project
> > demonstration (i *know* my professor has netscape on his machine)...
> >
> > here's the situation: i have a "help" menu which is based on the tree
> > tutorial included in the ZBook. i basically reused the same
> code and just
> > renamed object references where needed. i have just one folder
> in the tree
> > (called "How to...") and the folder contains DTML docs with IDs
> like "Use
> > this help system" or "Search for a customer record" etc.
> >
> > everything displays and works fine with IE 4, IE 5, the
> StarOffice browser
> > (SO 5.1), but *not* with netscape. i tested it on NS 4.51 on
> Linux as well
> > as the Win32 version of Mozilla Milestone 8. expanding the book
> content in
> > the navigation bar works fine so that i see all topics. but
> once i click on
> > one of the topics ZServer restarts and netscape gives me something like
> > "document contains no data".
> >
>
> ouch.
>
> > am i doing something wrong? or is it some bug in netscape?
> please help...
> >
> > Here is the code to link to the help topic pages (again, it's
> the very same
> > used in that tutorial):
> >
> > <IMG SRC="<!--#var SCRIPT_NAME-->/HelpSys/hs_dnode" ALIGN="TOP"
> BORDER="0"
> > width=16 height=16>
> > <A HREF="<!--#var "help.absolute_url()"-->/<!--#var
> tree-item-url-->?<!--#if
> > tree-s-->tree-s=<!--#var tree-s--><!--#/if--><!--#if
> > tree-e-->&tree-e=<!--#var tree-e--><!--#/if--><!--#if
> > tree-c-->&tree-c=<!--#var tree-c--><!--#/if-->"><!--#var
> > title_or_id--></a><!--#/if-->
> >
>
> Can you send the whole tree tag snippet?
>
> >
> > Here is the error trace that dumps onto my linux terminal window when
> > ZServer goes down, it's always the very same message:
> >
> > uncaptured python exception, closing channel
> > <zhttp_channel connected 192.168.168.3:4137 at 844fe00 channel#: 1
> > requests:0> (exceptions.TypeError:unpack non-sequence
> > [/usr/src/Zope-2.0.0a3-src/ZServer/medusa/asyncore.py|poll|59]
> >
> [/usr/src/Zope-2.0.0a3-src/ZServer/medusa/asyncore.py|handle_read_
> event|285]
> > [/usr/src/Zope-2.0.0a3-src/ZServer/medusa/asynchat.py|handle_read|126]
> >
> [/usr/src/Zope-2.0.0a3-src/ZServer/medusa/http_server.py|found_ter
> minator|44
> > 4])
> >
>
> Looks like it happens way down in ZServer.  yikes.  I would not put it
> past netscape to be doing some bonehead HTTP violation.
>
> -Michel
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://www.zope.org/mailman/listinfo/zope
>
> (For developer-specific issues, use the companion list,
> zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )
>