[Zope] Re: Re(2): [Zope] Zope not starting after VaryTag install

Tino Wildenhain tino@wildenhain.de
Thu, 21 Sep 2000 00:18:47 +0200


Hi Didier,

Didier Georgieff wrote:
> 
> Le 18 Sep 00, à 15:49, Tino Wildenhain a écrit :
> 
> > I just checked with 2.1.6 (winNT) and it worked without problems.
> > Can anybody else confirm this?
> 
> Sounds like it's Varytag under Linux related.

I'm not sure, the code is very simple, there should not be any
interference.
But ok, it does not work for you somehow. I will see how I can get more
information.
For me, it works with Zope2.2b1/Red Hat 6.0, Zope2.2.1/WinNT,
Zope2.1.6/Win98
I've even looked at the other products you mentioned, and could not find
any obvoius problem at the first glance.

> 
> A - first step :
> 1 - I reinstalled a fresh 2-1-6 from the source (on Corel Linux and
> python from the source).
> 2 - Reinstalled my products :
>  * ZMySQLDA 1.2.0
>  * NFGnav 0.6
>  * Yihaw 1.0
> 3 - copied my ancien Data.fs
> 4 - packed the database
> 5- all works fine again. No problem.
> 
> B - second step :
> 1 - made a tar file from this install (to avoid long reinstalls after
> each try)
> 2 - installed Varytag 1.0
> 3 - even a simple index_html makes the traceback.
> 
> C - third step :
> 1 - delete the (now) bad install, and untar the previous one.

But this is not clean, its 'contamined' with the other products ;)

> 2 - Works fine.
> 3 - remove the 3 products from the panel control and from the
> Products directory

This does not remove instances of the old products. Nor does
compacting help.

The hard, but best way to check would be a clean 2.1.6 without 
other products and Data.fs, then adding the other products and
then adding your old Data.fs.

> 4 - Works fine.
> 5 - compact the database. Works fine.
> so now i have a Zope 2.1.6 without any product.
> 6 - install Varytag
> 7 - same traceback.
> 
> > > Just after installing VaryTag, Zope (2-1-6)  restart fine, but when i
> > > try to connect to my zope adress, i got an error (traceback further).
> 
> ImportError
> 
>              Sorry, a Zope error occurred.
> 
>              Traceback (innermost last):
>                File /zope/2-1-6/lib/python/ZPublisher/Publish.py, line 214, in publish_module
>                File /zope/2-1-6/lib/python/ZPublisher/Publish.py, line 179, in publish
>                File /zope/2-1-6/lib/python/Zope/__init__.py, line 202, in zpublisher_exception_hook
>                  (Object: ApplicationDefaultPermissions)
>                File /zope/2-1-6/lib/python/ZPublisher/Publish.py, line 165, in publish
>                File /zope/2-1-6/lib/python/ZPublisher/mapply.py, line 160, in mapply
>                  (Object: index_html)
>                File /zope/2-1-6/lib/python/ZPublisher/Publish.py, line 102, in call_object
>                  (Object: index_html)
>                File /zope/2-1-6/lib/python/OFS/DTMLMethod.py, line 150, in __call__
>                  (Object: index_html)
>                File /zope/2-1-6/lib/python/DocumentTemplate/DT_String.py, line 502, in __call__
>                  (Object: index_html)
>                File /zope/2-1-6/lib/python/OFS/DTMLDocument.py, line 162, in __call__
>                  (Object: zope_powered)
>                File /zope/2-1-6/lib/python/DocumentTemplate/DT_String.py, line 443, in __call__
>                  (Object: zope_powered)
>                File /zope/2-1-6/lib/python/DocumentTemplate/DT_String.py, line 381, in cook
>                  (Object: zope_powered)
>                File /zope/2-1-6/lib/python/DocumentTemplate/DT_String.py, line 231, in parse
>                  (Object: zope_powered)
>                File /zope/2-1-6/lib/python/DocumentTemplate/DT_Var.py, line 248, in __init__
>                File /zope/2-1-6/lib/python/DocumentTemplate/DT_Util.py, line 357, in name_param
>                  (Info: ({'': '"zope_logo.tag(BORDER=\'0\')"'}, 'var', 1, 'name'))
>                File /zope/2-1-6/lib/python/DocumentTemplate/VSEval.py, line 157, in __init__
>              ImportError: No module named gparse
> --
The point is, nowhere in the vary-tags code is something called
"gparse".
Lets see what I can find out about this case here. (unfortunately I am
short
on time at the moment)
Thanks for your report!

Regards
Tino