[Zope] ANNOUNCE: FAQ Tool sample Zope app.

Martijn Pieters mj@antraciet.nl
Sun, 28 Feb 1999 20:33:51 +0100


At 05:39 28-2-99 , Amos Latteier wrote:
>At 03:56 PM 2/27/99 -0800, Robin Dunn wrote:
>>I downloaded it to try it out.  When I restarted Zope I got the FAQ entry in
>>ControlPanel/Products, but it does not show up in the list of things that I
>>can add to my folders.  Is there something else I need to install to support
>>Lever generated things?
>
>No. It should work so long as you are using Zope 1.10.2 or later. I bet you
>are using Zope 1.9 since this is what happened to me when I tried
>installing it in Zope 1.9. I think the problem is due to the fact that it
>uses classes not available in 1.9 (ie DTML Methods, not Documents). But I'm
>not sure...
>
No, sorry Amos. I have the same problem under Zope 1.10.2. I tired this at
home, running Win98, and I checked the source of the Product
initialisation. When I twiddle with it a bit, swicth off the try/except
errorhandling, I discovered that it is the product.dat file. Here is the
traceback:

Traceback (innermost last):
  File "C:\Program Files\Internet\Zope\MJ_New\serve.py", line 100, in ?
    ZopeHTTPServer.main(args)
  File "C:\Program
Files\Internet\Zope\MJ_New\ZopeHTTPServer\ZopeHTTPServer.py", line 498, in main
    start(module_file,host,port,threading,env)
  File "C:\Program
Files\Internet\Zope\MJ_New\ZopeHTTPServer\ZopeHTTPServer.py", line 436, in
start
    set_published_module(module_file,BoboRequestHandler,env)
  File "C:\Program
Files\Internet\Zope\MJ_New\ZopeHTTPServer\ZopeHTTPServer.py", line 432, in
set_published_module
    __import__(name) # to catch problem modules right away
  File "C:\Program Files\Internet\Zope\MJ_New\lib\python\Main.py", line
103, in ?
    Bobobase=OFS.Application.open_bobobase()
  File "C:\Program
Files\Internet\Zope\MJ_New\lib\python\OFS\Application.py", line 365, in
open_bobobase
    install_products(app)
  File "C:\Program
Files\Internet\Zope\MJ_New\lib\python\OFS\Application.py", line 480, in
install_products
    App.Product.initializeProduct(product, product_name, package_dir, app)
  File "C:\Program Files\Internet\Zope\MJ_New\lib\python\App\Product.py",
line 421, in initializeProduct
    meta=cPickle.Unpickler(f).load()
  File "C:\Program Files\Internet\Zope\MJ_New\lib\python\App\Product.py",
line 370, in read
    while l > len(self._b) and not self._done: self._next()
  File "C:\Program Files\Internet\Zope\MJ_New\lib\python\App\Product.py",
line 359, in _next
    l=self._c.flush()
zlib.error: Error -5 while decompressing []

It looks like the Lever isn't platform independent.

-- 
M.J. Pieters, Web Developer 
| Antraciet http://www.antraciet.nl 
| Tel: +31-35-6254545 Fax: +31-35-6254555 
| mailto:mj@antraciet.nl http://www.antraciet.nl/~mj 
| PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149 
------------------------------------------