[Zope] starting zope problems

Allen Crawford AllenC@mailcode.com
Wed, 6 Nov 2002 13:52:51 -0500


Well, I turned off debug mode, but then Zope failed to start.  However,
that's because it takes almost 5 minutes to actually start.  So I increased
the timeout value in "zopectl" to 300 seconds and that allowed it to start.

I have no idea what "navigation" is as I had nothing to do with setting this
up.  I may go talk to the people that did set it up, but I think they're
both out today.  Anyway, based on your comments, I did a search for files
with "index_html" in them and found two of them.  One was at
/var/lib/zope/var and was named index_html.zexp.  The other was
/usr/lib/zope/lib/python/OFS/standard/index_html.dtml.  I removed the first
one and then started Zope with debug mode off.  I now get this on the start
up page:

Invalid attribute name, "ignore_case", for tag <dtml-in
expr="objectValues('Folder')" sort="title" ignore_case>, on line 31 of
navigation

Once again "navigation" comes into play.  However, I have no clue what file
this is actually referring to.

-----Original Message-----
From: Paul Winkler [mailto:pw_lists@slinkp.com]
Sent: Wednesday, November 06, 2002 12:40 PM
To: Zope List (E-mail)
Subject: Re: [Zope] starting zope problems

On Wed, Nov 06, 2002 at 11:46:29AM -0500, Allen Crawford wrote:
> The first is that when I run "/etc/init.d/zope start", it never returns me
> to the command prompt.

that's normal if you run in debug mode (check your start script
to see if it passes -D to z2.py).

>  It does one of two things-either just says "Starting
> Zope..." and never moves from that, or it mentions how I have a deprecated
> version of something (I can't remember what right now and it hasn't
happened
> lately).

that's the old "regex is deprecated" warning. It's just python warning
you that the regex module is going away sometime in the future,
maybe python 2.3, I forget. Nothing to worry about at all.
It will only become an issue if you try to run zope with a version
of python that A) isn't officially supported by zope, and
B) doesn't exist yet anyway.

> The second issue is that when I actually hit the Zope page in the web
> browser,

... which means zope is running so none of the above matters .

> I don't really get what we normally would see.  What I get is this:
(snip)
>     (Object: navigation)
> Document Template Parse Error: (see above)

That's just what it says, there's a syntax error in a DTML
page, either the one you're viewing or another one that it
calls. What is "navigation"?  Did you create something called
"navigation"?

If it's happening on the "Welcome to Zope" page,
you either hosed your  installation somehow, or (more likely)
changed index_html or standard_html_header/footer in your
root folder.
Without more info, I'd guess you added something
like <dtml-var navigation> in your standard_html_header,
and created a DTML doc or method called navigation,
and made an error in that.


> Finally, my zope-debug.log file shows this:
(snip)

that's all normal.

--

Paul Winkler
http://www.slinkp.com
"Welcome to Muppet Labs, where the future is made - today!"

_______________________________________________
Zope maillist  -  Zope@zope.org
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 )