[Zope] Problem: Document Library 1.0b1 + Zope 2.4.2

Heimo Laukkanen huima@fountainpark.org
Tue, 30 Oct 2001 20:00:19 +0200


Hi,

I was just upgrading one of our Zope-installations from 2.3.3 to 2.4.2
and noticed that after upgrade DocumentLibrary has some problems. 

Libraries that are in use produce error: 

Error Type: KeyError
Error Value: validate

With traceback:
<!--
Traceback (innermost last):
  File /usr/lib/python2.1/site-packages/ZPublisher/Publish.py, line 223,
in publish_module
  File /usr/lib/python2.1/site-packages/ZPublisher/Publish.py, line 187,
in publish
  File /usr/share/zope/lib/python/Zope/__init__.py, line 226, in
zpublisher_exception_hook
    (Object: kirjasto)
  File /usr/lib/python2.1/site-packages/ZPublisher/Publish.py, line 171,
in publish
  File /usr/lib/python2.1/site-packages/ZPublisher/mapply.py, line 160,
in mapply
    (Object: index_html)
  File /usr/lib/python2.1/site-packages/ZPublisher/Publish.py, line 112,
in call_object
    (Object: index_html)
  File /usr/share/zope/lib/python/OFS/DTMLMethod.py, line 195, in
__call__
    (Object: index_html)
  File /usr/lib/python2.1/site-packages/DocumentTemplate/DT_String.py,
line 546, in __call__
    (Object: index_html)
  File /usr/share/zope/lib/python/OFS/DTMLMethod.py, line 203, in
__call__
    (Object: document_browse)
KeyError: (see above)

Luckily the Index it self will work fine. And DocumentFile-products work
ok.

If I try to create a new library, I will get an error:

<!--
Traceback (innermost last):
  File /usr/lib/python2.1/site-packages/ZPublisher/Publish.py, line 223,
in publish_module
  File /usr/lib/python2.1/site-packages/ZPublisher/Publish.py, line 187,
in publish
  File /usr/share/zope/lib/python/Zope/__init__.py, line 226, in
zpublisher_exception_hook
  File /usr/lib/python2.1/site-packages/ZPublisher/Publish.py, line 171,
in publish
  File /usr/lib/python2.1/site-packages/ZPublisher/mapply.py, line 160,
in mapply
    (Object: manage_addDocumentLibrary)
  File /usr/lib/python2.1/site-packages/ZPublisher/Publish.py, line 112,
in call_object
    (Object: manage_addDocumentLibrary)
  File /var/zope/Products/DocumentLibrary/DocumentLibrary.py, line 59,
in manage_addDocumentLibrary
  File /var/zope/Products/DocumentLibrary/DocumentLibrary.py, line 136,
in __init__
    (Object: funky)
  File /var/zope/Products/DocumentLibrary/TopicIndex.py, line 280, in
__init__
    (Object: )
TypeError: (see above)

Has anyone yet made patches or have these working together?

-huima