[Zope] help urgently needed...

Jens Vagelpohl tommymi@concentric.net
Sun, 18 Jul 1999 14:11:40 -0400


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".

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-->


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_terminator|44
4])



Jens Vagelpohl